Re: [PATCH v2] mm: scale kswapd watermarks in proportion to memory

From: Rik van Riel
Date: Mon Feb 22 2016 - 20:36:41 EST


On Mon, 2016-02-22 at 15:33 -0800, Johannes Weiner wrote:

> Beyond 1G of memory, this will produce bigger watermark steps than

Is that supposed to be beyond 16GB?

> the
> current formula in default settings. Ensure that the new formula
> never
> chooses steps smaller than that, i.e. 25% of the emergency reserve.
>
> On a 140G machine, this raises the default watermark steps - the
> distance between min and low, and low and high - from 16M to 143M.
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> Acked-by: Mel Gorman <mgorman@xxxxxxx>

Acked-by: Rik van Riel <riel@xxxxxxxxxx>

--
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part