File Read Cache - How to purge?

Hrvoje Niksic hniksic at xemacs.org
Wed Aug 22 03:59:39 EDT 2007


Steve Holden <steve at holdenweb.com> writes:

>> That URL claims that you need to run "sync" before dropping the
>> cache, and so do other resources.  I wonder if that means that
>> dropping the cache is unsafe on a running system.
>
> Good grief. Just let the operating system do its job, for Pete's
> sake, and go find something else to obsess about.

Purging the page cache for the purposes of benchmarking (such as
measuring cold start time of large applications) is an FAQ, not an
"obsession".  No one is arguing that the OS shouldn't do its job in
the general case.



More information about the Python-list mailing list