Class NullReader

java.lang.Object
  |
  +--Master
        |
        +--NullReader

public class NullReader
extends Master

NullReader: receiver side of uncoupled null tuple benchmark. In contrast to NullIO, which uses a single client for both reads and writes, the NullWriter/NullReader benchmark uses a pair of simultaneously executing clients: one to exclusively write, the other to exclusively read. The observed maximum throughput tends to be noticeably less than in the single client case, even when each executes on a distinct host. (can you figure out why?)

Author:
Michael S. Noble (mnoble@cfa.harvard.edu) Copyright (c) 2000 This code may only be used under the terms of GNU General Public License.

Field Summary
 
Fields inherited from class Master
arg, args, metaResult, numIters, numObjs, numTasksProcessed, rClass, reporter, rMethod, snapshot, space, task, timer
 
Constructor Summary
NullReader(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class Master
collectTasks, distributeTasks, format, generateTask, init, init, init, name, reportResults, shift, shift
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullReader

public NullReader(java.lang.String[] args)
Method Detail

main

public static void main(java.lang.String[] args)