Re: [PATCH] vm-fix-all_zones_ok (was Re: 2.6.3-mm3)

From: Rik van Riel
Date: Tue Feb 24 2004 - 15:57:17 EST


On Tue, 24 Feb 2004, Andrew Morton wrote:
> Chris Wedgwood <cw@xxxxxxxx> wrote:
> > On Tue, Feb 24, 2004 at 03:11:40PM +1100, Nick Piggin wrote:
> >
> > > Out of interest, what is the worst you can make it do with
> > > contrived cases?
> >
> > 700MB slab used.
>
> Sigh. There is absolutely nothing wrong with having a large slab cache.
> And there is nothing necessarily right about having a small one.

Could it be that the lower zone protection stuff simply means
that Chris's system only ever allocates page cache and anonymous
memory from his 600 MB highmem, leaving the 900 MB lowmem for
the slab cache to roam freely ?

I guess highmem allocations really should put some pressure on
lowmem, even when there is enough lowmem free, because otherwise
you end up effectively not using half of the memory on 1.5-2 GB
systems for paging ...

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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