[Paper Review] Brief Announcement: Building Fast Recoverable Persistent Data Structures with Montage
Montage is a general-purpose system for building fast, recoverable persistent data structures using a slow-ticking epoch clock and a buffered durably linearizable approach. It minimizes persistence overhead by persisting only essential abstract state (e.g., key-value pairs), reconstructing concrete structures like hash tables and graphs from transient DRAM during recovery, achieving up to 20M ops/s—within 3× of DRAM performance and 7× faster than prior systems like Dalí and Pronto.
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. 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.
Motivation & Objective
- Address the high performance cost of ensuring durable linearizability in persistent data structures under non-volatile memory (NVM).
- Reduce the overhead of explicit write-back and fence instructions during normal operation by decoupling persistence from critical path execution.
- Enable fast recovery by persisting only minimal, essential abstract state, allowing reconstruction of concrete data structures from transient memory.
- Support general-purpose, lock-free, and non-blocking persistent data structures that maintain correctness across crashes.
- Achieve performance close to transient DRAM data structures while ensuring crash consistency and durability.
Proposed method
- Employ a slow-ticking epoch clock to ensure no operation spans an epoch boundary, enabling safe recovery from crashes.
- Separate the abstract state (persisted in NVM) from the concrete state (maintained in transient DRAM), persisting only the former.
- Use the Ralloc nonblocking persistent allocator as a foundation to eliminate write-back and fence overhead in allocation/deallocation.
- Reconstruct concrete data structures (e.g., hash tables, graphs) from the abstract state during recovery using user-provided logic.
- Implement recovery in a scalable, parallel fashion by distributing vertex and edge reconstruction across threads, minimizing locking.
- Ensure durable linearizability by coordinating persistence across operations such that the order of persistent effects matches the linearization order.
Experimental results
Research questions
- RQ1Can a general-purpose system reduce the performance overhead of durable linearizability in persistent data structures without sacrificing crash consistency?
- RQ2To what extent can persistent data structures achieve near-DRAM performance by buffering persistence and deferring write-back?
- RQ3How effective is a separation between abstract and concrete state in minimizing persistent storage writes and improving recovery efficiency?
- RQ4Can a system built on a non-blocking allocator like Ralloc maintain non-blocking semantics while enabling fast, scalable recovery?
- RQ5How does the performance of Montage compare to existing general-purpose and special-purpose persistent data structures under real workloads?
Key findings
- Montage sustained over 20 million operations per second on a read-heavy workload, achieving 7× higher throughput than Dalí and 17× higher than Pronto.
- Montage's performance on a hash map was within a factor of 3 of a native DRAM hash table, approaching the theoretical best possible performance on Intel Optane NVM.
- Recovery of a 1 GB data set took only 0.7 seconds with a single recovery thread, and 13.8 seconds for a 32 GB dataset with 8 threads, demonstrating efficient scalability.
- For the large-scale Orkut social network graph (3M vertices, 117M edges), Montage recovery was faster than DRAM reconstruction at low thread counts and comparable at high thread counts.
- Montage outperformed or matched existing special-purpose persistent data structures, including those optimized for functional updates or log-based replay.
- The system enables safe sharing of persistent data structures across untrusted applications with independent failure modes, suggesting a viable alternative to file-based persistence in NVM-era systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.