Fast, multicore-scalable, low-fragmentation memory allocation through large virtual memory and global data structures
Authors:
Open Access
- 23 October 2015
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 451-469
Abstract
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.Keywords
All Related Versions
Funding Information
- Google PhD Fellowship
- Austrian Science Fund (S11404-N23, S11411-N23)
This publication has 20 references indexed in Scilit:
- SuperMalloc: a super fast multithreaded malloc for 64-bit machines2015
- A Scalable, Correct Time-Stamped StackACM SIGPLAN Notices, 2015
- RadixVM2013
- Quantitative relaxation of concurrent data structures2013
- A methodology for creating fast wait-free data structures2012
- SPEC CPU2006 benchmark descriptionsACM SIGARCH Computer Architecture News, 2006
- Scalable lock-free dynamic memory allocation2004
- Hazard pointers: safe memory reclamation for lock-free objectsIEEE Transactions on Parallel and Distributed Systems, 2004
- Reconsidering custom memory allocation2002
- HoardACM SIGOPS Operating Systems Review, 2000