~/talk

Counting Nanoseconds Microbenchmarking C++ Code

Talkat Meeting C++ 2019 · 2019-11-14..11-16· [web-performance]
links:none on file
slides:none on file

Microbenchmarks measure real claims: a 10k-int min_element microbenchmark uses RDPMC and PAPI and LLVM‑tools to show a loop‑carried dependency collapses IPC and stalls pipelines. Using LLVM‑MCA to inspect microops and removing the dependency (value iteration / inlining / parallel minima) raises IPC from ~0.8 to about 3 and cuts cycles per iteration toward ~1.0. Perf and rdpmc demos run on tuned hardware (P‑states/C‑states/turbo off, HT off); the demos and numbers validate the fixes.

AI-written summary · about

  1. 0:00Introduction
  2. 0:16Why fast code matters
  3. 2:20What is microbenchmarking
  4. 5:52Why microbenchmarking
  5. 8:37Time
  6. 12:16Tools
  7. 17:43IPC vs Micro
  8. 28:13Example code
  9. 34:22Results
  10. 36:50Assembly
  11. 38:20LLVM MCA
  12. 49:20Microbenchmarking
  13. 50:10TSE
  14. 53:15Hypers straining
  15. 57:10Conclusion
~/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.