Skip to content

RFC Reintroduce NEXT_BUDDY for EEVDF v2

Mel Gorman lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched/fair: Enable scheduler feature NEXT_BUDDYkernel/sched/features.h+1 -10 replies
2/2sched/fair: Reimplement NEXT_BUDDY to align with EEVDF goalskernel/sched/fair.c+111 -201 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/2] Reintroduce NEXT_BUDDY for EEVDF v2

I've been chasing down a number of schedule issues recently like many others and found they were broadly grouped as

1. Failure to boost CPU frequency with powersave/ondemand governors
2. Processors entering idle states that are too deep
3. Differences in wakeup latencies for wakeup-intensive workloads

Adding topology into account means that there is a lot of machine-specific behaviour which may explain why some discussions recently have reproduction problems. Nevertheless, the removal of LAST_BUDDY and NEXT_BUDDY being disabled has an impact on wakeup latencies.

This RFC is to determine if this is valid approach to prefer selecting a wakee if it's eligible to run even though other unrelated tasks are more eligible.

 kernel/sched/fair.c     | 131 ++++++++++++++++++++++++++++++++++------
 kernel/sched/features.h |   2 +-
 2 files changed, 112 insertions(+), 21 deletions(-)
Signature · 1 line
2.51.0