Lune

USENIX ATC2023Top-tier venue

Zhuque: Failure is Not an Option, it's an Exception

George Hodgkins, Yi Xu, Steven Swanson, Joseph Izraelevitz

Abstract

Persistent memory (PMEM) allows direct access to fast storage at byte granularity. Previously, processor caches backed by persistent memory were not persistent, complicating the design of persistent applications and reducing their performance. A new generation of systems with flush-on-fail semantics effectively offer persistent caches, offering the potential for much simpler, faster PMEM programming models.

This work proposes Whole Process Persistence (WPP), a new programming model for systems with persistent caches. In the WPP model, all process state is made persistent. On restart after power failure, this state is reloaded and execution resumes in an application-defined interrupt handler.

We also describe the Zhuque runtime, which transparently provides WPP by interposing on the C bindings for system calls in userspace. It requires little or no programmer effort to run applications on Zhuque.

Our measurements show that Zhuque outperforms state of the art PMEM libraries, demonstrating mean speedups across all benchmarks of 5.24× over PMDK, 3.01× over Mnemosyne, 5.43× over Atlas, and 4.11× over Clobber-NVM. More important, unlike existing systems, Zhuque places no restrictions on how applications implement concurrency, allowing us to run a newer version of Memcached on Zhuque and gain more than 7.5× throughput over the fastest existing persistent implementations.

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.

3 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

  • Clobber-NVM: log less, re-execute more cites MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • Clobber-NVM: log less, re-execute more cites HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
  • Clobber-NVM: log less, re-execute more cites PMThreads: persistent memory threads harnessing versioned shadow copies
  • LightWSP: Whole-System Persistence on the Cheap cites Clobber-NVM: log less, re-execute more
  • LightWSP: Whole-System Persistence on the Cheap cites Persistent Processor Architecture
  • LightWSP: Whole-System Persistence on the Cheap cites HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
  • LightWSP: Whole-System Persistence on the Cheap cites PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
  • Persistent Processor Architecture cites Clobber-NVM: log less, re-execute more
  • Persistent Processor Architecture cites MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • Persistent Processor Architecture cites HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
  • Persistent Processor Architecture cites PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
  • TreeSLS: A Whole-system Persistent Microkernel with Tree-structured State Checkpoint on NVM cites PMThreads: persistent memory threads harnessing versioned shadow copies
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Persistent Processor ArchitectureJianping Zeng, Jungi Jeong, Changhee JungMICRO 2023 · 12 citations
  2. TreeSLS: A Whole-system Persistent Microkernel with Tree-structured State Checkpoint on NVMFangnuo Wu, Mingkai Dong, Gequan Mo, Haibo ChenSOSP 2023 · 10 citations
  3. LightWSP: Whole-System Persistence on the CheapYuchen Zhou, Jianping Zeng, Changhee JungMICRO 2024 · 8 citations

Builds on7

  1. MOD: Minimally Ordered Durable Datastructures for Persistent MemorySwapnil Haria, Mark D. Hill, Michael M. SwiftASPLOS 2020 · 47 citations
  2. HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile MemoryMiao Cai, Chance C. Coats, Jian HuangISCA 2020 · 33 citations
  3. Clobber-NVM: log less, re-execute moreYi Xu, Joseph Izraelevitz, Steven SwansonASPLOS 2021 · 30 citations
  4. PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)Jungi Jeong, Changhee JungASPLOS 2021 · 30 citations
  5. PMThreads: persistent memory threads harnessing versioned shadow copiesZhenwei Wu, Kai Lu, Andrew Nisbet, Wenzhe Zhang et al.PLDI 2020 · 29 citations

Related papers

  1. Puddles: Application-Independent Recovery and Location-Independent Data for Persistent MemorySuyash Mahar, Mingyao Shen, TJ Smith, Joseph Izraelevitz et al.EuroSys 2024 · 2 citations
  2. Jaaru: efficiently model checking persistent memory programsHamed Gorjiara, Guoqing Harry Xu, Brian DemskyASPLOS 2021 · 34 citations
  3. Redesigning High-Performance LSM-based Key-Value Stores with Persistent CPU CachesYijie Zhong, Zhirong Shen, Zixiang Yu, Jiwu ShuICDE 2023 · 8 citations
  4. Persistent State Machines for Recoverable In-memory Storage Systems with NVRamWen Zhang, Scott Shenker, Irene ZhangOSDI 2020 · 18 citations
  5. ASAP: A Speculative Approach to PersistenceSujay Yadalam, Nisarg Shah, Xiangyao Yu, Michael M. SwiftHPCA 2022 · 17 citations
Dusk over the sea between two cliffs drawn in fine vertical lines