lkml.org 
[lkml]   [1999]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Clearing the I/O caches? (for benchmark tests)
From
Date
"Stephen C. Tweedie" <sct@redhat.com> writes:
>
> That's fine. The one thing it will _not_ do is clear out cached pages
> which are still referenced by the virtual memory system. Flushing
> memory by trying to allocate lots will try to swap that memory out too.
> Remember, any running binaries or in-use libraries will have pages
> mapped into some process's address space, so just going through the
> cache won't get rid of those pages: you'll have to unmap them first by
> passing through the swapper too.

This explains why hogging memory was able to cause more cache misses than
a freshly booted machine.

--

tmk

-----------------------------------------------------------------------
Tom M. Kroeger Pray for wind
Graduate Student, UC Santa Cruz \ Pray for waves
e-mail: tmk@cs.ucsc.edu |\ and Pray it's your day off!
http://www.cse.ucsc.edu/~tmk |~\
(831) 459-4458 |__\
(831) 426-9055 home ,----+--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2011 Jasper Spaans