Skip to content

sched: The newidle balance regression

Peter Zijlstra lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 50 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4sched/fair: Revert max_newidle_lb_cost bumpkernel/sched/fair.c+3 -160 replies
2/4sched/fair: Small cleanup to sched_balance_newidle()kernel/sched/fair.c+6 -410 replies
3/4sched/fair: Small cleanup to update_newidle_cost()kernel/sched/fair.c+7 -40 replies
4/4sched/fair: Proportional newidle balanceinclude/linux/sched/topology.h kernel/sched/core.c kernel/sched/fair.c +3 more+63 -443 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDietmar EggemannAdam Li
1/4
2/4
3/4
4/4R-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] sched: The newidle balance regression

Hi!

So most of you ran into Chris' commit 155213a2aed4 ("sched/fair: Bump sd->max_newidle_lb_cost when newidle balance fails") [*]

And I posted a patch with a few alternative options. And while I've heard back from a number of you, indicating that NI_TARGET (the effective revert) works for you. Not many tested TARGET+RANDOM (thanks Adam!).

In my limited schbench testing that combination isn't horrible, and per Adam that combination also doesn't suck for him. Chris, could you please see what this does for your machines with your actual workload?

Anyway, here are a few patches that basically do the revert and introduce the proportional newidle balance -- the NI_TARGET+NI_RANDOM equivalent.

Also at:

git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/newidle

Please all, give it a whirl. Hopefully I didn't wreck it, its Friday after all :-)

[*] https://lkml.kernel.org/r/[email protected]