Steal but No Force: Efficient Hardware Undo plus Redo Logging for Persistent Memory Systems

被引:47
|
作者
Ogleari, Matheus Almeida [1 ]
Miller, Ethan L. [1 ,2 ]
Zhao, Jishen [1 ,3 ]
机构
[1] Univ Calif Santa Cruz, Santa Cruz, CA 95064 USA
[2] Pure Storage, Mountain View, CA USA
[3] Univ Calif San Diego, San Diego, CA 92103 USA
基金
美国国家科学基金会;
关键词
PHASE-CHANGE MEMORY;
D O I
10.1109/HPCA.2018.00037
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Persistent memory is a new tier of memory that functions as a hybrid of traditional storage systems and main memory. It combines the benefits of both: the data persistence of storage with the fast load/store interface of memory. Most previous persistent memory designs place careful control over the order of writes arriving at persistent memory. This can prevent caches and memory controllers from optimizing system performance through write coalescing and reordering. We identify that such write-order control can be relaxed by employing undo+redo logging for data in persistent memory systems. However, traditional software logging mechanisms are expensive to adopt in persistent memory due to performance and energy overheads. Previously proposed hardware logging schemes are inefficient and do not fully address the issues in software. To address these challenges, we propose a hardware undo+redo logging scheme which maintains data persistence by leveraging the write-back, write-allocate policies used in commodity caches. Furthermore, we develop a cache force-write-back mechanism in hardware to significantly reduce the performance and energy overheads from forcing data into persistent memory. Our evaluation across persistent memory microbenchmarks and real workloads demonstrates that our design significantly improves system throughput and reduces both dynamic energy and memory traffic. It also provides strong consistency guarantees compared to software approaches.
引用
下载
收藏
页码:336 / 349
页数:14
相关论文
共 26 条
  • [1] Empirical Study of Redo and Undo Logging in Persistent Memory
    Wan, Hu
    Lu, Youyou
    Xu, Yuanchao
    Shu, Jiwu
    2016 5TH NON-VOLATILE MEMORY SYSTEMS AND APPLICATIONS SYMPOSIUM (NVMSA), 2016,
  • [2] 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
  • [3] An Efficient Bucket Logging for Persistent Memory
    Xu, Xiyan
    Shu, Jiwu
    WEB AND BIG DATA, APWEB-WAIM 2021, PT I, 2021, 12858 : 149 - 163
  • [4] Efficient Hardware-assisted Logging with Asynchronous and Direct-Update for Persistent Memory
    Jeong, Jungi
    Park, Chang Hyun
    Huh, Jaehyuk
    Maeng, Seungryoul
    2018 51ST ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO), 2018, : 520 - 532
  • [5] Reconciling Selective Logging and Hardware Persistent Memory Transaction
    Ye, Chencheng
    Xu, Yuanchao
    Shen, Xipeng
    Sha, Yan
    Liao, Xiaofei
    Jin, Hai
    Solihin, Yan
    2023 IEEE INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, HPCA, 2023, : 664 - 676
  • [6] Silo: Speculative Hardware Logging for Atomic Durability in Persistent Memory
    Zhang, Ming
    Hua, Yu
    2023 IEEE INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, HPCA, 2023, : 651 - 663
  • [7] CCHL: Compression-Consolidation Hardware Logging for Efficient Failure-Atomic Persistent Memory Updates
    Wei, Xueliang
    Feng, Dan
    Tong, Wei
    Liu, Jingning
    Wang, Chengning
    Ye, Liuqing
    PROCEEDINGS OF THE 49TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, ICPP 2020, 2020,
  • [8] 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
  • [9] An efficient logging scheme for recoverable distributed shared memory systems
    Park, T
    Cho, S
    Yeom, HY
    PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, 1997, : 305 - 313
  • [10] Efficient and Atomic-Durable Persistent Memory through In-PM Hybrid Logging
    Dong, Nai-Jia
    Cheng, Hsiang-Yun
    Yang, Chia-Lin
    Lin, Bo-Rong
    Li, Hsiang-Pang
    2022 IEEE 11TH NON-VOLATILE MEMORY SYSTEMS AND APPLICATIONS SYMPOSIUM (NVMSA 2022), 2022, : 1 - 7