• Home
  • Search
  • Jaaru: efficiently model checking persistent memory programs
  • Cite Icon33
  • https://doi.org/10.1145/3445814.3446735Copy DOI Icon

Jaaru: efficiently model checking persistent memory programs

  • Apr 17, 2021
  • Hamed Gorjiara +2 more
Show More
  • Abstract
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
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.

Loading PDF

Similar Papers
  • Conference Article
  • Citations183

ThyNVM

  • Dec 05, 2015
  • Jinglei Ren +5
  • Conference Article
  • Citations72

PMTest

  • Apr 04, 2019
  • Sihang Liu +4
  • Conference Article
  • Citations5

Improving the Security and Programmability of Persistent Memory Objects

  • Sep 01, 2022
  • Derrick Greenspan +4
  • Research Article
  • Citations14

An Analysis of Persistent Memory Use with WHISPER

  • Apr 04, 2017
  • ACM SIGARCH Computer Architecture News
  • Sanketh Nalli +5
  • Research Article
  • Citations3

NStore: A High-Performance NUMA-Aware Key-Value Store for Hybrid Memory

  • Mar 01, 2025
  • IEEE Transactions on Computers
  • Zhonghua Wang +8
  • Research Article
  • Citations2

InK: In-Kernel Key-Value Storage with Persistent Memory

  • Nov 13, 2020
  • Electronics
  • Minjong Ha +1
  • Conference Article

An investigation of performance problems with msync() system calls on filesystem DAX

  • Jun 14, 2021
  • Satoshi Iwata
  • Research Article
  • Citations1

P-HNSW: Crash-Consistent HNSW for Vector Databases on Persistent Memory

  • Sep 29, 2025
  • Applied Sciences
  • Haena Lee +3
  • Research Article
  • Citations9

Improving the Performance and Endurance of Persistent Memory with Loose-Ordering Consistency

  • Jan 01, 2024
  • IEEE Transactions on Parallel and Distributed Systems
  • Youyou Lu +3
  • Book Chapter
  • Citations3

Functional Data Structures

  • Oct 28, 2004
  • Chris Okasaki
  • Conference Article
  • Citations3

A file system bypassing volatile main memory

  • May 08, 2018
  • Deng Zhou +3
  • Conference Article
  • Citations22

Hippocrates: healing persistent memory bugs without doing any harm

  • Apr 17, 2021
  • Ian Neal +2
  • Conference Article
  • Citations3

Efficient Hardware-Assisted Crash Consistency in Encrypted Persistent Memory

  • Mar 01, 2020
  • Zhan Zhang +3
  • Conference Article
  • Citations2

Characterizing and Optimizing Hybrid DRAM-PM Main Memory System with Application Awareness

  • Mar 14, 2022
  • Yongfeng Wang +4
  • Conference Article
  • Citations1

MetoHash: A Memory-Efficient and Traffic-Optimized Hashing Index on Hybrid PMem-DRAM Memories

  • Nov 15, 2025
  • Zixiang Yu +8
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.