On Sunday 08 July 2001 08:00 pm, Paul Abrahams methodically organized
electrons to state:
>
> It would seem that for a valid comparison, cacheing should be temporarily
> turned off. Is there a way to do that?
>
It seems unnecessary; from man hdparm:
-t Perform timings of device reads for benchmark and comparison
purposes. For meaningful results, this operation should be repeated 2-3
times on an otherwise inactive system (no other active processes) with at
least a couple of megabytes of free memory. This displays the speed of
reading through the buffer cache to the disk without any prior caching of
data. This measurement is an indication of how fast the drive can
sustain sequential data reads under Linux, without any filesystem overhead.
To ensure accurate measurments, . . .
. . . the buffer cache is flushed during the processing of -t . . .
. . . using the BLKFLSBUF ioctl. If the -T flag is also specified, then a
correction factor based on the outcome of -T will be incorporated into the
result reported for the -t operation.
Hoyt
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users