Lune

ASPLOS2021顶会

Clobber-NVM: log less, re-execute more

Yi Xu, Joseph Izraelevitz, Steven Swanson

摘要

Non-volatile memory allows direct access to persistent storage via a load/store interface. However, because the cache is volatile, cached updates to persistent state will be dropped after a power loss. Failure-atomicity NVM libraries provide the means to apply sets of writes to persistent state atomically. Unfortunately, most of these libraries impose significant overhead.

This work proposes Clobber-NVM, a failure-atomicity library that ensures data consistency by reexecution. Clobber-NVM's novel logging strategy, clobber logging, records only those transaction inputs that are overwritten during transaction execution. Then, after a failure, it recovers to a consistent state by restoring overwritten inputs and reexecuting any interrupted transactions. Clobber-NVM utilizes a clobber logging compiler pass for identifying the minimal set of writes that need to be logged. Based on our experiments, classical undo logging logs up to 42.6× more bytes than Clobber-NVM, and requires 2.4× to 4.7× more expensive ordering instructions (e.g., clflush and sfence). Less logging leads to better performance: Relative to prior art, Clobber-NVM provides up to 2.5× performance improvement over Mnemosyne, 2.6× over Intel's PMDK, and up to 8.1× over HP's Atlas.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Compiler-Directed Whole-System Persistence 引用了 Relaxed Persist Ordering Using Strand Persistency
  • Compiler-Directed Whole-System Persistence 引用了 Yashme: detecting persistency races
  • Compiler-Directed Whole-System Persistence 引用了 Durable Transactional Memory Can Scale with Timestone
  • SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory 引用了 MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory 引用了 HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
  • ResPCT: fast checkpointing in non-volatile memory for multi-threaded applications 引用了 PMThreads: persistent memory threads harnessing versioned shadow copies
  • Zhuque: Failure is Not an Option, it's an Exception 引用了 Relaxed Persist Ordering Using Strand Persistency
  • Zhuque: Failure is Not an Option, it's an Exception 引用了 MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • Zhuque: Failure is Not an Option, it's an Exception 引用了 HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile Memory
  • Zhuque: Failure is Not an Option, it's an Exception 引用了 PMThreads: persistent memory threads harnessing versioned shadow copies
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. Yashme: detecting persistency racesHamed Gorjiara, Guoqing Harry Xu, Brian DemskyASPLOS 2022 · 18 次引用
  2. ResPCT: fast checkpointing in non-volatile memory for multi-threaded applicationsAna Khorguani, Thomas Ropars, Noel De PalmaEuroSys 2022 · 15 次引用
  3. Compiler-Directed Whole-System PersistenceJianping Zeng, Tong Zhang, Changhee JungISCA 2024 · 13 次引用
  4. SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent MemoryChencheng Ye, Yuanchao Xu, Xipeng Shen, Yan Sha 等ASPLOS 2023 · 13 次引用
  5. Zhuque: Failure is Not an Option, it's an ExceptionGeorge Hodgkins, Yi Xu, Steven Swanson, Joseph IzraelevitzUSENIX ATC 2023 · 13 次引用

它引用的 Paper6

  1. MOD: Minimally Ordered Durable Datastructures for Persistent MemorySwapnil Haria, Mark D. Hill, Michael M. SwiftASPLOS 2020 · 47 次引用
  2. Durable Transactional Memory Can Scale with TimestoneMadhava Krishnan Ramanathan, Jaeho Kim, Ajit Mathew, Xinwei Fu 等ASPLOS 2020 · 46 次引用
  3. HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile MemoryMiao Cai, Chance C. Coats, Jian HuangISCA 2020 · 33 次引用
  4. PMThreads: persistent memory threads harnessing versioned shadow copiesZhenwei Wu, Kai Lu, Andrew Nisbet, Wenzhe Zhang 等PLDI 2020 · 29 次引用
  5. Relaxed Persist Ordering Using Strand PersistencyVaibhav Gogte, William Wang, Stephan Diestelhorst, Peter M. Chen 等ISCA 2020 · 23 次引用

相关 Paper

  1. libcrpm: improving the checkpoint performance of NVMFeng Ren, Kang Chen, Yongwei WuDAC 2022 · 2 次引用
  2. MorLog: Morphable Hardware Logging for Atomic Persistence in Non-Volatile Main MemoryXueliang Wei, Dan Feng, Wei Tong, Jingning Liu 等ISCA 2020 · 23 次引用
  3. Silo: Speculative Hardware Logging for Atomic Durability in Persistent MemoryMing Zhang, Yu HuaHPCA 2023 · 8 次引用
  4. Crafty: efficient, HTM-compatible persistent transactionsKaan Genç, Michael D. Bond, Guoqing Harry XuPLDI 2020 · 31 次引用
  5. Libnvmmio: Reconstructing Software IO Path with Failure-Atomic Memory-Mapped InterfaceJungsik Choi, Jaewan Hong, Youngjin Kwon, Hwansoo HanUSENIX ATC 2020 · 36 次引用
黄昏的海面,两侧是细线勾勒的悬崖