ASAP: architecture support for asynchronous persistence
Ahmed H. M. O. Abulila, Izzat El Hajj, Myoungsoo Jung, Nam Sung Kim
摘要
Supporting atomic durability of updates for persistent memories is typically achieved with Write-Ahead Logging (WAL). WAL flushes log entries to persistent memory before making the actual data persistent to ensure that a consistent state can be recovered if a crash occurs. Performing WAL in hardware is attractive because it makes most aspects of log management transparent to software, and it completes log persist operations (LPOs) and data persist operations (DPOs) in the background, overlapping them with the execution of other instructions.
Prior hardware logging solutions commit atomic regions synchronously. That is, once the end of a region is reached, all outstanding persist operations required for the region to commit must complete before instruction execution may proceed. For undo logging, LPOs and DPOs are both performed synchronously to ensure that the region commits synchronously. For redo logging, DPOs can be performed asynchronously, but LPOs are performed synchronously to ensure that the region commits synchronously. In both cases, waiting for synchronous persist operations (LPO or DPO) at the end of an atomic region causes atomic regions to incur high latency.
To tackle this limitation, we propose ASAP, a hardware logging solution that allows atomic regions to commit asynchronously. That is, once the end of an atomic region is reached, instruction execution may proceed without waiting for outstanding persist operations to complete. As such, both LPOs and DPOs can be performed asynchronously. The challenge with allowing atomic regions to commit asynchronously is that it can lead to control and data dependence violations in the commit order of the atomic regions, leaving data in an unrecoverable state in case of a crash. To address this issue, ASAP tracks and enforces control and data dependencies between atomic regions in hardware to ensure that the regions commit in the proper order.
Our evaluation shows that ASAP outperforms the state-of-theart hardware undo and redo logging techniques by 1.41× and 1.53×, respectively, while achieving 0.96× the ideal performance when no persistence is enforced, at a small hardware cost (< 3%). ASAP also reduces memory traffic to persistent memory by 38% and 48%, * Ahmed Abulila is currently affiliated with Microsoft Corporation.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LightWSP: Whole-System Persistence on the Cheap 引用了 Relaxed Persist Ordering Using Strand Persistency
- LightWSP: Whole-System Persistence on the Cheap 引用了 Persistent Processor Architecture
- LightWSP: Whole-System Persistence on the Cheap 引用了 HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
- LightWSP: Whole-System Persistence on the Cheap 引用了 Unbounded Hardware Transactional Memory for a Hybrid DRAM/NVM Memory System
- LightWSP: Whole-System Persistence on the Cheap 引用了 SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory
- LightWSP: Whole-System Persistence on the Cheap 引用了 BBB: Simplifying Persistent Programming using Battery-Backed Buffers
- Rethinking Dead Block Prediction for Intermittent Computing 引用了 LightWSP: Whole-System Persistence on the Cheap
- Rethinking Dead Block Prediction for Intermittent Computing 引用了 Persistent Processor Architecture
- Rethinking Dead Block Prediction for Intermittent Computing 引用了 BBB: Simplifying Persistent Programming using Battery-Backed Buffers
- Persistent Processor Architecture 引用了 HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
- Persistent Processor Architecture 引用了 Unbounded Hardware Transactional Memory for a Hybrid DRAM/NVM Memory System
- Persistent Processor Architecture 引用了 SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory
- Persistent Processor Architecture 引用了 BBB: Simplifying Persistent Programming using Battery-Backed Buffers
- Silo: Speculative Hardware Logging for Atomic Durability in Persistent Memory 引用了 HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
- Silo: Speculative Hardware Logging for Atomic Durability in Persistent Memory 引用了 MorLog: Morphable Hardware Logging for Atomic Persistence in Non-Volatile Main Memory
- Silo: Speculative Hardware Logging for Atomic Durability in Persistent Memory 引用了 BBB: Simplifying Persistent Programming using Battery-Backed Buffers
- SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory 引用了 HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
- SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory 引用了 Unbounded Hardware Transactional Memory for a Hybrid DRAM/NVM Memory System
- SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory 引用了 BBB: Simplifying Persistent Programming using Battery-Backed Buffers
引用它的顶会 Paper5
- SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent MemoryChencheng Ye, Yuanchao Xu, Xipeng Shen, Yan Sha 等ASPLOS 2023 · 13 次引用
- Persistent Processor ArchitectureJianping Zeng, Jungi Jeong, Changhee JungMICRO 2023 · 12 次引用
- LightWSP: Whole-System Persistence on the CheapYuchen Zhou, Jianping Zeng, Changhee JungMICRO 2024 · 8 次引用
- Silo: Speculative Hardware Logging for Atomic Durability in Persistent MemoryMing Zhang, Yu HuaHPCA 2023 · 8 次引用
- Rethinking Dead Block Prediction for Intermittent ComputingGan Fang, Changhee JungHPCA 2025 · 6 次引用
它引用的 Paper6
- BBB: Simplifying Persistent Programming using Battery-Backed BuffersMohammad A. Alshboul, Prakash Ramrakhyani, William Wang, James Tuck 等HPCA 2021 · 34 次引用
- HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile MemoryMiao Cai, Chance C. Coats, Jian HuangISCA 2020 · 33 次引用
- Unbounded Hardware Transactional Memory for a Hybrid DRAM/NVM Memory SystemJungi Jeong, Jaewan Hong, Seungryoul Maeng, Changhee Jung 等MICRO 2020 · 29 次引用
- Relaxed Persist Ordering Using Strand PersistencyVaibhav Gogte, William Wang, Stephan Diestelhorst, Peter M. Chen 等ISCA 2020 · 23 次引用
- MorLog: Morphable Hardware Logging for Atomic Persistence in Non-Volatile Main MemoryXueliang Wei, Dan Feng, Wei Tong, Jingning Liu 等ISCA 2020 · 23 次引用
相关 Paper
- ASAP: A Speculative Approach to PersistenceSujay Yadalam, Nisarg Shah, Xiangyao Yu, Michael M. SwiftHPCA 2022 · 17 次引用
- Reconciling Selective Logging and Hardware Persistent Memory TransactionChencheng Ye, Yuanchao Xu, Xipeng Shen, Yan Sha 等HPCA 2023 · 4 次引用
- Crafty: efficient, HTM-compatible persistent transactionsKaan Genç, Michael D. Bond, Guoqing Harry XuPLDI 2020 · 31 次引用
- Hardware Support for Durable Atomic Instructions for Persistent Parallel ProgrammingKhan Shaikhul Hadi, Naveed Ul Mustafa, Mark Heinrich, Yan SolihinDAC 2023 · 2 次引用
- COSPlay: Leveraging Task-Level Parallelism for High-Throughput Synchronous PersistenceMarina Vemmou, Alexandros DaglisMICRO 2021 · 1 次引用
