Hi.
Make sure you are comparing apples with apples.
3 consecutive runs with parameter c = 0 gives:
/dev/hda:
Timing buffered disk reads: 64 MB in 34.29 seconds = 1.87 MB/sec
/dev/hda:
Timing buffered disk reads: 64 MB in 8.86 seconds = 7.22 MB/sec
/dev/hda:
Timing buffered disk reads: 64 MB in 9.73 seconds = 6.58 MB/sec
The difference is for the second and third tests, data is cached in the
disk. After making sure the cache would have been cleared, I rerun with
c =3 and get:
/dev/hda:
Timing buffered disk reads: 64 MB in 24.30 seconds = 2.63 MB/sec
/dev/hda:
Timing buffered disk reads: 64 MB in 6.16 seconds = 10.39 MB/sec
/dev/hda:
Timing buffered disk reads: 64 MB in 5.73 seconds = 11.17 MB/sec
It is clear that I always get a performance improvement. However, if you
run the test, change the value then rerun the test, you will not get a
valid comparison.
/brian
Bill Wrote:
Well, I stand corrected. Here are my results:
[root@slick /root]# hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 64 MB in 30.05 seconds = 2.13
MB/sec
[root@slick /root]# hdparm -c 3 /dev/hda
/dev/hda:
setting 32-bit I/O support flag to 3
I/O support = 3 (32-bit w/sync)
[root@slick /root]# hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 64 MB in 8.97 seconds = 7.13
MB/sec
I guess I'll edit my /etc/rc.d/rc.local file now!
Thanks!
-Bill-
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users