Fast Nonblocking Persistence for Concurrent Data Structures

Wentao Cai, Haosen Wen, Vladimir Maksimovski, Mingzhe Du, Rafaello Sanna +2 more
5/20/2021
cs.DCcs.DScs.PF

Official code: urcs-sync/Montage (16 stars, C++, last commit 2022-06-09).

Abstract

We present a fully lock-free variant of the recent Montage system for persistent data structures. Our variant, nbMontage, adds persistence to almost any nonblocking concurrent structure without introducing significant overhead or blocking of any kind.

Show full abstract

Like its predecessor, nbMontage is buffered durably linearizable: it guarantees that the state recovered in the wake of a crash will represent a consistent prefix of pre-crash execution. Unlike its predecessor, nbMontage ensures wait-free progress of the persistence frontier, thereby bounding the number of recent updates that may be lost on a crash, and allowing a thread to force an update of the frontier (i.e., to perform a sync operation) without the risk of blocking. As an extra benefit, the helping mechanism employed by our wait-free sync significantly reduces its latency. Performance results for nonblocking queues, skip lists, trees, and hash tables rival custom data structures in the literature -- dramatically faster than achieved with prior general-purpose systems, and generally within 50% of equivalent non-persistent structures placed in DRAM.

View on arXivView PDF

Code Implementations(1)

urcs-sync/MontageOfficial100%

Montage is a system for building fast buffered persistent data structures on nonvolatile memory.

168C++, RSep 27, 20204 years agoNOASSERTION

Similar Papers

Cite this paper

@article{cai2021fast,
  title  = {Fast Nonblocking Persistence for Concurrent Data Structures},
  author = {Wentao Cai and Haosen Wen and Vladimir Maksimovski and Mingzhe Du and Rafaello Sanna and Shreif Abdallah and Michael L. Scott},
  year   = {2021},
  eprint = {2105.09508},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.09508}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.09508.svg)](https://codeofpaper.com/paper/2105.09508)

Discussion