iobench¶
The iobench tool allows to perform microbenchmarks on Crail.
Examples¶
Synchronously write 1MB 1024 times to get a 1GB file:
$CRAIL_HOME/crail iobench -t write -f /filename -s $((1024*1024)) -k 1024
Read 1024 1MB buffers asynchronously with a batch size of 4:
$CRAIL_HOME/crail iobench -t readSequentialAsync -f /filename -s $((1024*1024)) -k 1024 -b 4
Command Reference¶
Argument | Default | Experiment type | Description |
---|---|---|---|
-t <experiment> |
- | N/A |
|
-f <path> |
/tmp.dat |
|
Path to perform operation with |
-s <size> |
crail.buffersize |
|
Buffer size in bytes. Only relevant for buffered experiments. |
-k <n> |
1 |
|
Number of operations to perform |
-b <size> |
1 |
|
Batch size of asynchronous requests. |
-c <storage_class> |
0 |
|
Storage class of file. |
-p <location_class> |
0 |
|
Location class of file |
-w <n> |
32 |
|
Number of warmup operations |
-e <experiments> |
1 |
|
Number of experiments to run |
-o <true/false> |
false |
|
Keep file system open between experiments |
-d <true/false> |
false |
|
Skip writing directory record |
-m <true/false |
true |
|
Use buffered streams |