Hi all!
I am trying to tweak my harddisk performance using hdparm. To see if a
parameter has any results I want to do a few simple tests, eg measure the time
needed to complete a "dd if=/dev/hda of=/dev/null bs=1k count=10240" and an
"ls -R /".
As you can understand repeating these results is a little tricky, since the
disk cache and the directory cache will speed up the result of the second run.
Flushing the disk cache using "hdparm -f /dev/hda" does make the results of
the dd reliable (ie results of different runs take the same time to complete),
but this is not true for ls.
So my question is, how do I flush the directory cache, so ls reads the
filenames from disk on the second run? Thanx!
Bye,
Leonard.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list