How To use Vdbench to measure performance in Linux

You may want to use VDBench for IO tests on Linux. Do the following:

$ sudo apt-get install openjdk-6-jre-headless

$ wget

$ wget

$ unzip 

$ 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


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


 and then modify the workload definitions like:


 - 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.

Have more questions? Submit a request


Please sign in to leave a comment.