This page is a dump of notes on disk benchmarking in Linux, and is in great need of editing! Use at own peril.
Buffered disk reads (bypasses cache)
This method reads data sequentially from the disk, disregarding file boundaries.
Writes and Cache-out
- Go to [http://www.iozone.org/], get link of latest build.
- wget http://www.iozone.org/src/current/iozone-3-420.i386.rpm
- yum install iozone-3-420.i386.rpm
If you also need to create graphs from the results of
iozone, you can
yum install gnuplot
bonnie++ benchmark is available on EPEL
repository for CentOS. Note that it will put load on the system on which
it runs, so it's better run during less productive times.
Bonnie++ will output its data twice, once in an ASCII formatted table, and once more in a single line CSV. Echo the contents of the CSV line through bon_csv2html to get a more readable HTML table.