~/talk

Local (Arena) Allocators Part II

Talkat Meeting C++ 2017 · 2017-11-09..11-11· [web-performance]
slides:none on file

Claim: replacing a single global allocator with per-subsystem local allocators often cuts runtime by factors of 3–20, sometimes an order-of-magnitude speed improvement. Experiments use four benchmarks (single-threaded time-multiplexed and short/long-running pumps), powers-of-two sizes up to 2^45, and show monotonic and multi-pool+monotonic strategies outperform global new/delete; a pass-through threshold at 2^12 (2048) causes failures for naive monotonic use. Memory diffusion (not classic fragmentation) destroys cache locality; using local arenas consistently restores locality and reduces degradation. monotonic allocator wins for bulk build/teardown; fragmentation becomes diffusion.

AI-written summary · about

  1. 0:00Context and clarifications
  2. 1:31Benchmark introduction
  3. 2:00Experimental methodology
  4. 4:20Hardware and environment
  5. 6:45Short-lived benchmarks
  6. 11:53Visualizing the data
  7. 15:07Node-based container tests
  8. 17:36Composite data structures
  9. 22:27Allocator strategy results
  10. 26:13Long-running system model
  11. 33:49Understanding diffusion
  12. 38:27Degradation and heat maps
  13. 42:57Local arena impact
  14. 47:47Performance takeaways
  15. 50:27Short-running benchmarks
  16. 53:43Contention benchmarks
  17. 56:21False sharing
  18. 58:15Experimental validation
  19. 1:00:04Fragment ability metric
  20. 1:01:53Conclusions and future
~/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.