lkml.org 
[lkml]   [2004]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ~500 megs cached yet 2.6.5 goes into swap hell
Jeff Garzik wrote:
> Brett E. wrote:
>
>> exits, freeing up the malloc'ed memory. This brings free memory up by
>> 400 megs and brings the cache down to close to 0, of course the cache
>
>
> Yeah, I have something similar (attached). Run it like
>
> fillmem <number-of-megabytes>
>
>
>> grows right afterwards. It would be nice to cap the cache
>> datastructures in the kernel but I've been posting about this since
>> September to no avail so my expectations are pretty low.
>
>
> This is a frequent request... although I disagree with a hard cap on
> the cache, I think the request (and similar ones) should hopefully
> indicate to the VM gurus that the kernel likes cache better than anon
> VMAs that must be swapped out.
>

For 2.6.6-rc2-mm2:
http://www.kerneltrap.org/~npiggin/vm-rollup.patch.gz

/proc/sys/vm/mapped_page_cost - indicate which *you* like better ;)
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.155 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site