Montage: A General System for Buffered Durably Linearizable Data Structures

Haosen Wen, Wentao Cai, Mingzhe Du, Louis Jenkins, Benjamin Valpey +1 more
9/29/2020
cs.DCcs.DScs.PF

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

Abstract

The recent emergence of fast, dense, nonvolatile main memory suggests that certain long-lived data might remain in its natural pointer-rich format across program runs and hardware reboots. Operations on such data must be instrumented with explicit write-back and fence instructions to ensure consistency in the wake of a crash.

Show full abstract

Techniques to minimize the cost of this instrumentation are an active topic of research. We present what we believe to be the first general-purpose approach to building buffered durably linearizable persistent data structures, and a system, Montage, to support that approach. Montage is built on top of the Ralloc nonblocking persistent allocator. It employs a slow-ticking epoch clock, and ensures that no operation appears to span an epoch boundary. It also arranges to persist only that data minimally required to reconstruct the structure after a crash. If a crash occurs in epoch $e$, all work performed in epochs $e$ and $e-1$ is lost, but work from prior epochs is preserved. We describe the implementation of Montage, argue its correctness, and report unprecedented throughput for persistent queues, sets/mappings, and general graphs.

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{wen2020montage,
  title  = {Montage: A General System for Buffered Durably Linearizable Data Structures},
  author = {Haosen Wen and Wentao Cai and Mingzhe Du and Louis Jenkins and Benjamin Valpey and Michael L. Scott},
  year   = {2020},
  eprint = {2009.13701},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.13701}
}

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/2009.13701.svg)](https://codeofpaper.com/paper/2009.13701)

Discussion