[PATCH 0/2] Faster migration for automatic NUMA balancing
From: Mel Gorman
Date: Mon Oct 01 2018 - 06:05:30 EST
These two patches are based on top of Srikar Dronamraju's recent work
on automatic NUMA balancing and are motivated by a bug report from Jirka
Hladky that STREAM performance has regressed.
The STREAM workload is mildly interesting in that it only works as a valid
benchmark if tasks are pinned to memory channels. Otherwise it is very
sensitive to the starting conditions of the benchmark. Recent scheduler
changes prevent prematurely spreading a workload across multiple sockets
which benefits many workloads but not STREAM. This series restores STREAM
performance without reintroducing other regressions.
The first patch removes migration rate limiting as it's expected that
automatic NUMA balancing decisions are mature enough that we do not
need the safety net. The second patch migrates pages faster early in the
lifetime of the process which has an impact if the load balancer spreads
a workload to remote nodes.
include/linux/mmzone.h | 6 ----
include/trace/events/migrate.h | 27 ------------------
kernel/sched/fair.c | 12 +++++++-
mm/migrate.c | 65 ------------------------------------------
mm/page_alloc.c | 2 --
5 files changed, 11 insertions(+), 101 deletions(-)
--
2.16.4