~/talk

Profiling data structures

slides:none on file

Combines hardware sampling and type-aware layout introspection to find false sharing and hot fields: uses perf record -a mem-loads with PEBS/C2C load-latency sampling (often filtering >30 cycles) and maps offsets back with pahole + BTF to identify cache-line offsets; demonstrates fixes that work (cacheline_align or member reordering moved parent/usage to different lines, improving counters and page-stats), and prototypes kernel-side BPF aggregation to scale analysis and auto-suggest layout changes.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:05Data structures and cache efficiency
  3. 2:34Hardware support for optimization
  4. 4:43False sharing and cache line issues
  5. 9:17Introducing perf c2c
  6. 13:16Hardware tracing tools
  7. 15:27Perf load latency and c2c
  8. 22:13Perf workflow and data analysis
  9. 27:17Automating data structure analysis
  10. 33:08Compiler and tool limitations
  11. 35:23BPF and perf integration
  12. 36:48Future of data structure annotation
  13. 37:32Q&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.