Silo: Speculative Hardware Logging for Atomic Durability in Persistent Memory
Ming Zhang, Yu Hua
摘要
Persistent memory (PM) provides data persistency. Due to this property, guaranteeing atomic durability becomes important for applications running on PM in order to ensure the crash consistency for a group of updates. To this end, hardware logging has received many attentions by overlapping the log operations and transaction execution. Unfortunately, existing approaches regard logs as backups, which inevitably increases the log writes to PM, thus exacerbating the limited endurance of PM and imposing constraints on the write ordering.
This paper proposes Silo, a speculative hardware logging design to ensure atomic durability with ultra-low overheads. Unlike existing studies, Silo exploits a speculative methodology and regards logs as data to make the common case fast. In practice, system crashes or power failures rarely occur for a machine. Hence, we do not need to write logs to back up data in most of the running time. Based on this observation, Silo temporarily maintains the undo+redo logs on chip during transaction execution. After the transaction commits, Silo leverages the new data in these on-chip logs to in-place update the PM data region, instead of conservatively writing logs as useless backups in common cases where no crash occurs. In this way, Silo significantly reduces the write overheads. If a crash occurs, Silo still efficiently flushes these on-chip logs to PM for recovery without any loss of correctness. Experimental results demonstrate that Silo significantly improves the transaction throughput by 4.3×, and reduces the memory writes by 76.5% compared with state-of-the-art designs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Characterizing the performance of intel optane persistent memory: a close look at its on-DIMM buffering 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Characterizing the performance of intel optane persistent memory: a close look at its on-DIMM buffering 引用了 Characterizing and Modeling Non-Volatile Memory Systems
- Falcon: Fast OLTP Engine for Persistent Cache and Non-Volatile Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Characterizing and Modeling Non-Volatile Memory Systems 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Characterizing and Modeling Non-Volatile Memory Systems 引用了 MOD: Minimally Ordered Durable Datastructures for Persistent Memory
- NVAlloc: rethinking heap metadata management in persistent memory allocators 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
引用它的顶会 Paper1
它引用的 Paper12
- An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz 等FAST 2020 · 470 次引用
- Characterizing and Modeling Non-Volatile Memory SystemsZixuan Wang, Xiao Liu, Jian Yang, Theodore Michailidis 等MICRO 2020 · 88 次引用
- Characterizing the performance of intel optane persistent memory: a close look at its on-DIMM bufferingLingfeng Xiang, Xingsheng Zhao, Jia Rao, Song Jiang 等EuroSys 2022 · 56 次引用
- MOD: Minimally Ordered Durable Datastructures for Persistent MemorySwapnil Haria, Mark D. Hill, Michael M. SwiftASPLOS 2020 · 47 次引用
- NVAlloc: rethinking heap metadata management in persistent memory allocatorsZheng Dang, Shuibing He, Peiyi Hong, Zhenxin Li 等ASPLOS 2022 · 35 次引用
相关 Paper
- SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent MemoryChencheng Ye, Yuanchao Xu, Xipeng Shen, Yan Sha 等ASPLOS 2023 · 13 次引用
- ASAP: architecture support for asynchronous persistenceAhmed H. M. O. Abulila, Izzat El Hajj, Myoungsoo Jung, Nam Sung KimISCA 2022 · 10 次引用
- Reconciling Selective Logging and Hardware Persistent Memory TransactionChencheng Ye, Yuanchao Xu, Xipeng Shen, Yan Sha 等HPCA 2023 · 4 次引用
- Crafty: efficient, HTM-compatible persistent transactionsKaan Genç, Michael D. Bond, Guoqing Harry XuPLDI 2020 · 31 次引用
- MorLog: Morphable Hardware Logging for Atomic Persistence in Non-Volatile Main MemoryXueliang Wei, Dan Feng, Wei Tong, Jingning Liu 等ISCA 2020 · 23 次引用
