Fast, multicore-scalable, low-fragmentation memory allocation through large virtual memory and global data structures
Fast, multicore-scalable, low-fragmentation memory allocation through large virtual memory and global data structures
复制标题
通过大型虚拟内存和全局数据结构进行快速、多核可扩展、低碎片内存分配
DOI:
10.1145/2814270.2814294
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
A. Sokolova
中科院分区:
文献类型:
--
作者:
M. Aigner;C. Kirsch;Michael Lippautz;A. Sokolova
We demonstrate that general-purpose memory allocation involving many threads on many cores can be done with high performance, multicore scalability, and low memory consumption. For this purpose, we have designed and implemented scalloc, a concurrent allocator that generally performs and scales in our experiments better than other allocators while using less memory, and is still competitive otherwise. The main ideas behind the design of scalloc are: uniform treatment of small and big objects through so-called virtual spans, efficiently and effectively reclaiming free memory through fast and scalable global data structures, and constant-time (modulo synchronization) allocation and deallocation operations that trade off memory reuse and spatial locality without being subject to false sharing.