Defining and Verifying Durable Opacity: Correctness for Persistent Software Transactional Memory

arXiv:2004.08200 First posted 2020-04-17 v1 This is the full version of the paper that is to appear in FORTE 2020 (https://www.discotec.org/2020/forte)
Cite this paper ×
BibTeX
@misc{bila2020defining,
  title = {Defining and Verifying Durable Opacity: Correctness for Persistent Software Transactional Memory},
  author = {Eleni Bila and Simon Doherty and Brijesh Dongol and John Derrick and Gerhard Schellhorn and Heike Wehrheim},
  year = {2020},
  eprint = {2004.08200},
  archivePrefix = {arXiv},
  primaryClass = {cs.DC},
  url = {https://arxiv.org/abs/2004.08200}
}
APA 7
Bila, E., Doherty, S., Dongol, B., Derrick, J., Schellhorn, G., & Wehrheim, H. (2020). Defining and Verifying Durable Opacity: Correctness for Persistent Software Transactional Memory [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2004.08200
GB/T 7714
BILA E, DOHERTY S, DONGOL B, et al. Defining and Verifying Durable Opacity: Correctness for Persistent Software Transactional Memory[EB/OL]. (2020-04-17)[2026-11-30]. https://arxiv.org/abs/2004.08200.

Abstract

Non-volatile memory (NVM), aka persistent memory, is a new paradigm for memory that preserves its contents even after power loss. The expected ubiquity of NVM has stimulated interest in the design of novel concepts ensuring correctness of concurrent programming abstractions in the face of persistency. So far, this has lead to the design of a number of persistent concurrent data structures, built to satisfy an associated notion of correctness: durable linearizability. In this paper, we transfer the principle of durable concurrent correctness to the area of software transactional memory (STM). Software transactional memory algorithms allow for concurrent access to shared state. Like linearizability for concurrent data structures, opacity is the established notion of correctness for STMs. First, we provide a novel definition of durable opacity extending opacity to handle crashes and recovery in the context of NVM. Second, we develop a durably opaque version of an existing STM algorithm, namely the Transactional Mutex Lock (TML). Third, we design a proof technique for durable opacity based on refinement between TML and an operational characterisation of durable opacity by adapting the TMS2 specification. Finally, we apply this proof technique to show that the durable version of TML is indeed durably opaque. The correctness proof is mechanized within Isabelle.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!