Re: [PATCH 7/8] Revert "vmscan: abort reclaim/compaction if compactioncan proceed"

From: Rik van Riel
Date: Mon Nov 21 2011 - 10:37:45 EST


On 11/21/2011 08:09 AM, Mel Gorman wrote:
On Sat, Nov 19, 2011 at 08:54:19PM +0100, Andrea Arcangeli wrote:
This reverts commit e0c23279c9f800c403f37511484d9014ac83adec.

If reclaim runs with an high order allocation, it means compaction
failed. That means something went wrong with compaction so we can't
stop reclaim too. We can't assume it failed and was deferred because
of the too low watermarks in compaction_suitable only, it may have
failed for other reasons.


When Rik was testing with THP enabled, he found that there was way
too much memory free on his machine.

Agreed, without these patches, I saw up to about 4GB
of my 12GB memory being freed by pageout activity,
despite the programs in my system only taking about
10GB anonymous memory.

Needless to say, this completely killed system
performance, by constantly pushing everything into
swap and keeping 10-30% of memory free constantly.

This revert makes no sense at all.
--
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/