“Local ('Arena') Memory Allocators (part 2 of 2)”
summary
Four targeted benchmarks compare the platform global allocator, tcmalloc/jemalloc, and local strategies (monotonic, multipool, composite) using real containers and node sizes; results show global allocators lose consistently, monotonic allocator often wins, and local allocators prevent massive slowdown from memory reordering: random diffusion (not fragmentation) causes 10–16× access-time degradation, local allocators cut that to about 2.5× in worst cases, and multipool overflows (e.g. >2KB) fall back to the global allocator and become slow. monotonic allocator and multipool strategies outperform for long-running and high-utilization scenarios.
AI-written summary · about
chapters (10)
- 0:00Introduction and roadmap
- 4:21Short running build up tear down
- 18:31Global allocators inferiority
- 19:14Long running access locality
- 39:43Diffusion and shuffling effects
- 47:01Takeaways for long running systems
- 50:17Utilization and multipool allocators
- 53:59Contention and allocator choice
- 57:31Fragmentability concept
- 1:00:46Final conclusions and summary
