Re: [PATCH] Provide an interface to limit total page cache.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/15/07, Roy Huang <[email protected]> wrote:
A patch provide a interface to limit total page cache in
/proc/sys/vm/pagecache_ratio. The default value is 90 percent. Any
feedback is appreciated.


[snip]

wakeup_kswapd and shrink_all_memory use swappiness to determine what to reclaim
(mapped pages or page cache).  This patch does not ensure that only
page cache is
reclaimed/limited. If the swappiness value is high, mapped pages will be hit.

One could get similar functionality by implementing resource management.

Resource  management splits tasks into groups and does management of
resources for the
groups rather than the whole system. Such a facility will come with a
resource controller for
memory (split into finer grain rss/page cache/mlock'ed memory, etc),
one for cpu, etc.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux