2021 · 17 citations · 62 references
ComputingComputer EngineeringComputer ScienceFault-tolerant SystemsFormal MethodsOperating SystemsCache Behavior AnalysisCachingReliable System DesignCache ConsistencyConsistency In Key-value StoresConsistency VerificationCorrectness CheckingCrash ConsistencyImplementation BugsKey-value StoresNon-volatile Memory
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.
62
Better I/O through byte-addressable, persistent memory
Jeremy Condit, Edmund B. Nightingale, Christopher Frost et al. · 2009 · 833 citations
Dawson Engler, David Yu Chen, Seth Hallem et al. · 2001 · 747 citations
System software for persistent memory
Subramanya R. Dulloor, Sanjay Kumar, Anil Keshavamurthy et al. · 2014 · 623 citations