~/talk

Towards a Tool for Access-Affinity Based Structure Reordering in the Linux Kernel

links:none on file
slides:none on file

A prototype tool traces field-level loads/stores on struct rq, builds an access-affinity graph by counting temporal co‑access within a short sliding window, and uses hierarchical clustering to propose cache-line-aware reorderings. Data collection explores KVM/QEMU TCG traces, HDM hardware traces, HTM ideas and MemFriend; perf sampling is rejected as too lossy. Applied with a waitstressor benchmark, cache misses drop from 36.2B (13.9%) to 25.1B (9.4%) and idle_cpu() misses fall 6.40% → 3.11%.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Problem with scheduler stats
  3. 3:52Cache misses in structures
  4. 7:31Field reordering rules
  5. 9:39Existing reordering approaches
  6. 12:11Tool pipeline overview
  7. 15:01Data collection methods
  8. 18:33Access affinity graph
  9. 21:04Field clustering technique
  10. 23:11Results and improvements
  11. 27:54Future challenges and plans
  12. 31:27Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.