Lune

HPCA2022Top-tier venue

ASAP: A Speculative Approach to Persistence

Sujay Yadalam, Nisarg Shah, Xiangyao Yu, Michael M. Swift

Abstract

Persistent memory enables a new class of applications that have persistent in-memory data structures. Recoverability of these applications imposes constraints on the ordering of writes to persistent memory. But, the cache hierarchy and memory controllers in modern systems may reorder writes to persistent memory. Therefore, programmers have to use expensive flush and fence instructions that stall the processor to enforce such ordering. While prior efforts circumvent stalling on long latency flush instructions, these designs under-perform in large-scale systems with many cores and multiple memory controllers.

We propose ASAP, an architectural model in which the hardware takes an optimistic approach by persisting data eagerly, thereby avoiding any ordering stalls and utilizing the total system bandwidth efficiently. ASAP avoids stalling by allowing writes to be persisted out-of-order, speculating that all writes will eventually be persisted. For correctness, ASAP saves recovery information in the memory controllers which is used to undo the effects of speculative writes to memory in the event of a crash.

Over a large number of representative workloads, ASAP improves performance over current Intel systems by 2.3× on average and performs within 3.9% of an ideal system.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LightWSP: Whole-System Persistence on the Cheap cites Write-Light Cache for Energy Harvesting Systems
  • LightWSP: Whole-System Persistence on the Cheap cites Persistent Processor Architecture
  • LightWSP: Whole-System Persistence on the Cheap cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • LightWSP: Whole-System Persistence on the Cheap cites Compiler-Directed Whole-System Persistence
  • LightWSP: Whole-System Persistence on the Cheap cites Characterizing and Modeling Non-Volatile Memory Systems
  • LightWSP: Whole-System Persistence on the Cheap cites SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory
  • Persistent Processor Architecture cites Write-Light Cache for Energy Harvesting Systems
  • Persistent Processor Architecture cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Persistent Processor Architecture cites MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • Persistent Processor Architecture cites Characterizing and Modeling Non-Volatile Memory Systems
  • Persistent Processor Architecture cites SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory
  • Compiler-Directed Whole-System Persistence cites Write-Light Cache for Energy Harvesting Systems
  • Compiler-Directed Whole-System Persistence cites Persistent Processor Architecture
  • Compiler-Directed Whole-System Persistence cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Characterizing and Modeling Non-Volatile Memory Systems cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Characterizing and Modeling Non-Volatile Memory Systems cites MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory cites Pronto: Easy and Fast Persistence for Volatile Data Structures
  • SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory cites MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory cites Characterizing and Modeling Non-Volatile Memory Systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Write-Light Cache for Energy Harvesting SystemsJongouk Choi, Jianping Zeng, Dongyoon Lee, Changwoo Min et al.ISCA 2023 · 24 citations
  2. Compiler-Directed Whole-System PersistenceJianping Zeng, Tong Zhang, Changhee JungISCA 2024 · 13 citations
  3. SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent MemoryChencheng Ye, Yuanchao Xu, Xipeng Shen, Yan Sha et al.ASPLOS 2023 · 13 citations
  4. Persistent Processor ArchitectureJianping Zeng, Jungi Jeong, Changhee JungMICRO 2023 · 12 citations
  5. LightWSP: Whole-System Persistence on the CheapYuchen Zhou, Jianping Zeng, Changhee JungMICRO 2024 · 8 citations

Builds on14

  1. An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz et al.FAST 2020 · 470 citations
  2. Characterizing and Modeling Non-Volatile Memory SystemsZixuan Wang, Xiao Liu, Jian Yang, Theodore Michailidis et al.MICRO 2020 · 88 citations
  3. Persistency semantics of the Intel-x86 architectureAzalea Raad, John Wickerson, Gil Neiger, Viktor VafeiadisPOPL 2020 · 61 citations
  4. Pronto: Easy and Fast Persistence for Volatile Data StructuresAmir Saman Memaripour, Joseph Izraelevitz, Steven SwansonASPLOS 2020 · 55 citations
  5. MOD: Minimally Ordered Durable Datastructures for Persistent MemorySwapnil Haria, Mark D. Hill, Michael M. SwiftASPLOS 2020 · 47 citations

Related papers

  1. Dolos: Improving the Performance of Persistent Applications in ADR-Supported Secure MemoryXijing Han, James Tuck, Amro AwadMICRO 2021 · 7 citations
  2. PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)Jungi Jeong, Changhee JungASPLOS 2021 · 30 citations
  3. COSPlay: Leveraging Task-Level Parallelism for High-Throughput Synchronous PersistenceMarina Vemmou, Alexandros DaglisMICRO 2021 · 1 citation
  4. ASAP: architecture support for asynchronous persistenceAhmed H. M. O. Abulila, Izzat El Hajj, Myoungsoo Jung, Nam Sung KimISCA 2022 · 10 citations
  5. (Almost) Fence-less Persist OrderingSara Mahdizadeh-Shahri, Seyed Armin Vakil-Ghahani, Aasheesh KolliMICRO 2020 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines