Re: [RFC][PATCH] Re: Linux 2.4.4-ac10

From: Mike Galbraith (mikeg@wen-online.de)
Date: Sun May 20 2001 - 12:38:59 EST


On Sun, 20 May 2001, Ingo Oeser wrote:

> On Sun, May 20, 2001 at 05:29:49AM +0200, Mike Galbraith wrote:
> > I'm not sure why that helps. I didn't put it in as a trick or
> > anything though. I put it in because it didn't seem like a
> > good idea to ever have more cleaned pages than free pages at a
> > time when we're yammering for help.. so I did that and it helped.
>
> The rationale for this is easy: free pages is wasted memory,
> clean pages is hot, clean cache. The best state a cache can be in.

Sure. Under low load, cache is great. Under stress, keeping it is
not an option though ;-) We're at or beyond capacity and moving at
a high delda V (people yammering for help). If you can recognize and
kill the delta rapidly by dumping that which you are going to have
to dump anyway, you save time getting back on your feet. (my guess
as to why dumping clean pages does measurably help in this case)

        -Mike

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



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:37 EST