Re: PERF: performance tests with the split LRU VM in -mm

From: Rik van Riel
Date: Tue Jul 29 2008 - 09:29:19 EST


On Tue, 29 Jul 2008 15:21:47 +0200
Johannes Weiner <hannes@xxxxxxxxxxxx> wrote:

> Here is my original patch that just gets rid of it. It did not cause
> any problems to me on high pressure. Rik, you said on IRC that you now
> also think the patch is safe..?

Yes. Removing the "+ 1" is safe because we do not scan until
zone->lru[l].nr_scan reaches swap_cluster_max, which means that
the scan counter for small lists will also slowly increase and
no list will be left behind.

> From: Johannes Weiner <hannes@xxxxxxxxxxxx>
> Subject: mm: don't accumulate scan pressure on unrelated lists
>
> During each reclaim scan we accumulate scan pressure on unrelated
> lists which will result in bogus scans and unwanted reclaims
> eventually.

This patch fixes the balancing issues that we have been seeing
with the split LRU VM currently in -mm.

It is my preferred patch because it removes magic from the VM,
instead of adding some.

> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxxx>

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

--
All rights reversed.
--
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/