Lune

SOSP2021顶会

Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores

Xinwei Fu, Wook-Hee Kim, Ajay Paddayuru Shreepathi, Mohannad Ismail, Sunny Wadkar, Dongyoon Lee, Changwoo Min

摘要

The advent of non-volatile main memory (NVM) enables the development of crash-consistent software without paying storage stack overhead. However, building a correct crash-consistent program remains very challenging in the presence of a volatile cache. This paper presents Witcher, a systematic crash consistency testing framework, which detects both correctness and performance bugs in NVM-based persistent key-value stores and underlying NVM libraries, without test space explosion and without manual annotations or crash consistency checkers. To detect correctness bugs, Witcher automatically infers likely correctness conditions by analyzing data and control dependencies between NVM accesses. Then Witcher validates if any violation of them is a true crash consistency bug by checking output equivalence between executions with and without a crash. Moreover, Witcher detects performance bugs by analyzing the execution traces. Evaluation with 20 NVM key-value stores based on Intel's PMDK library shows that Witcher discovers 47 (36 new) correctness consistency bugs and 158 (113 new) performance bugs in both applications and PMDK.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Mumak: Efficient and Black-Box Bug Detection for Persistent Memory 引用了 Efficiently detecting concurrency bugs in persistent memory programs
  • Mumak: Efficient and Black-Box Bug Detection for Persistent Memory 引用了 SafePM: a sanitizer for persistent memory
  • Mumak: Efficient and Black-Box Bug Detection for Persistent Memory 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • PACTree: A High Performance Persistent Range Index Using PAC Guidelines 引用了 Durable Transactional Memory Can Scale with Timestone
  • 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
  • SafePM: a sanitizer for persistent memory 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • MeshTest: End-to-End Testing for Service Mesh Traffic Management 引用了 Efficiently detecting concurrency bugs in persistent memory programs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingSheng Qi, Xuanzhe Liu, Xin JinSOSP 2023 · 16 次引用
  2. Efficiently detecting concurrency bugs in persistent memory programsZhangyu Chen, Yu Hua, Yongle Zhang, Luochangqi DingASPLOS 2022 · 11 次引用
  3. SafePM: a sanitizer for persistent memoryKartal Kaan Bozdogan, Dimitrios Stavrakakis, Shady Issa, Pramod BhatotiaEuroSys 2022 · 10 次引用
  4. MeshTest: End-to-End Testing for Service Mesh Traffic ManagementNaiqian Zheng, Tianshuo Qiao, Xuanzhe Liu, Xin JinNSDI 2025 · 7 次引用
  5. Mumak: Efficient and Black-Box Bug Detection for Persistent MemoryJoão Gonçalves, Miguel Matos, Rodrigo RodriguesEuroSys 2023 · 5 次引用

它引用的 Paper9

  1. Fuzzing File Systems via Two-Dimensional Input Space ExplorationWen Xu, Hyungon Moon, Sanidhya Kashyap, Po-Ning Tseng 等S&P 2019 · 117 次引用
  2. APISan: Sanitizing API Usages through Semantic Cross-CheckingInsu Yun, Changwoo Min, Xujie Si, Yeongjin Jang 等USENIX Security 2016 · 107 次引用
  3. PACTree: A High Performance Persistent Range Index Using PAC GuidelinesWook-Hee Kim, Madhava Krishnan Ramanathan, Xinwei Fu, Sanidhya Kashyap 等SOSP 2021 · 61 次引用
  4. Cross-Failure Bug Detection in Persistent Memory ProgramsSihang Liu, Korakit Seemakhupt, Yizhou Wei, Thomas F. Wenisch 等ASPLOS 2020 · 60 次引用
  5. Durable Transactional Memory Can Scale with TimestoneMadhava Krishnan Ramanathan, Jaeho Kim, Ajit Mathew, Xinwei Fu 等ASPLOS 2020 · 46 次引用

相关 Paper

  1. Fast, flexible, and comprehensive bug detection for persistent memory programsBang Di, Jiawen Liu, Hao Chen, Dong LiASPLOS 2021 · 37 次引用
  2. Vinter: Automatic Non-Volatile Memory Crash Consistency Testing for Full SystemsSamuel Kalbfleisch, Lukas Werling, Frank BellosaUSENIX ATC 2022
  3. Silhouette: Leveraging Consistency Mechanisms to Detect Bugs in Persistent Memory-Based File SystemsBing Jiao, Ashvin Goel, An-I Andy WangFAST 2025 · 2 次引用
  4. Jaaru: efficiently model checking persistent memory programsHamed Gorjiara, Guoqing Harry Xu, Brian DemskyASPLOS 2021 · 34 次引用
  5. Understanding and detecting deep memory persistency bugs in NVM programs with DeepMCBenjamin Reidys, Jian HuangPPoPP 2022 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖