Re: how to page_cache.max_percent?

From: Ben LaHaise (bcrl@redhat.com)
Date: Tue Aug 21 2001 - 18:22:16 EST


On Wed, 22 Aug 2001 firenza@gmx.net wrote:

> i don't care about the pagecache, i only care about having those
> 3GB in memory...

mlock()/mlockall().

> is there a way to set a maximum size for the pagecache (afaik,
> page_cache.max_percent is not used)?

> or can i specify to always drain the pagecache before swapping out?

Disable all swap. (ie swapoff -a)

                -ben

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:46 EST