Skip to content

Reduce migrations due to load imbalance and process exits

Mel Gorman lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sched/fair: Avoid an unnecessary lookup of current CPU ID during wake_affinekernel/sched/fair.c+2 -30 replies
2/4sched/fair: Defer calculation of prev_eff_load in wake_affine until neededkernel/sched/fair.c+1 -10 replies
3/4sched/fair: Do not migrate on wake_affine_weight if weights are equalkernel/sched/fair.c+10 -15 replies
4/4sched/fair: Do not migrate due to a sync wakeup on exitkernel/sched/fair.c+7 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Reduce migrations due to load imbalance and process exits

The following series was motivated by the fact that higher migrations were observed than expected. The first two patches are minor cleanups. The third patch avoids migrations on wakeup when two CPUs are equally loaded which is particularly important in the case where the measured load is 0. The last patch avoids cross-node migrations of a parent process when the child exits. Overall, there is a minor boost in performance on some workloads with the details included in the changelogs.

The series was tested based on Linus's tree during the 4.16 merge window as of Feb 8th but applies cleanly to 4.16-rc1.

 kernel/sched/fair.c | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)
Signature · 1 line
2.15.1