Lune

ASPLOS2021顶会

Fast, flexible, and comprehensive bug detection for persistent memory programs

Bang Di, Jiawen Liu, Hao Chen, Dong Li

摘要

Debugging persistent memory (PM) programs faces a fundamental tradeoff between performance overhead and bug coverage (comprehensiveness). Large performance overhead or limited bug coverage makes debugging infeasible or ineffective for PM programs. We present PMDebugger, a debugger that detects crash consistency bugs in PM programs. Unlike prior work, PMDebugger is fast, flexible and comprehensive. The design of PMDebugger is driven by a characterization that shows how three fundamental operations in PM programs (store, cache writeback and fence) typically occur in PM programs. PMDebugger uses a hierarchical design composed of PM debugging-specific data structures, operations and bug-detection algorithms (rules). We generalize nine rules to detect crash-consistency bugs for various PM persistency models. Compared with a state-of-the-art detector (XFDetector) and an industry-quality detector (Pmemcheck), PMDebugger leads to 49.3x and 3.4x speedup on average. Compared with another state-of-theart detector (PMTest) optimized for high performance, PMDebugger achieves comparable performance (within a factor of 2), without heavily relying on programmer annotations, and detects 38 more bugs on ten applications. PMDebugger also identifies more bugs than XFDetector and Pmemcheck. PMDebugger detects 19 new bugs in a real application (memcached) and two new bugs from Intel PMDK.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Efficiently detecting concurrency bugs in persistent memory programs 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • Efficiently detecting concurrency bugs in persistent memory programs 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • Capri: Compiler and Architecture Support for Whole-System Persistence 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
  • Capri: Compiler and Architecture Support for Whole-System Persistence 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • Capri: Compiler and Architecture Support for Whole-System Persistence 引用了 MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • Capri: Compiler and Architecture Support for Whole-System Persistence 引用了 PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
  • Persistent Processor Architecture 引用了 Capri: Compiler and Architecture Support for Whole-System Persistence
  • Persistent Processor Architecture 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • Persistent Processor Architecture 引用了 MOD: Minimally Ordered Durable Datastructures for Persistent Memory
  • Persistent Processor Architecture 引用了 PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
  • Yashme: detecting persistency races 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • Yashme: detecting persistency races 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • Chipmunk: Investigating Crash-Consistency in Persistent-Memory File Systems 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • Chipmunk: Investigating Crash-Consistency in Persistent-Memory File Systems 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • AGAMOTTO: How Persistent is your Persistent Memory Application? 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • AGAMOTTO: How Persistent is your Persistent Memory Application? 引用了 MOD: Minimally Ordered Durable Datastructures for Persistent Memory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. Capri: Compiler and Architecture Support for Whole-System PersistenceJungi Jeong, Jianping Zeng, Changhee JungHPDC 2022 · 21 次引用
  2. Yashme: detecting persistency racesHamed Gorjiara, Guoqing Harry Xu, Brian DemskyASPLOS 2022 · 18 次引用
  3. Persistent Processor ArchitectureJianping Zeng, Jungi Jeong, Changhee JungMICRO 2023 · 12 次引用
  4. Efficiently detecting concurrency bugs in persistent memory programsZhangyu Chen, Yu Hua, Yongle Zhang, Luochangqi DingASPLOS 2022 · 11 次引用
  5. Chipmunk: Investigating Crash-Consistency in Persistent-Memory File SystemsHayley LeBlanc, Shankara Pailoor, Om Saran K. R. E., Isil Dillig 等EuroSys 2023 · 11 次引用

它引用的 Paper8

  1. FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang 等ASPLOS 2020 · 166 次引用
  2. Cross-Failure Bug Detection in Persistent Memory ProgramsSihang Liu, Korakit Seemakhupt, Yizhou Wei, Thomas F. Wenisch 等ASPLOS 2020 · 60 次引用
  3. MOD: Minimally Ordered Durable Datastructures for Persistent MemorySwapnil Haria, Mark D. Hill, Michael M. SwiftASPLOS 2020 · 47 次引用
  4. AGAMOTTO: How Persistent is your Persistent Memory Application?Ian Neal, Ben Reeves, Ben Stoler, Andrew Quinn 等OSDI 2020 · 43 次引用
  5. PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)Jungi Jeong, Changhee JungASPLOS 2021 · 30 次引用

相关 Paper

  1. Constraint Based Program Repair for Persistent Memory BugsZunchen Huang, Chao WangICSE 2024 · 3 次引用
  2. PMFuzz: test case generation for persistent memory programsSihang Liu, Suyash Mahar, Baishakhi Ray, Samira Manabi KhanASPLOS 2021 · 36 次引用
  3. Mumak: Efficient and Black-Box Bug Detection for Persistent MemoryJoão Gonçalves, Miguel Matos, Rodrigo RodriguesEuroSys 2023 · 5 次引用
  4. Automated Insertion of Flushes and Fences for PersistencyYutong Guo, Weiyu Luo, Brian DemskyASE 2025 · 1 次引用
  5. Discovering Likely Program Invariants for Persistent MemoryZunchen Huang, Srivatsan Ravi, Chao WangASE 2024 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖