Re: [PATCH] 2.6.4-rc2-mm1: vm-split-active-lists

From: Nick Piggin
Date: Fri Mar 12 2004 - 04:11:12 EST




Marc-Christian Petersen wrote:

On Thursday 11 March 2004 01:04, Nick Piggin wrote:

Hi Nick,


Here is my updated patches rolled into one.


hmm, using this in 2.6.4-rc2-mm1 my machine starts to swap very very soon. Machine has squid, bind, apache running, X 4.3.0, Windowmaker, so nothing special.

Swap grows very easily starting to untar'gunzip a kernel tree. About + 150-200MB goes to swap. Everything is very smooth though, but I just wondered because w/o your patches swap isn't used at all, even after some days of uptime.



Hmm... I guess it is still smooth because it is swapping out only
inactive pages. If the standard VM isn't being pushed very hard it
doesn't scan mapped pages at all which is why it isn't swapping.

I have a preference for allowing it to scan some mapped pages though.
I'm not sure if there is any attempt at a drop behind logic. That
might help. Add new unmapped pagecache pages to the inactive list or
something might help... hmm, actually that's what it does now by the
looks.

I guess you don't have a problem though.

-
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/