Re: [2.4] heavy-load under swap space shortage
j-nomura_at_ce.jp.nec.com
Date: 02/06/04
- Previous message: Lenar Lõhmus: "Re: 2.6.2-mm1 aka "Geriatric Wombat""
- In reply to: Hugh Dickins: "Re: [2.4] heavy-load under swap space shortage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 06 Feb 2004 18:03:38 +0900 (JST) To: hugh@veritas.com
> > With slight modification (please see the patch below), it's really helpful.
> > I hope you push it again to the mainline.
>
> Okay, glad to hear it, I'll try pushing to Marcelo in 2.4.26-pre.
Thank you.
> Can you describe the benefit you see?
OK.
The benefit is simple.
Before applying your patch, the system became hardly responsive
under a certain situation (that is no free swap space, running page cache
intensive applications).
The system time went up 80-100% for long time (30 minutes to hours).
After applying your patch, under the same situation, the responsiveness
of the system does not get worse.
The system time goes up high for a few seconds, but it goes down soon.
> > I added the check for 'mm == swap_mm'. It might be necessary to avoid
> > the corner case where mmlist_lock being held too long.
>
> Oh, good point. But I'm uneasy about treating a trip round the mmlist
> failing to get a lock as the same thing as finding no pages to free,
> your "goto empty": drop lock and come around again instead, as below?
I feel your approach is better than mine to keep the current semantics.
Best regards.
-- NOMURA, Jun'ichi <j-nomura@ce.jp.nec.com> - 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/
- Previous message: Lenar Lõhmus: "Re: 2.6.2-mm1 aka "Geriatric Wombat""
- In reply to: Hugh Dickins: "Re: [2.4] heavy-load under swap space shortage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]