Re: [RFC][PATCH] avoid swapping out with swappiness==0

From: Rik van Riel
Date: Fri Apr 27 2012 - 09:55:51 EST


On 04/26/2012 10:50 AM, Christoph Lameter wrote:
On Tue, 24 Apr 2012, Richard Davies wrote:

I strongly believe that Linux should have a way to turn off swapping unless
absolutely necessary. This means that users like us can run with swap
present for emergency use, rather than having to disable it because of the
side effects.

Agree. And this ooperation mode should be the default behavior given that
swapping is a very slow and tedious process these days.

I believe that is a bad idea.

With cgroups, the situation is a whole lot less obvious than with
the simple test done in this patch. Lets see how the 3.4 code
behaves, and if we need any additional changes to reduce swapping
and step up reclaiming of page cache...

--
All rights reversed
--
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/