apt-get install iozone3
iozone -R -l 5 -u 5 -r 4k -s 100m -F /f1 /f2 /f3 /f4 /f5 | tee -a /tmp/iozone_results.txt
Automatic mode iozone -a
-a option stands for automatic mode. This creates temporary test files from sizes 64k to 512MB for performance testing. This mode also uses 4k to 16M of record sizes for read and write (more on this later) testing.
-a option will also execute all the 13 types of tests.
iozone -i [test-type]
The test-type is a numeric value. The following are the various available test types and its numeric value.
0=write/rewrite 1=read/re-read 2=random-read/write 3=Read-backwards 4=Re-write-record 5=stride-read 6=fwrite/re-fwrite 7=fread/Re-fread, 8=random mix 9=pwrite/Re-pwrite 10=pread/Re-pread 11=pwritev/Re-pwritev 12=preadv/Re-preadv