[lug] inhibit caching

Nate Duehr nate at natetech.com
Mon Jun 21 02:29:30 MDT 2004


Steve Sullivan <Steve Sullivan wrote:
> Often I need to run performance tests on a disk,
> but the file caching of Linux gets in the way.
> 
> Is there a way to inhibit caching for a file
> or disk, so when the data are read they truly
> come from disk instead of from cache?
> 
> Thanks,
> 
> Steve Sullivan

You may want to look at bonnie++ from Russel Coker.  It does all of what 
you've asked for and more and has years of development time behind it. 
(Understanding what it's telling you is the hardest part as it's 
extremely comprehensive.)

Nate Duehr, nate at natetech.com



More information about the LUG mailing list