Reduce migrations due to load imbalance and process exits
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | sched/fair: Avoid an unnecessary lookup of current CPU ID during wake_affinekernel/ | +2 | 0 replies | |
| 2/4 | sched/fair: Defer calculation of prev_eff_load in wake_affine until neededkernel/ | +1 | 0 replies | |
| 3/4 | sched/fair: Do not migrate on wake_affine_weight if weights are equalkernel/ | +10 | 5 replies | |
| 4/4 | sched/fair: Do not migrate due to a sync wakeup on exitkernel/ | +7 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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