~/talk

Instruction Level Parallelism and Software Performance

Talkat Meeting C++ 2025 · 2025-11-06..11-08· [web-performance]
links:none on file
slides:none on file

Claims that instruction dependencies, not CPU silicon, limit performance and that loads cost three cycles while adds cost one cycle are demonstrated with concrete loops: a simple A[i]+B[i] loop needs about seven cycles with unlimited resources, a reduction costs ~n3 cycles, and a pointer-chasing linked list falls to ~seven-cycle chains per node. Concrete fixes include interleaving dependency chains, loop unrolling (measured ~15% win for a manual unroll), loop pipelining, and arrayizing trees (pointer vs array example gives ~20–30s vs ~80s). Measurement tools: LVMCA* and Intel top-down microarchitecture analysis.

AI-written summary · about

  1. 0:00Instruction level parallelism intro
  2. 1:25CPU instruction execution
  3. 3:37Dependency chains limit perf
  4. 6:24Measuring parallelism in loops
  5. 8:52Dependency chains in reductions
  6. 10:59Pointer chasing in linked lists
  7. 14:32Dependencies vs compiler optimizations
  8. 16:59Latency vs throughput in CPU
  9. 19:07Techniques to increase instruction level parallelism
  10. 24:24Interleaving dependency chains
  11. 29:43Challenges of interleaving
  12. 30:45Shortening dependency chains
  13. 35:00Optimizing binary trees & lists
  14. 37:07Reducing dependency passes
  15. 38:12Breaking data structure chains
  16. 40:40Out-of-order processors & deps
  17. 44:55Loop unrolling for in-order CPUs
  18. 46:41Tools for ILP analysis
  19. 55:33LLVM MCA for performance
  20. 1:00:54Best practices & future workshops
~/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.