PMA: A Persistent Memory Allocator with High Efficiency and Crash Consistency Guarantee

被引:0
|
作者
Xiang, Xiangyu [1 ]
Hua, Yu [1 ]
Xu, Hao [1 ]
机构
[1] Huazhong Univ Sci & Technol, WNLO, Wuhan, Hubei, Peoples R China
来源
2023 IEEE 41ST INTERNATIONAL CONFERENCE ON COMPUTER DESIGN, ICCD | 2023年
基金
中国国家自然科学基金;
关键词
Persistent Memory; Memory Management; Memory Allocator; Crash Consistency;
D O I
10.1109/ICCD58817.2023.00036
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Byte-addressable persistent memory (PM) exhibits salient features of low latency and high capacity. PM can be memory-mapped to the virtual address space of a process and be directly accessed via load and store instructions. Persistent memory allocator is a fundamental building block in PM-oriented programs, which provides dynamic memory allocation/deallocation primitives for developers to efficiently and safely leverage the PM. Different from DRAM allocators, a PM allocator needs to guarantee the integrity and consistency of metadata in the face of a crash. To this end, we propose a high-efficiency PM allocator, called PMA, with crash consistency guarantee. PMA uses a two-level memory management strategy and sets up a private memory pool for each thread to achieve low fragmentation and high concurrency. Furthermore, PMA employs per-thread write-ahead undo log to protect the integrity and consistency of metadata against crashes. PMA also designs a lightweight persistent pointer to reference an allocated persistent memory object across runtimes. PMA is implemented as an easy-to-use library that is independent of specific PM platforms. Extensive evaluation results on a real PM platform demonstrate the efficiency and efficacy of our proposed PMA, compared with state-of-the-art log-based PM allocators.
引用
收藏
页码:182 / 189
页数:8
相关论文
共 50 条
  • [1] Scalable Crash Consistency for Secure Persistent Memory
    Zhang, Ming
    Hua, Yu
    Li, Xuan
    Xu, Hao
    PROCEEDINGS OF THE 59TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, DAC 2022, 2022, : 817 - 822
  • [2] High Efficiency General Memory Allocator
    Zhang, Wen-zhe
    Lu, Kai
    Wang, Xiao-ping
    COMPUTER SCIENCE AND TECHNOLOGY (CST2016), 2017, : 91 - 96
  • [3] Delaying Crash Consistency for Building A High-Performance Persistent Memory File System
    Pan, Yanqi
    Huang, Hao
    Zhang, Yifeng
    Xia, Wen
    Zou, Xiangyu
    Deng, Cai
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2024, 43 (09) : 2620 - 2634
  • [4] Accelerate Hardware Logging for Efficient Crash Consistency in Persistent Memory
    Lu, Zhiyuan
    Yue, Jianhui
    Deng, Yifu
    Zhu, Yifeng
    PROCEEDINGS OF THE 2022 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2022), 2022, : 388 - 393
  • [5] Cache-Coherent Accelerators for Persistent Memory Crash Consistency
    Bhardwaj, Ankit
    Thornley, Todd
    Pawar, Vinita
    Achermann, Reto
    Zellweger, Gerd
    Stutsman, Ryan
    PROCEEDINGS OF THE 2022 14TH ACM WORKSHOP ON HOT TOPICS IN STORAGE AND FILE SYSTEMS, HOTSTORAGE 2022, 2022, : 37 - 44
  • [6] Efficient Hardware-Assisted Crash Consistency in Encrypted Persistent Memory
    Zhang, Chan
    Yue, Jianhui
    Liao, Xiaofei
    Jin, Hai
    PROCEEDINGS OF THE 2020 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2020), 2020, : 750 - 755
  • [7] SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory
    Ye, Chencheng
    Xu, Yuanchao
    Shen, Xipeng
    Sha, Yan
    Liao, Xiaofei
    Jin, Hai
    Solihin, Yan
    PROCEEDINGS OF THE 28TH ACM INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, VOL 2, ASPLOS 2023, 2023, : 762 - 777
  • [8] Chipmunk: Investigating Crash-Consistency in Persistent-Memory File Systems
    LeBlanc, Hayley
    Pailoor, Shankara
    Om, Saran K. R. E.
    Dillig, Isil
    Bornholt, James
    Chidambaram, Vijay
    PROCEEDINGS OF THE EIGHTEENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS, EUROSYS 2023, 2023, : 718 - 733
  • [9] Bonsai Merkle Forests: Efficiently Achieving Crash Consistency in Secure Persistent Memory
    Freij, Alexander
    Zhou, Huiyang
    Solihin, Yan
    PROCEEDINGS OF 54TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2021, 2021, : 1227 - 1240
  • [10] ThyNVM: Enabling Software-Transparent Crash Consistency in Persistent Memory Systems
    Ren, Jinglei
    Zhao, Jishen
    Khan, Samira
    Choi, Jongmoo
    Wu, Yongwei
    Mutlu, Onur
    PROCEEDINGS OF THE 48TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO-48), 2015, : 672 - 685