RE: [PATCH -v2 -mm] add extra free kbytes tunable

From: Satoru Moriya
Date: Wed Oct 12 2011 - 17:09:23 EST


On 10/11/2011 04:54 PM, Andrew Morton wrote:
> On Tue, 11 Oct 2011 16:23:22 -0400
> Satoru Moriya <satoru.moriya@xxxxxxx> wrote:
>
>> Also, if we increase the free-page reserves a.k.a min_free_kbytes,
>> the possibility of direct reclaim on other workloads increases.
>> I think it's a bad side effect.
>
> extra_free_kbytes has the same side-effect.

I don't think so. If we make low watermark bigger to increase
free-page reserves by extra_free_kbytes, the possibility of
direct reclaim on other workload does not increase directly
because min watermark is not changed.
Of course, as David pointed out, other workloads may incur
a regression because kswapd uses more cpu time.

Thanks,
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/