Testing Memory Allocators on Real World Work Loads (2018)
ithare.com
ithare.com
They want to generate a workload that’s as realistic as possible, but without spending a lot of CPU time on the actual application, in order to isolate the performance of the allocator. I’m not convinced that their simulated application is actually realistic, though. Why not just record the allocations performed by a real application, and replay them?
It’s also not clear if the application code can be entirely separated from the allocator, as they’ll battle over cache space. An allocator with lower peak performance but smaller code might work better in a real world situation, purely because it pushes less of the application code out of cache.
I cut my C/C++ teeth on CodeWarrior (and Think C), and vividly remember the incredibly detailed implementation comments in the CodeWarrior malloc headers. I learned a lot from that! It’s still one of my of go-to examples of great tech docs.
Anyway, if that was you, thank you!