Lune

USENIX ATC2023顶会

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

George Hodgkins, Yi Xu, Steven Swanson, Joseph Izraelevitz

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Clobber-NVM: log less, re-execute more 引用了 MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • Clobber-NVM: log less, re-execute more 引用了 HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
  • Clobber-NVM: log less, re-execute more 引用了 PMThreads: persistent memory threads harnessing versioned shadow copies
  • LightWSP: Whole-System Persistence on the Cheap 引用了 Clobber-NVM: log less, re-execute more
  • 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 引用了 PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
  • Persistent Processor Architecture 引用了 Clobber-NVM: log less, re-execute more
  • Persistent Processor Architecture 引用了 MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • Persistent Processor Architecture 引用了 HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
  • Persistent Processor Architecture 引用了 PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
  • TreeSLS: A Whole-system Persistent Microkernel with Tree-structured State Checkpoint on NVM 引用了 PMThreads: persistent memory threads harnessing versioned shadow copies
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

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

它引用的 Paper7

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

相关 Paper

  1. Puddles: Application-Independent Recovery and Location-Independent Data for Persistent MemorySuyash Mahar, Mingyao Shen, TJ Smith, Joseph Izraelevitz 等EuroSys 2024 · 2 次引用
  2. Jaaru: efficiently model checking persistent memory programsHamed Gorjiara, Guoqing Harry Xu, Brian DemskyASPLOS 2021 · 34 次引用
  3. Redesigning High-Performance LSM-based Key-Value Stores with Persistent CPU CachesYijie Zhong, Zhirong Shen, Zixiang Yu, Jiwu ShuICDE 2023 · 8 次引用
  4. Persistent State Machines for Recoverable In-memory Storage Systems with NVRamWen Zhang, Scott Shenker, Irene ZhangOSDI 2020 · 18 次引用
  5. ASAP: A Speculative Approach to PersistenceSujay Yadalam, Nisarg Shah, Xiangyao Yu, Michael M. SwiftHPCA 2022 · 17 次引用
黄昏的海面,两侧是细线勾勒的悬崖