~/talk

Performance Optimization in Software Development - Being Friendly to Your Hardware

Talkat CppCon 2024 · on Sunday, 2024-09-15· [web-performance]
links:none on file
slides:none on file

Claim: real-world hardware limits matter — memory goodput sits around ~10% of theoretical, DDR capacitor speed barely improves across generations, and bank/rank/page geometry and address mapping change performance meaningfully. Demonstrations: micro‑vs‑real benchmarks, memcpy hot paths (including ClickHouse's tuned copy) and compiler/decoder tricks for instruction fusion. Practical tools: hardware performance counters (nonfree to enable) and platform microcode/rep movs. Conclusion: expect specific measurements, concrete numbers, and actionable layout or algorithm changes — not high‑level platitudes; branch predictor matters, measure on real topology.

AI-written summary · about

  1. 0:00Welcome
  2. 1:10C++ on hardware
  3. 3:41Dynamic memory basics
  4. 9:02Memory hierarchy limits
  5. 15:14Parallel memory access
  6. 20:56Modern processor core
  7. 27:13Code density myths
  8. 31:05Registers and out-of-order
  9. 36:05Speculative execution risks
  10. 36:46Branch prediction example
  11. 42:26Optimizing memcpy
  12. 47:44Hashing and loop unrolling
  13. 52:05Why optimization is hard
  14. 55:00Future instruction sets
  15. 57:46Q&A
~/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.