sched: Improve cache locality of RSEQ concurrency IDs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/21 patch 2 repliesIn review
- v2 posting 1/21 patch 5 repliesSuperseded
- v1 RFC1 patch 0 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | sched: Improve cache locality of RSEQ concurrency IDs for intermittent workloadsfs/ include/ kernel/ +2 more | +111 | 2 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Marco Elver |
|---|---|
| 1/1 | A-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/1] sched: Improve cache locality of RSEQ concurrency IDs
Intermittent workloads behaving in bursts spaced by more than 100ms on each CPU exhibit bad cache locality and degraded performance compared to purely per-cpu data indexing, because concurrency IDs are allocated over various CPUs and cores, therefore losing cache locality of the associated data.
This series addresses this shortcoming. I observed speedups up to 16.7x compared to plain mm_cid indexing in benchmarks.
It is based on tag v6.11.1.
This deprecates the prior "sched: NUMA-aware per-memory-map concurrency IDs" patch series with a simpler and more general approach.
Peter, can you pick it up through the tip tree ?
Thanks,
Mathieu
Mathieu Desnoyers (1):
sched: Improve cache locality of RSEQ concurrency IDs for intermittent
workloads
fs/exec.c | 2 +- include/linux/mm_types.h | 72 +++++++++++++++++++++++++++++++++++----- kernel/fork.c | 2 +- kernel/sched/core.c | 22 +++++++----- kernel/sched/sched.h | 47 ++++++++++++++++++-------- 5 files changed, 111 insertions(+), 34 deletions(-)
Signature · 1 line
2.39.2