From man page: fiois a tool that will spawn a number of threads or processes doing a particular type of I/O action as specified by the user. The typical use of fio is to write a job file matching the I/O load one wants to simulate.

This example only show how to use fio to make reproduceable test on a file system. For me it's been useful to catch changes in I/O throughput before and after a system has gone into production. Buy running the same tests on all systems the numbers are comparable.

All parameter numbers are examples, define your own test according to what you want to measure.

Installing fio

apt-get install fio

Running fio

Change bsrange to the block size range you want to test.

numjobs is the number of simultanious read/write threads.

size is the working file size.

If you want to test a read heavy load, use rwmixread with a percentage of reads versus writes..