Re: 2.1.127 BUGS was Re: Linux-2.1.127

Andi Kleen (ak@muc.de)
Tue, 10 Nov 1998 15:37:19 +0100


On Tue, Nov 10, 1998 at 12:48:47AM +0100, Mailing List Account wrote:
> Andi reported that his problems went away after a `make clean' so I
> tried that - but still I see the same thing.

Hmm? I don't remember reporting that.

> Anyhow... I'll try your patch and see if that helps, but in someways
> the present behaviour is arguably the right thing; it's getting rid
> of pages which aren't being used, swapping at gettys and infrequently
> used bits of daemons, etc. -- but its a little too aggresive as the
> swapping starts very early and hurts performance.

I think the reason why Linus' fix doesn't help completely is that swap_out()
has its own loop that frees a lot of pages according to the priority. Maybe
the nr_free_pages > 2*freepages.high exit condition should be added there
too.

-Andi

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