mbox series

[0/2] Faster migration for automatic NUMA balancing

Message ID 20181001100525.29789-1-mgorman@techsingularity.net (mailing list archive)
Headers show
Series Faster migration for automatic NUMA balancing | expand

Message

Mel Gorman Oct. 1, 2018, 10:05 a.m. UTC
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(-)