PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
Jungi Jeong, Changhee Jung
Abstract
Persistency models define the persist-order that controls the order in which stores update persistent memory (PM). As with memory consistency, the relaxed persistency models provide better performance than the strict ones by relaxing the ordering constraints. To support such relaxed persistency models, previous studies resort to APIs for annotating the persist-order in program and hardware implementations for enforcing the programmer-specified order. However, these approaches to supporting relaxed persistency impose costly burdens on both architects and programmers. In light of this, the goal of this study is to demonstrate that the strict persistency model can outperform the relaxed models with significantly less hardware complexity and programming difficulty. To achieve that, this paper presents PMEM-Spec that speculatively allows any PM accesses without stalling or buffering, detecting their ordering violation (e.g., misspeculation for PM loads and stores). PMEM-Spec treats misspeculation as power failure and thus leverages failure-atomic transactions to recover from misspeculation by aborting and restarting them purposely. Since the ordering violation rarely occurs, PMEM-Spec can accelerate persistent memory accesses without significant misspeculation penalty. Experimental results show that PMEM-Spec outperforms two epoch-based persistency models with Intel X86 ISA and the state-of-the-art hardware support by 27.2% and 10.6%, respectively.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
its abstract · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Write-Light Cache for Energy Harvesting Systems cites Capri: Compiler and Architecture Support for Whole-System Persistence
- Write-Light Cache for Energy Harvesting Systems cites ReplayCache: Enabling Volatile Cachesfor Energy Harvesting Systems
- Capri: Compiler and Architecture Support for Whole-System Persistence cites Fast, flexible, and comprehensive bug detection for persistent memory programs
- Capri: Compiler and Architecture Support for Whole-System Persistence cites ReplayCache: Enabling Volatile Cachesfor Energy Harvesting Systems
- SweepCache: Intermittence-Aware Cache on the Cheap cites Write-Light Cache for Energy Harvesting Systems
- SweepCache: Intermittence-Aware Cache on the Cheap cites Capri: Compiler and Architecture Support for Whole-System Persistence
- SweepCache: Intermittence-Aware Cache on the Cheap cites ReplayCache: Enabling Volatile Cachesfor Energy Harvesting Systems
Cited by top-tier papers16
- Fast, flexible, and comprehensive bug detection for persistent memory programsBang Di, Jiawen Liu, Hao Chen, Dong LiASPLOS 2021 · 37 citations
- ReplayCache: Enabling Volatile Cachesfor Energy Harvesting SystemsJianping Zeng, Jongouk Choi, Xinwei Fu, Ajay Paddayuru Shreepathi et al.MICRO 2021 · 29 citations
- Write-Light Cache for Energy Harvesting SystemsJongouk Choi, Jianping Zeng, Dongyoon Lee, Changwoo Min et al.ISCA 2023 · 24 citations
- Capri: Compiler and Architecture Support for Whole-System PersistenceJungi Jeong, Jianping Zeng, Changhee JungHPDC 2022 · 21 citations
- SweepCache: Intermittence-Aware Cache on the CheapYuchen Zhou, Jianping Zeng, Jungi Jeong, Jongouk Choi et al.MICRO 2023 · 15 citations
Related papers
- ASAP: A Speculative Approach to PersistenceSujay Yadalam, Nisarg Shah, Xiangyao Yu, Michael M. SwiftHPCA 2022 · 17 citations
- Taming x86-TSO persistencyArtem Khyzha, Ori LahavPOPL 2021 · 26 citations
- (Almost) Fence-less Persist OrderingSara Mahdizadeh-Shahri, Seyed Armin Vakil-Ghahani, Aasheesh KolliMICRO 2020 · 15 citations
- Speculative Enforcement of Store AtomicityAlberto Ros, Stefanos KaxirasMICRO 2020 · 5 citations
- Scoped Buffered Persistency Model for GPUsShweta Pandey, Aditya K. Kamath, Arkaprava BasuASPLOS 2023 · 6 citations
