Inspecting disk IO performance with fio
Posted on May 31, 2012
Install fio
yum install fio
Create fio random read job
Create job file ‘random-read-test.fio’ with the following contents:
[random-read]
rw=randread
size=128m
directory=/tmp/fio-testing/data
Create fio random write job
Create job file ‘random-write-test.fio’ with the following contents:
[random_rw]
rw=randrw
size=128m
directory=/tmp/fio-testing/data
run fio
fio random-write-test.fio