public static void evalReadWrite(ArrayStorePartition partition, int readerCnt, int runDuration, boolean doValidation) throws Exception {
try {
// Start readers
DataPartitionReader[] readers = new DataPartitionReader[readerCnt];
for (int i = 0; i < readers.length; i++) {
readers[i] = doValidation ? new DataPartitionChecker(partition, _lineSeedData) : new DataPartitionReader(partition, _lineSeedData);
}
Thread[] threads = new Thread[readers.length];
for (int i = 0; i < threads.length; i++) {
threads[i] = new Thread(readers[i]);