Re: What to expect with the 2.6 VM

Rik van Riel (riel@imladris.surriel.com)
Tue, 1 Jul 2003 03:29:54 +0000 (UTC)


On Tue, 1 Jul 2003, Andrea Arcangeli wrote:

> Also think if you've a 1G box, the highmem list would be very small and
> if you shrink it first, you'll waste an huge amount of cache. Maybe you
> go shrink the zone normal list first in such case of unbalance?

That's why you have low and high watermarks and try to balance
the shrinking and allocating in both zones. Not sure how
classzone would influence this balancing though, maybe it'd be
harder maybe it'd be easier, but I guess it would be different.

> Overall I think rotating too fast a global list sounds much better in this
> respect (with less infrequent GFP_KERNELS compared to the
> highmem/pagecache/anonmemory allocation rate) as far as I can tell, but
> I admit I didn't do any math (I didn't feel the need of a demonstration
> but maybe we should?).

Remember that on large systems ZONE_NORMAL is often under much
more pressure than ZONE_HIGHMEM. Need any more arguments ? ;)

Rik

-- 
Engineers don't grow up, they grow sideways.
http://www.surriel.com/		http://kernelnewbies.org/
-
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/