lkml.org 
[lkml]   [2004]   [Feb]   [23]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateMon, 23 Feb 2004 19:08:06 +1100
FromNick Piggin <>
SubjectRe: 2.6.3-mm3

Nick Piggin wrote:

>
>
> Nick Piggin wrote:
>
>>
>> Lowmem pagecache vs highmem pagecache should be balanced correctly?
>> I think it is with your other patches.
>>
>> Lowmem pagecache vs slab should be balanced correctly with my patch.
>>
>> Therefore highmem vs slab will be balanced correctly.
>>
>> Is that a good proof?
>>
>>
>
> Well no, because you can construct a similar "proof" for your
> patch because I assume balancing between zones is a two way
> operation :P. Actually, lowmem pressure does not assert highmem
> pressure which is the point where your balancing fails.
>
>

Humph. OK you're right. The above is of course right when all
else is equal, however slab can only be allocated from lowmem
while pagecache can come from anywhere.

So if you have 500MB of slab and 100MB of cache in lowmem, but
10000MB cache in highmem, lowmem pressure should be shrinking
more cache than slab.
Nick

-
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 13:01    [W:0.626 / U:0.070 seconds]
©2003-2008 Jasper Spaans