tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: poison mmap cache



On Mon, Aug 11, 2014 at 08:29:13PM -0400, James K. Lowden wrote:
 > I'm testing different algorithms for performance against a single
 > memory-mapped file.  How can I best ensure that for each run the
 > page cache is cold, that the prior run left nothing for the current run
 > to take advantage of?  

The safest way is (has always been, for all benchmarking) to reboot
between runs.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index