On Sun, 1 Dec 2002 00:30, Thomas Kirk wrote:
On Fri, Nov 29, 2002 at 05:07:16PM +0100, Nicolas Bougues wrote:
> You should probably try to time the disk reads, not the buffer cache...
>
> hdparm -t
Yes the disk reads is a more realistic real world test :
/dev/sda5:
Timing buffer-cache reads: 128 MB in 1.23 seconds =104.07 MB/sec
guf:~# hdparm -t /dev/sda5
hdparm is NOT a real world test!
In real world operation you use a file system not direct access to
the device.
Bonnie++ is one of many file system benchmarks that you can use to get
results that are more useful than hdparm.
If you want to look at the performance of a raw device then use zcav (part of
Bonnie++), it allows you to easily graph the varying performance across a
partition.