Mirror: making lock-free data structures persistent
Abstract
With the recent launch of the Intel Optane memory platform, non-volatile main memory in the form of fast, dense, byteaddressable non-volatile memory has now become available. Nevertheless, designing crash-resilient algorithms and data structures is complex and error-prone as caches and machine registers are still volatile and the data residing in memory after a crash might not reflect a consistent view of the program state. This complex setting has often led to durable data structures being inefficient or incorrect, especially in the concurrent setting.
In this paper, we present MirrorÐa simple, general automatic transformation that adds durability to lock-free data structures, with a low performance overhead. Moreover, in the current non-volatile main memory configuration, where non-volatile memory operates side-by-side with a standard fast DRAM, our mechanism exploits the hybrid system to substantially improve performance. Evaluation shows a significant performance advantage over NVTraverse, which is the state-of-the-art general transformation technique, and over Intel's concurrent lock-based key-value datastore. Unlike some previous transformations, Mirror does not require any restriction on the lock-free data structure format.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- The Path to Durable Linearizability cites NVTraverse: in NVRAM data structures, the destination is more important than the journey
- The Path to Durable Linearizability cites Persistency semantics of the Intel-x86 architecture
- NVTraverse: in NVRAM data structures, the destination is more important than the journey cites Persistency semantics of the Intel-x86 architecture
- NVM: Is it Not Very Meaningful for Databases? cites NVTraverse: in NVRAM data structures, the destination is more important than the journey
- The performance power of software combining in persistence cites NVTraverse: in NVRAM data structures, the destination is more important than the journey
- The performance power of software combining in persistence cites Persistent memory and the rise of universal constructions
- TL4x: Buffered Durable Transactions on Disk as Fast as in Memory cites NVTraverse: in NVRAM data structures, the destination is more important than the journey
- TL4x: Buffered Durable Transactions on Disk as Fast as in Memory cites Pronto: Easy and Fast Persistence for Volatile Data Structures
- TL4x: Buffered Durable Transactions on Disk as Fast as in Memory cites The performance power of software combining in persistence
- TL4x: Buffered Durable Transactions on Disk as Fast as in Memory cites Elimination (a, b)-trees with fast, durable updates
- Elimination (a, b)-trees with fast, durable updates cites NVTraverse: in NVRAM data structures, the destination is more important than the journey
Cited by top-tier papers9
- Elimination (a, b)-trees with fast, durable updatesAnubhav Srivastava, Trevor BrownPPoPP 2022 · 12 citations
- NVM: Is it Not Very Meaningful for Databases?Dimitrios Koutsoukos, Raghav Bhartia, Michal Friedman, Ana Klimovic et al.VLDB 2023 · 9 citations
- The performance power of software combining in persistencePanagiota Fatourou, Nikolaos D. Kallimanis, Eleftherios KosmasPPoPP 2022 · 8 citations
- TL4x: Buffered Durable Transactions on Disk as Fast as in MemoryGal Assa, Andreia Correia, Pedro Ramalhete, Valerio Schiavoni et al.PPoPP 2023 · 8 citations
- The Path to Durable LinearizabilityEmanuele D'Osualdo, Azalea Raad, Viktor VafeiadisPOPL 2023 · 6 citations
Builds on4
- Persistency semantics of the Intel-x86 architectureAzalea Raad, John Wickerson, Gil Neiger, Viktor VafeiadisPOPL 2020 · 61 citations
- Pronto: Easy and Fast Persistence for Volatile Data StructuresAmir Saman Memaripour, Joseph Izraelevitz, Steven SwansonASPLOS 2020 · 55 citations
- NVTraverse: in NVRAM data structures, the destination is more important than the journeyMichal Friedman, Naama Ben-David, Yuanhao Wei, Guy E. Blelloch et al.PLDI 2020 · 52 citations
- Persistent memory and the rise of universal constructionsAndreia Correia, Pascal Felber, Pedro RamalheteEuroSys 2020 · 22 citations
Related papers
- NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM SystemsBowen Zhang, Shengan Zheng, Zhenlin Qi, Linpeng HuangVLDB 2022 · 41 citations
- Detectable recovery of lock-free data structuresHagit Attiya, Ohad Ben-Baruch, Panagiota Fatourou, Danny Hendler et al.PPoPP 2022 · 12 citations
- Memento: A Framework for Detectable Recoverability in Persistent MemoryKyeongmin Cho, Seungmin Jeon, Azalea Raad, Jeehoon KangPLDI 2023 · 4 citations
- Hardware Support for Durable Atomic Instructions for Persistent Parallel ProgrammingKhan Shaikhul Hadi, Naveed Ul Mustafa, Mark Heinrich, Yan SolihinDAC 2023 · 2 citations
- Vinter: Automatic Non-Volatile Memory Crash Consistency Testing for Full SystemsSamuel Kalbfleisch, Lukas Werling, Frank BellosaUSENIX ATC 2022
