FIO is one of the most popular benchmarking tool out there and its my favourite too. It’s a feature rich and provides pretty useful supporting utilities. One of the utilities it provides is
genfio . As the name suggest it a tool that generates FIO job file based on arguments you provides to it.
Recently i have been try to benchmarking my server containing 35 disks such that each operation should run in parallel on all disk’s and i should get aggregated results for IOPS and Bandwidth. So i used genfio to generate FIO job file and then run fio command line using the job file
- Verify the disk’s on which you want to run your benchmark. In my case all disks except
- Use a variable to make your
- So here is
genfiocommand for exercising 34 disks in parallel with 4K write workload. Execution of this command will generate
- To get aggregated results ( useful in case of multiple drives ) add
.fiofile that is generated in last step.
- Finally start your benchmark by supplying
.fiojob file to fio command line.
Once this command completes look for
aggrbw which are your aggregate results from multiple disks exercised in parallel.
genfio is pretty handy tool for quickly generating FIO job files , without looking up fio command help :)