Conference | Get your ticket | Sponsoring | Sponsored Tickets | Set your timezone

Victor Ciura
Scheduled for 16:05
"Why should we be concerned with custom memory allocators?" - Most developers underestimate how much the physical location of allocated memory can make or break performance - even in code engineered for speed in all other aspects.
Just replacing the global allocator with another one is not always the best/only choice. Long-running processes can quietly grind down when they lean on a one-size-fits-all global allocator. In contrast, in many workloads, local specialized allocators are better suited - allocating memory for a well-defined subset of objects in the system (eg. arena, multi-pool, monotonic).
Let's analyze various allocation strategies using critical memory performance indicators such as: fragmentability, allocation density, diffusion, variation, utilization, locality, and contention.
Are we allocator-aware yet? What does it take to normalize allocator usage in our projects, so we can unlock these new found super-powers? Let's walk through some of these challenges.
Please login to comment