You may want to use VDBench for IO tests on Linux. Do the following:
$ sudo apt-get install openjdk-6-jre-headless
$ wget https://s3.amazonaws.com/zadarastorage-public/vdbench502.zip
$ wget https://s3.amazonaws.com/zadarastorage-public/prf_test
$ unzip vdbench.zip
$ sudo cp /bin/bash /bin/csh
$ cp vdbench.bash vdbench
$ sudo ./vdbench -f ./prf_test -o out
Few comments about the input file:
- you need to modify the device name in 'Storage Definitions" sections like
sd=sd1,lun=/dev/sdl,threads=16,openflags=o_direct
you can find the sd name with
$ sudo ls -l /dev/disk/by-path/
- you can increase the thread count to increase throughput
- the prf_test input file contains 12 types of "workload definitions". You can comment out some of them like:
* wd=WD_0.5K_Write_Random,sd=sd1,rdpct=0,seekpct=100,xfersize=512
-if you want to run IOs on more volumes, you need to define additional sds like
sd=sd2,lun=/dev/sdk,threads=16,openflags=o_direct
and then modify the workload definitions like:
wd=WD_0.5K_Write_Random,sd=(sd1,sd2),rdpct=0,seekpct=100,xfersize=512
- The run definition defines which Workloads to run. Comment out those that you don't want.
- The vdbench manual (vdbench.pdf) inside the zip file is very convenient.