www.pegasos.org

Linux, BSD, Unix etc. - Benchmark disks in Linux

Gullden - Oct 19, 2004 - 14:50
Post subject: Benchmark disks in Linux
I'm looking for a tool or some kind of benchmark program to test
the performance of my disks. I have been looking around the net
and there are several benchmark programs out there, is there
anyone here who knows of a good tool/benchmark that I can use
to test the performance of my disks.
gunne - Oct 19, 2004 - 15:38
Post subject:
hdparm or dd ?
dholm - Oct 19, 2004 - 16:34
Post subject:
It depends on whether you are benchmarking a drive or a filesystem and what conditions you are interested in. Good filesystem benchmarks can be made with one of the following software: http://www.iozone.org/, http://sourceforge.net/projects/tiobench/, or http://www.coker.com.au/bonnie++/.
gunne - Oct 19, 2004 - 17:03
Post subject:
gunne@debian:~$ dd if=/dev/hda3 of=/dev/null bs=1024000
19531+1 records in
19531+1 records out
19999752192 bytes transferred in 437.086302 seconds (45756987 bytes/sec)
gunne@debian:~$

Smile
dholm - Oct 19, 2004 - 18:02
Post subject:
How many applications do you have that write in 1GB blocks?
gunne - Oct 19, 2004 - 18:29
Post subject:
dholm:

Well, at least this one can manage it Wink
dholm - Oct 19, 2004 - 18:47
Post subject:
Manage, yes. But it isn't a realistic benchmark.
gunne - Oct 19, 2004 - 20:35
Post subject:
How about this one then ?

root@debian:~# dd if=/dev/hda5 of=/dev/null bs=16k
1344183+0 records in
1344183+0 records out
22023106560 bytes transferred in 436.285868 seconds (50478615 bytes/sec)
root@debian:~#

Clarification for above. It tells me how many bytes/sec, (how many bytes transfered and how long time this took), I can read from the specified drive /dev/hda5 with a specified blocksize to a place 'nowhere' /dev/null.
Gullden - Oct 19, 2004 - 22:25
Post subject:
I have been playing around with http://sourceforge.net/projects/tiobench/ and it's
really promising. It think this is the tool I was looking for.

I'm going to setup a test-enviroment for tiobench, more info about this later.. Wink
All times are GMT + 1 Hour
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits