Messages in this thread | | | Date | Sat, 12 May 2012 18:21:10 -0400 | From | Rik van Riel <> | Subject | Re: [RFC][PATCH] avoid swapping out with swappiness==0 |
| |
On 05/11/2012 05:11 PM, Satoru Moriya wrote: > On 04/20/2012 08:21 PM, Satoru Moriya wrote: >> Ah yes, it is not so small now. >> On 4GB server, without THP min_free_kbytes is 8113 but with THP it is >> 67584. >> >> How about using low watermark or min watermark? >> Are they still big? >> >> ...or should we use other value? > > What do you think of the idea above?
I believe that using the high watermark is just fine.
We want to start swapping, before the page cache is so small that we start thrashing from that.
> So, I propose that we start with applying this patch first > and then discuss/improve the threshold. > > The patch may not be perfect but, at least, we can improve > the kernel behavior in the enough filebacked memory case > with this patch. I believe it's better than nothing.
Agreed.
-- All rights reversed
| |