Re: [RFC][PATCH 0/2] Tunable watermark

From: David Rientjes
Date: Fri Jan 07 2011 - 17:39:33 EST


On Fri, 7 Jan 2011, Ying Han wrote:

> On the other hand, having the low/high wmark consider more characters
> other than the
> size of the zone sounds useful.

The semantics of any watermark is to trigger events to happen at a
specific level, so they should be static with respect to a frame of
reference (which in the VM case is the min watermark with respect to the
size of the zone). If you're going to adjust the min watermark, it's then
_mandatory_ to adjust the others to that frame of reference, you shouldn't
need to tune them independently.

The problem that Satoru is reporting probably has nothing to do with the
watermarks themselves but probably requires more aggressive action by
kswapd and/or memory compaction.
--
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/