Loose-Ordering Consistency for Persistent Memory

被引:0
|
作者
Lu, Youyou [1 ]
Shu, Jiwu [1 ,2 ]
Sun, Long [1 ]
Mutlu, Onur [3 ]
机构
[1] Tsinghua Univ, Dept Comp Sci & Technol, Beijing, Peoples R China
[2] Chinese Acad Sci, Inst Comp Technol, State Key Lab Comp Architecture, Beijing, Peoples R China
[3] Carnegie Mellon Univ, Comp Architecture Lab, Pittsburgh, PA 15213 USA
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Emerging non-volatile memory (NVM) technologies enable data persistence at the main memory level at access speeds close to DRAM. In such persistent memories, memory writes need to be performed in strict order to satisfy storage consistency requirements and enable correct recovery from system crashes. Unfortunately, adhering to a strict order for writes to persistent memory significantly degrades system performance as it requires flushing dirty data blocks from CPU caches and waiting for their completion at the main memory in the order specified by the program. This paper introduces a new mechanism, called Loose-Ordering Consistency (LOC), that satisfies the ordering requirements of persistent memory writes at significantly lower performance degradation than state-of-the-art mechanisms. LOC consists of two key techniques. First, Eager Commit reduces the commit overhead for writes within a transaction by eliminating the need to perform a persistent commit record write at the end of a transaction. We do so by ensuring that we can determine the status of all committed transactions during recovery by storing necessary metadata information statically with blocks of data written to memory. Second, Speculative Persistence relaxes the ordering of writes between transactions by allowing writes to be speculatively written to persistent memory. A speculative write is made visible to software only after its associated transaction commits. To enable this, our mechanism requires the tracking of committed transaction ID and support for multi-versioning in the CPU cache. Our evaluations show that LOC reduces the average performance overhead of strict write ordering from 66.9% to 34.9% on a variety of workloads.
引用
收藏
页码:209 / 216
页数:8
相关论文
共 50 条
  • [1] Efficient Monitoring of Loose-Ordering Properties for SystemC/TLM
    Romenska, Yuliia
    Maraninchi, Florence
    [J]. PROCEEDINGS OF THE 2016 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2016, : 559 - 562
  • [2] Scalable Crash Consistency for Secure Persistent Memory
    Zhang, Ming
    Hua, Yu
    Li, Xuan
    Xu, Hao
    [J]. PROCEEDINGS OF THE 59TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, DAC 2022, 2022, : 817 - 822
  • [3] A Consistency Mechanism for Distributed Persistent Memory File System
    Chen B.
    Lu Y.
    Cai T.
    Chen Y.
    Tu Y.
    Shu J.
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2020, 57 (03): : 660 - 667
  • [4] Cache-Coherent Accelerators for Persistent Memory Crash Consistency
    Bhardwaj, Ankit
    Thornley, Todd
    Pawar, Vinita
    Achermann, Reto
    Zellweger, Gerd
    Stutsman, Ryan
    [J]. PROCEEDINGS OF THE 2022 14TH ACM WORKSHOP ON HOT TOPICS IN STORAGE AND FILE SYSTEMS, HOTSTORAGE 2022, 2022, : 37 - 44
  • [5] Accelerate Hardware Logging for Efficient Crash Consistency in Persistent Memory
    Lu, Zhiyuan
    Yue, Jianhui
    Deng, Yifu
    Zhu, Yifeng
    [J]. PROCEEDINGS OF THE 2022 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2022), 2022, : 388 - 393
  • [6] Vorpal: Vector Clock Ordering For Large Persistent Memory Systems
    Korgaonkar, Kunal
    Izraelevitz, Joseph
    Zhao, Jishen
    Swanson, Steven
    [J]. PROCEEDINGS OF THE 2019 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING (PODC '19), 2019, : 435 - 444
  • [7] PMA: A Persistent Memory Allocator with High Efficiency and Crash Consistency Guarantee
    Xiang, Xiangyu
    Hua, Yu
    Xu, Hao
    [J]. 2023 IEEE 41ST INTERNATIONAL CONFERENCE ON COMPUTER DESIGN, ICCD, 2023, : 182 - 189
  • [8] 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
    [J]. PROCEEDINGS OF THE 28TH ACM INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, VOL 2, ASPLOS 2023, 2023, : 762 - 777
  • [9] Efficient Hardware-Assisted Crash Consistency in Encrypted Persistent Memory
    Zhang, Chan
    Yue, Jianhui
    Liao, Xiaofei
    Jin, Hai
    [J]. PROCEEDINGS OF THE 2020 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2020), 2020, : 750 - 755
  • [10] Optimizing the Performance of Consistency-Aware Deduplication Using Persistent Memory
    Song, Chunlin
    Chen, Xianzhang
    Liu, Duo
    Li, Jiali
    Tan, Yujuan
    Ren, Ao
    [J]. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2023, : 1 - 1