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

From: Satoru Moriya
Date: Tue Apr 24 2012 - 18:15:17 EST


On 04/24/2012 04:20 AM, Richard Davies wrote:
>
> I have run into problems with heavy swapping with swappiness==0 and
> was pointed to this thread (
> http://marc.info/?l=linux-mm&m=133522782307215 )

Did you test this patch with your workload?
If yes, how did it come out?

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

Agreed. That is why I proposed the patch.

> Personally, I feel that swappiness==0 should have this (intuitive)
> meaning, and that people running RHEL5 are extremely unlikely to run
> 3.5 kernels(!)
>
> However, swappiness==-1 or some other hack is definitely better than
> no patch.


Regards,
Satoru
--
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/