NUMAlloc: A Faster NUMA Memory Allocator

被引:1
|
作者
Yang, Hanmei [1 ]
Zhao, Xin [1 ]
Zhou, Jin [1 ]
Wang, Wei [2 ]
Kundu, Sandip [1 ]
Wu, Bo [3 ]
Guan, Hui [1 ]
Liu, Tongping [1 ]
机构
[1] Univ Massachusetts Amherst, Amherst, MA 01003 USA
[2] Univ Texas San Antonio, San Antonio, TX USA
[3] Colorado Sch Mines, Golden, CO 80401 USA
关键词
Memory Allocation; NUMA Architecture; MANAGEMENT;
D O I
10.1145/3591195.3595276
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The NUMA architecture accommodates the hardware trend of an increasing number of CPU cores. It requires the cooperation of memory allocators to achieve good performance for multithreaded applications. Unfortunately, existing allocators do not support NUMA architecture well. This paper presents a novel memory allocator - NUMAlloc, that is designed for the NUMA architecture. NUMAlloc is centered on a binding-based memory management. On top of it, NUMAlloc proposes an "origin-aware memory management" to ensure the locality of memory allocations and deallocations, as well as a method called "incremental sharing" to balance the performance benefits and memory overhead of using transparent huge pages. According to our extensive evaluation, NUMAlloc has the best performance among all evaluated allocators, running 15.7% faster than the second-best allocator (mimalloc), and 20.9% faster than the default Linux allocator with reasonable memory overhead. NUMAlloc is also scalable to 128 threads and is ready for deployment.
引用
收藏
页码:97 / 110
页数:14
相关论文
共 50 条
  • [41] DYNAMIC MEMORY ALLOCATOR ALGORITHMS SIMULATION AND PERFORMANCE ANALYSIS
    Karabiber, Fethullah
    Sertbas, Ahmet
    Zaim, A. Halim
    ISTANBUL UNIVERSITY-JOURNAL OF ELECTRICAL AND ELECTRONICS ENGINEERING, 2005, 5 (02): : 1435 - 1441
  • [42] An Interval Constrained Memory Allocator for the Givy GAS Runtime
    Gindraud, Francoise
    Rastello, Fabrice
    Cohen, Albert
    Broquedis, Francoise
    ACM SIGPLAN NOTICES, 2016, 51 (08) : 365 - 366
  • [43] Dynamic Memory Allocator for Sensor Operating System Design and Analysis
    Min, Hong
    Cho, Yoo-Kun
    Hong, Ji-Man
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2010, 26 (01) : 1 - 14
  • [44] Challenges of memory management: On modern numa systems
    Gaud, Fabien
    Lepers, Baptiste
    Funston, Justin
    Dashti, Mohammad
    Fedorova, Alexandra
    Quéma, Vivien
    Lachaize, Renaud
    Roth, Mark
    2015, Association for Computing Machinery (13): : 99 - 124
  • [45] Nap: Persistent Memory Indexes for NUMA Architectures
    Wang, Qing
    Lu, Youyou
    Li, Junru
    Xie, Minhui
    Shu, Jiwu
    ACM TRANSACTIONS ON STORAGE, 2022, 18 (01)
  • [46] SIMPLE BUT EFFECTIVE TECHNIQUES FOR NUMA MEMORY MANAGEMENT
    BOLOSKY, WJ
    FITZGERALD, RP
    SCOTT, ML
    OPERATING SYSTEMS REVIEW, VOL 23, NO 5, SPECIAL ISSUE: PROCEEDINGS OF THE TWELFTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, 1989, : 19 - 31
  • [47] NUMA Awareness: Improving Thread and Memory Management
    Patrou, Maria
    Kent, Kenneth B.
    Dueck, Gerhard W.
    Gracie, Charlie
    Micic, Aleksandar
    44TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2018), 2018, : 119 - 123
  • [48] Challenges of Memory Management on Modern NUMA Systems
    Gaud, Fabien
    Lepers, Baptiste
    Funston, Justin
    Dashti, Mohammad
    Fedorova, Alexandra
    Quema, Vivien
    Lachaize, Renaud
    Roth, Mark
    COMMUNICATIONS OF THE ACM, 2015, 58 (12) : 59 - 66
  • [49] A Review on Memory Allocators for NUMA Based RTOS
    Shah, Vatsalkumar
    Shah, Apurva
    INTERNATIONAL CONFERENCE ON INTELLIGENT DATA COMMUNICATION TECHNOLOGIES AND INTERNET OF THINGS, ICICI 2018, 2019, 26 : 668 - 675
  • [50] Hzmem: New Huge Page Allocator with Main Memory Compression
    Li, Guoxi
    Chen, Wenzhi
    Su, Kui
    Lu, Zhongyong
    Wang, Zonghui
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2017, 2017, 10393 : 51 - 64