lkml.org 
[lkml]   [2008]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Ability to limit or disable page caching?

Hi,

On Mon, 5 May 2008 00:12:56 -0700
"Kevin Burton" <burton@tailrank.com> 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


\
 
 \ /
  Last update: 2008-05-05 13:19    [W:0.044 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site