Lune

EuroSys2023顶会

Mumak: Efficient and Black-Box Bug Detection for Persistent Memory

João Gonçalves, Miguel Matos, Rodrigo Rodrigues

摘要

The advent of Persistent Memory (PM) opens the door to novel application designs that explore its performance and durability benefits. However, there is no free lunch, and to program PM applications, developers need to be aware of potential inconsistent application state upon machine or application crashes. To overcome this difficulty, several tools have been proposed to detect the presence of the so-called crash-consistency bugs. While these are effective in detecting a variety of bugs, they present several key limitations, namely relying on application-specific semantics, requiring the programmer to manually annotate the program or modify the PM library, and relying on techniques with poor scalability, making them impractical for production code.

In this paper, we introduce Mumak, a tool that detects bugs in PM applications in an efficient and black-box manner. Our key insight to reduce the search space is to use a two-pronged approach with a first pass that is highly efficient by focusing only on key, error-prone code points without exhaustively testing all possible persistence orderings, and a second pass based on heuristics that try to compensate the shortcomings of the initial approach. Furthermore, we avoid application-specific knowledge or annotations by relying on the application's own recovery procedure as an (imperfect) consistency oracle. Our experimental results, with different applications and libraries, show that Mumak has bug coverage on par with the other state-of-the-art tools, while being up to 25× faster. We also found four new crash-consistency bugs, two in PMDK and two in Montage, three of which have already been acknowledged and fixed by the developers.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • HawkSet: Automatic, Application-Agnostic, and Efficient Concurrent PM Bug Detection 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • HawkSet: Automatic, Application-Agnostic, and Efficient Concurrent PM Bug Detection 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • Discovering Likely Program Invariants for Persistent Memory 引用了 Persistency semantics of the Intel-x86 architecture
  • Discovering Likely Program Invariants for Persistent Memory 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • PoWER Never Corrupts: Tool-Agnostic Verification of Crash Consistency and Corruption Detection 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • PoWER Never Corrupts: Tool-Agnostic Verification of Crash Consistency and Corruption Detection 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • AGAMOTTO: How Persistent is your Persistent Memory Application? 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. PoWER Never Corrupts: Tool-Agnostic Verification of Crash Consistency and Corruption DetectionHayley LeBlanc, Jacob R. Lorch, Chris Hawblitzel, Cheng Huang 等OSDI 2025 · 5 次引用
  2. Pre-Stores: Proactive Software-guided Movement of Data Down the Memory HierarchyXiaoxiang Wu, Baptiste Lepers, Willy ZwaenepoelEuroSys 2025 · 1 次引用
  3. Discovering Likely Program Invariants for Persistent MemoryZunchen Huang, Srivatsan Ravi, Chao WangASE 2024 · 1 次引用
  4. HawkSet: Automatic, Application-Agnostic, and Efficient Concurrent PM Bug DetectionJoão Oliveira, João Gonçalves, Miguel MatosEuroSys 2025

它引用的 Paper18

  1. HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVMAmanda Raybuck, Tim Stamler, Wei Zhang, Mattan Erez 等SOSP 2021 · 93 次引用
  2. Persistency semantics of the Intel-x86 architectureAzalea Raad, John Wickerson, Gil Neiger, Viktor VafeiadisPOPL 2020 · 61 次引用
  3. Cross-Failure Bug Detection in Persistent Memory ProgramsSihang Liu, Korakit Seemakhupt, Yizhou Wei, Thomas F. Wenisch 等ASPLOS 2020 · 60 次引用
  4. ctFS: Replacing File Indexing with Hardware Memory Translation through Contiguous File Allocation for Persistent MemoryRuibin Li, Xiang Ren, Xu Zhao, Siwei He 等FAST 2022 · 43 次引用
  5. AGAMOTTO: How Persistent is your Persistent Memory Application?Ian Neal, Ben Reeves, Ben Stoler, Andrew Quinn 等OSDI 2020 · 43 次引用

相关 Paper

  1. Efficiently detecting concurrency bugs in persistent memory programsZhangyu Chen, Yu Hua, Yongle Zhang, Luochangqi DingASPLOS 2022 · 11 次引用
  2. PMFuzz: test case generation for persistent memory programsSihang Liu, Suyash Mahar, Baishakhi Ray, Samira Manabi KhanASPLOS 2021 · 36 次引用
  3. Silhouette: Leveraging Consistency Mechanisms to Detect Bugs in Persistent Memory-Based File SystemsBing Jiao, Ashvin Goel, An-I Andy WangFAST 2025 · 2 次引用
  4. Fast, flexible, and comprehensive bug detection for persistent memory programsBang Di, Jiawen Liu, Hao Chen, Dong LiASPLOS 2021 · 37 次引用
  5. Constraint Based Program Repair for Persistent Memory BugsZunchen Huang, Chao WangICSE 2024 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖