Jaaru: efficiently model checking persistent memory programs
Hamed Gorjiara, Guoqing Harry Xu, Brian Demsky
摘要
Persistent memory (PM) technologies combine near DRAM performance with persistency and open the possibility of using one copy of a data structure as both a working copy and a persistent store of the data. Ensuring that these persistent data structures are crash consistent (i.e., power failures) is a major challenge. Stores to persistent memory are not immediately made persistent --- they initially reside in processor cache and are only written to PM when a flush occurs due to space constraints or explicit flush instructions. It is more challenging to test crash consistency for PM than for disks given the PM's byte-addressability that leads to significantly more states. We present Jaaru, a fully-automated and ultra-efficient model checker for PM programs. Key to Jaaru's efficiency is a new technique based on constraint refinement that can reduce the number of executions that must be explored by many orders of magnitude. This exploration technique effectively leverages commit stores, a common coding pattern, to reduce the model checking complexity from exponential in the length of program executions to quadratic. We have evaluated Jaaru with PMDK and RECIPE, and found 25 persistency bugs, 18 of which are new. Jaaru is also orders of magnitude more efficient than Yat, a model checker that eagerly explores all possible states.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficiently detecting concurrency bugs in persistent memory programs 引用了 Fuzzing File Systems via Two-Dimensional Input Space Exploration
- Efficiently detecting concurrency bugs in persistent memory programs 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
- Efficiently detecting concurrency bugs in persistent memory programs 引用了 Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores
- Efficiently detecting concurrency bugs in persistent memory programs 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
- SafePM: a sanitizer for persistent memory 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
- SafePM: a sanitizer for persistent memory 引用了 Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores
- Yashme: detecting persistency races 引用了 Fuzzing File Systems via Two-Dimensional Input Space Exploration
- Yashme: detecting persistency races 引用了 Crafty: efficient, HTM-compatible persistent transactions
- Yashme: detecting persistency races 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
- Yashme: detecting persistency races 引用了 Persistency semantics of the Intel-x86 architecture
- 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?
- Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores 引用了 Fuzzing File Systems via Two-Dimensional Input Space Exploration
- Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
- Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
- AGAMOTTO: How Persistent is your Persistent Memory Application? 引用了 Crafty: efficient, HTM-compatible persistent transactions
- AGAMOTTO: How Persistent is your Persistent Memory Application? 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
引用它的顶会 Paper21
- Yashme: detecting persistency racesHamed Gorjiara, Guoqing Harry Xu, Brian DemskyASPLOS 2022 · 18 次引用
- Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value StoresXinwei Fu, Wook-Hee Kim, Ajay Paddayuru Shreepathi, Mohannad Ismail 等SOSP 2021 · 17 次引用
- Efficiently detecting concurrency bugs in persistent memory programsZhangyu Chen, Yu Hua, Yongle Zhang, Luochangqi DingASPLOS 2022 · 11 次引用
- Chipmunk: Investigating Crash-Consistency in Persistent-Memory File SystemsHayley LeBlanc, Shankara Pailoor, Om Saran K. R. E., Isil Dillig 等EuroSys 2023 · 11 次引用
- SafePM: a sanitizer for persistent memoryKartal Kaan Bozdogan, Dimitrios Stavrakakis, Shady Issa, Pramod BhatotiaEuroSys 2022 · 10 次引用
它引用的 Paper5
- Fuzzing File Systems via Two-Dimensional Input Space ExplorationWen Xu, Hyungon Moon, Sanidhya Kashyap, Po-Ning Tseng 等S&P 2019 · 117 次引用
- Persistency semantics of the Intel-x86 architectureAzalea Raad, John Wickerson, Gil Neiger, Viktor VafeiadisPOPL 2020 · 61 次引用
- Cross-Failure Bug Detection in Persistent Memory ProgramsSihang Liu, Korakit Seemakhupt, Yizhou Wei, Thomas F. Wenisch 等ASPLOS 2020 · 60 次引用
- AGAMOTTO: How Persistent is your Persistent Memory Application?Ian Neal, Ben Reeves, Ben Stoler, Andrew Quinn 等OSDI 2020 · 43 次引用
- Crafty: efficient, HTM-compatible persistent transactionsKaan Genç, Michael D. Bond, Guoqing Harry XuPLDI 2020 · 31 次引用
相关 Paper
- PMFuzz: test case generation for persistent memory programsSihang Liu, Suyash Mahar, Baishakhi Ray, Samira Manabi KhanASPLOS 2021 · 36 次引用
- Fast, flexible, and comprehensive bug detection for persistent memory programsBang Di, Jiawen Liu, Hao Chen, Dong LiASPLOS 2021 · 37 次引用
- Mumak: Efficient and Black-Box Bug Detection for Persistent MemoryJoão Gonçalves, Miguel Matos, Rodrigo RodriguesEuroSys 2023 · 5 次引用
- HybridPersist: A Compiler Support for User-Friendly and Efficient PM ProgrammingYiyu Zhang, Yongzhi Wang, Yanfeng Gao, Xuandong Li 等OOPSLA 2025
- Constraint Based Program Repair for Persistent Memory BugsZunchen Huang, Chao WangICSE 2024 · 3 次引用
