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?  

Try to put the file on a separate file system and unmount/mount it?
That should flush the associated pages.

Joerg


Home | Main Index | Thread Index | Old Index