High Performance Memory Allocator for Multithreaded Applications

Ma Mingli,Chen Gang
DOI: https://doi.org/10.3321/j.issn:1671-4598.2006.11.041
2006-01-01
Abstract:This paper introduces the design and implementation of N IXMalloc, a new high-performance memory allocator based on two efficient allocat ion policies and their self-optimizing techniques, and it effectively improves t he performance of memory management in multithreaded applications.The Local allo cation policy makes Span be local thread super block object. And the garbage col lection and memory adjustment based on Span improves the performance of memory a llocation. The Global allocation policy adopts self-optimizing techniques. Dynam ic adjustment of memory prefetch and thread max cache quantity is performed base d on the memory usage of application. The benchmark show NIXMalloc can improve m emory operation performance and enhance overall throughput of common multithread ed applications with little memory consumption. Especially it will achieve signi ficant time/space efficiency in multithreaded applications.
What problem does this paper attempt to address?