Re: ext3 inode cache eats system, news at 11

From: Nick Piggin
Date: Mon Apr 26 2004 - 22:27:45 EST


Andrew Morton wrote:

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.6-rc2/2.6.6-rc2-mm2/broken-out/slab-order-0-for-vfs-caches.patch

is not a completely happy solution, but it should fix things up.

Another thing you could be doing is not zeroing swapper->nr
if the shrinker function doesn't do anything, in order to try
to maintain pressure on the dcache. This would be similar to
your deferred list idea.

But I guess that using 0 order allocations for these GFP_NOFS
caches means you would be losing far less dcache pressure in
this way, so it might not make much difference.
-
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/