Re: Ability to limit or disable page caching?

From: FD Cami
Date: Mon May 05 2008 - 15:34:35 EST


On Mon, 5 May 2008 11:34:24 -0700
"Kevin Burton" <burtonator@xxxxxxxxx> 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.
>
> I haven't played with vfs_cache_pressure so I'll take a look at this.
>
> Unfortunately, swappiness doesn't work as intended.

Could you explain the original problem ? That way we might help you better.

Best,

Francois
--
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/