Abstract
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.
Author supplied keywords
Cite
CITATION STYLE
Gorjiara, H., Xu, G. H., & Demsky, B. (2021). Jaaru: Efficiently model checking persistent memory programs. In International Conference on Architectural Support for Programming Languages and Operating Systems - ASPLOS (pp. 415–428). Association for Computing Machinery. https://doi.org/10.1145/3445814.3446735
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.