Re: Ability to limit or disable page caching?
From: FD Cami
Date: Mon May 05 2008 - 07:16:19 EST
Hi,
On Mon, 5 May 2008 00:12:56 -0700
"Kevin Burton" <burton@xxxxxxxxxxxx> wrote:
> In the mean time is it possible to disable the page cache or limit it
> to say 10% of system memory?
You might want to look at /proc/sys/vm/ for tunables.
/proc/sys/vm/vfs_cache_pressure and /proc/sys/vm/swappiness are probably
what you are looking for.
See this article for an explanation of swappiness :
http://www.leap-cf.org/oldarchive/2004-May/038622.html
> You could do this with RHEL 4.x but I don't recall this ever making it
> into 2.6 :-/
AFAIK RHEL 4.x runs 2.6.9.
Cheers
FDC
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/