RFC sched/fair migration reduction features
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest2 patches 17 repliesIn review
- v1 RFC2 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sched/fair: Introduce UTIL_FITS_CAPACITY feature (v2)kernel/ kernel/ kernel/ | +45 | 10 replies | |
| 2/2 | sched/fair: Introduce SELECT_BIAS_PREV to reduce migrationskernel/ kernel/ | +32 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 0/2] sched/fair migration reduction features
Hi,
This series introduces two new scheduler features: UTIL_FITS_CAPACITY and SELECT_BIAS_PREV. When used together, they achieve a 41% speedup of a hackbench workload which leaves some idle CPU time on a 192-core AMD EPYC.
The main metrics which are significantly improved are:
- cpu-migrations are reduced by 80%,
- CPU utilization is increased by 17%.
Feedback is welcome. I am especially interested to learn whether this series has positive or detrimental effects on performance of other workloads.
The main changes since v1 are to take into account feedback from Chen Yu and keep a 20% margin of unused utilization in the capacity fit, and use scale_rt_capacity() which is more precise.
Thanks,
Mathieu
Mathieu Desnoyers (2):
sched/fair: Introduce UTIL_FITS_CAPACITY feature (v2) sched/fair: Introduce SELECT_BIAS_PREV to reduce migrations
kernel/sched/fair.c | 68 ++++++++++++++++++++++++++++++++++++----- kernel/sched/features.h | 12 ++++++++ kernel/sched/sched.h | 5 +++ 3 files changed, 77 insertions(+), 8 deletions(-)
Signature · 1 line
2.39.2