RFC sched: Skip queued wakeups only when L2 is shared
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 RFC Latest3 patches 13 repliesIn review
- v1 RFC3 patches 2 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sched: Rename cpus_share_cache to cpus_share_llcblock/ include/ kernel/ +2 more | +10 | 0 replies | |
| 2/3 | sched: Introduce cpus_share_l2cinclude/ kernel/ kernel/ +1 more | +45 | 11 replies | |
| 3/3 | sched: ttwu_queue_cond: skip queued wakeups across different l2 cacheskernel/ | +2 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Swapnil Sapkal |
|---|---|
| Series | T-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH v3 0/3] sched: Skip queued wakeups only when L2 is shared
This series improves performance of scheduler wakeups on large systems by skipping queued wakeups only when CPUs share their L2 cache, rather than when they share their LLC.
The speedup mainly reproduces on workloads which have at least *some* idle time (because it significantly increases the number of migrations, and thus remote wakeups), *and* it needs to have a sufficient load to cause contention on the runqueue locks.
Feedback is welcome,
Thanks,
Mathieu
Mathieu Desnoyers (3):
sched: Rename cpus_share_cache to cpus_share_llc
sched: Introduce cpus_share_l2c (v3)
sched: ttwu_queue_cond: skip queued wakeups across different l2 caches
block/blk-mq.c | 2 +- include/linux/sched/topology.h | 10 ++++++++-- kernel/sched/core.c | 14 +++++++++++--- kernel/sched/fair.c | 8 ++++---- kernel/sched/sched.h | 2 ++ kernel/sched/topology.c | 32 +++++++++++++++++++++++++++++--- 6 files changed, 55 insertions(+), 13 deletions(-)
Signature · 1 line
2.39.2