[clug] Testing filesystem performance?

Tony and Robyn Lewis beakysnugger at yahoo.co.uk
Sun Jun 27 07:06:56 GMT 2004

On Sun, 2004-06-27 at 11:37, Michael Still wrote:

> That's not a perfect metric, as we're also measuring how slow the hard 
> disc and CPU in my laptop are...

hdparm -t /dev/hda1
... or doing the maths on ...
time dd if=/dev/hda1 of=/dev/null bs=1024k count=100
... should help you figure out how fast your disk can go when reading
from the raw partition.  Try to do it on an otherwise inactive
partition, and note YMMV depending on values of bs, plus this is skewed
by the filesystem cache, so try to read maybe twice the size of the phys
memory installed.

More information about the linux mailing list