8 Aug 2012 21:08
[RFC PATCH 0/5] Improve hugepage allocation success rates under load V2
Mel Gorman <mgorman <at> suse.de>
2012-08-08 19:08:39 GMT
2012-08-08 19:08:39 GMT
Changelog since V1 o Dropped kswapd related patch, basically a no-op and regresses if fixed (minchan) o Expanded changelogs a little Allocation success rates have been far lower since 3.4 due to commit [fe2c2a10: vmscan: reclaim at order 0 when compaction is enabled]. This commit was introduced for good reasons and it was known in advance that the success rates would suffer but it was justified on the grounds that the high allocation success rates were achieved by aggressive reclaim. Success rates are expected to suffer even more in 3.6 due to commit [7db8889a: mm: have order > 0 compaction start off where it left] which testing has shown to severely reduce allocation success rates under load - to 0% in one case. There is a proposed change to that patch in this series and it would be ideal if Jim Schutt could retest the workload that led to commit [7db8889a: mm: have order > 0 compaction start off where it left]. This series aims to improve the allocation success rates without regressing the benefits of commit fe2c2a10. The series is based on 3.5 and includes the commit 7db8889a to illustrate what impact it has to success rates. Patch 1 updates a stale comment seeing as I was in the general area. Patch 2 updates reclaim/compaction to reclaim pages scaled on the number of recent failures. Patch 3 captures suitable high-order pages freed by compaction to reduce races with parallel allocation requests. Patch 4 is an upstream commit that has compaction restart free page scanning from an old position instead of always starting from the end of the(Continue reading)
RSS Feed