[BusyBox] hdparm performance tests wrong!?

Steven Scholz steven.scholz at imc-berlin.de
Wed Aug 6 09:17:06 UTC 2003


Erik Andersen wrote:

> On Wed Jul 30, 2003 at 03:29:24PM +0200, Steven Scholz wrote:
> 
>>Hi there,
>>
>>hdparm in busybox-1.00-pre2 gives me
>>
>>~ # hdparm -tT /dev/hda
>>
>>/dev/hda:
>> Timing buffer-cache reads:    84 MB in  2.08 seconds =  40.38 MB/sec
>> Timing buffered disk reads:    8 MB in  3.82 seconds =   2.09 MB/sec
>>
>>on my MPC8xx system.
>>
>>But my original hdparm.orig v5.2 shows
>>
>>~ # hdparm.orig -tT /dev/hda
>>
>>/dev/hda:
>> Timing buffer-cache reads:   128 MB in  6.35 seconds = 20.16 MB/sec
>> Timing buffered disk reads:  64 MB in 27.39 seconds =  2.34 MB/sec
>>
>>which I think is (more) correct!
> 
> 
> I've resynced the -t and -T options with hdparm-5.3
> which seems to produce sensible results,

Tested. Looks good. Thanks.

Steven





More information about the busybox mailing list