Monday, September 21, 2009

Simple benchmark programs for Linux

In case that you want to test a new server for disk performance you
can do it very quickly with the following tools

bonnie++ from http://www.coker.com.au/bonnie++/
iozone from http://www.iozone.org/

These two will make different tests to your file systems.

Also you can use hdparam (do hdparam --help for all the options)
This is an example from a very old computer with SATA2

# hdparm -t /dev/sda

/dev/sda:
Timing buffered disk reads: 170 MB in 3.03 seconds = 56.06 MB/sec

0 comments: