sched: EEVDF and latency-nice and/or slice-attr
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
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | sched/fair: Add avg_vruntimekernel/ kernel/ kernel/ | +154 | 9 replies | |
| 2/15 | sched/fair: Remove START_DEBITkernel/ kernel/ | +1 | 0 replies | |
| 3/15 | sched/fair: Add lag based placementinclude/ kernel/ kernel/ +1 more | +138 | 18 replies | |
| 4/15 | rbtree: Add rb_add_augmented_cached() helperinclude/ | +26 | 0 replies | |
| 5/15 | sched/fair: Implement an EEVDF like policyinclude/ kernel/ kernel/ +3 more | +308 | 15 replies | |
| 6/15 | sched: Commit to lag based placementkernel/ kernel/ | +1 | 0 replies | |
| 7/15 | sched/smp: Use lag to simplify cross-runqueue placementkernel/ | +19 | 13 replies | |
| 8/15 | sched: Commit to EEVDFkernel/ kernel/ kernel/ +1 more | +38 | 3 replies | |
| 9/15 | sched/debug: Rename min_granularity to base_slicekernel/ kernel/ kernel/ +1 more | +10 | 0 replies | |
| 10/15 | sched/fair: Propagate enqueue flags into place_entity()kernel/ kernel/ | +6 | 0 replies | |
| 11/15 | sched/eevdf: Better handle mixed slice lengthkernel/ kernel/ kernel/ | +32 | 4 replies | |
| 12/15 | sched: Introduce latency-nice as a per-task attributeinclude/ include/ include/ +4 more | +55 | 0 replies | |
| 13/15 | sched/fair: Implement latency-nicekernel/ kernel/ kernel/ | +27 | 4 replies | |
| 14/15 | sched/fair: Add sched group latency supportDocumentation/ kernel/ kernel/ +1 more | +71 | 0 replies | |
| 15/15 | sched/eevdf: Use sched_attr::sched_runtime to set request/slicekernel/ | +18 | 2 replies |
Reviews trailers per patch
1 of 15 patches has a Reviewed-by or Acked-by.
| Patch | K Prateek Nayak | Chen Yu | Breno Leitao |
|---|---|---|---|
| 1/15 | |||
| 2/15 | |||
| 3/15 | T-b | ||
| 4/15 | |||
| 5/15 | |||
| 6/15 | |||
| 7/15 | T-b T-b | R-b | |
| 8/15 | |||
| 9/15 | |||
| 10/15 | |||
| 11/15 | |||
| 12/15 | |||
| 13/15 | T-b | ||
| 14/15 | T-b | ||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/15] sched: EEVDF and latency-nice and/or slice-attr
Hi!
Latest version of the EEVDF [1] patches.
The only real change since last time is the fix for tick-preemption [2], and a simple safe-guard for the mixed slice heuristic.
Other than that, I've re-arranged the patches to make EEVDF come first and have the latency-nice or slice-attribute patches on top.
Results should not be different from last time around, lots of people ran them and found no major performance issues; what was found was better latency and smaller variance (probably due to the more stable latency).
I'm hoping we can start queueing this part.
The big question is what additional interface to expose; some people have voiced objections to the latency-nice interface, the 'obvious' alternative is to directly expose the slice length as a request/hint.
The very last patch implements this alternative using sched_attr::sched_runtime but is untested.
Diffstat for the base patches [1-11]:
include/linux/rbtree_augmented.h | 26 + include/linux/sched.h | 7 +- kernel/sched/core.c | 2 + kernel/sched/debug.c | 48 +- kernel/sched/fair.c | 1105 ++++++++++++++++++-------------------- kernel/sched/features.h | 24 +- kernel/sched/sched.h | 16 +- 7 files changed, 587 insertions(+), 641 deletions(-)
[2] https://lkml.kernel.org/r/20230420150537.GC4253%40hirez.programming.kicks-ass.net