On Sun, Jul 15, 2001 at 04:32:59PM +0100, Alan Cox wrote:
Another way is to time
write block
write barrier
write same block
write barrier
repeat
If the write barrier is working you should be able to measure the
drive rpm 8)
OK, I just wrote this in order to test just that, test on a raw device
and turn caching off if you can.
For my drives, I cannot disable caching (I don't know if it is on or
not) and I get abysmal speed, but nothing unrealistic,
Anyhow, I just wrote this and tested it a couple of times, if it
breaks or east your disk, don't bitch at me.
Otherwise, flames and comments on my god awful code welcome.
--cw
This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:22 EST