Exploiting Persistent CPU Cache for Scalable Persistent Hash Index
Bowen Zhang, Shengan Zheng, Liangxu Nie, Zhenlin Qi, Linpeng Huang, Hong Mei
摘要
Byte-addressable persistent memory (PM) has been widely studied in the past few years. Recently, the emerging eADR technology further incorporates CPU cache into the persistence domain. The persistent CPU cache is promising to optimize the write performance of PM-based storage systems and facilitate the design of concurrent crash-consistent data structures. In this paper, we propose Spash, a highly scalable persistent hash index for PM systems with persistent CPU cache. Spash fully exploits the benefits of persistent CPU cache to implement a durable linearizable index with low PM access overhead and high concurrency. Spash employs a fine-grained extendible hash architecture and a metadata-free segment design to minimize the number of PM accesses. Moreover, Spash adopts adaptive in-place updates and compacted-flush insertions, which dramatically conserve scarce PM write bandwidth by absorbing a large amount of PM write in the persistent CPU cache. Furthermore, Spash proposes a two-phase concurrency protocol and a collaborative staged doubling mechanism, which leverage the persistent CPU cache and hardware transactional memory to achieve lock-free concurrency and durable linearizability. Spash outperforms the other state-of-the-art persistent hash indexes in YCSB workloads by up to 19.6×.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Viper: An Efficient Hybrid PMem-DRAM Key-Value Store 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Viper: An Efficient Hybrid PMem-DRAM Key-Value Store 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Lock-free Concurrent Level Hashing for Persistent Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- H-Rocks: CPU-GPU accelerated Heterogeneous RocksDB on Persistent Memory 引用了 Viper: An Efficient Hybrid PMem-DRAM Key-Value Store
- H-Rocks: CPU-GPU accelerated Heterogeneous RocksDB on Persistent Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
引用它的顶会 Paper2
它引用的 Paper27
- An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz 等FAST 2020 · 470 次引用
- MatrixKV: Reducing Write Stalls and Write Amplification in LSM-tree Based KV Stores with Matrix Container in NVMTing Yao, Yiwen Zhang, Jiguang Wan, Qiu Cui 等USENIX ATC 2020 · 186 次引用
- FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang 等ASPLOS 2020 · 166 次引用
- Lock-free Concurrent Level Hashing for Persistent MemoryZhangyu Chen, Yu Hua, Bo Ding, Pengfei ZuoUSENIX ATC 2020 · 98 次引用
- Viper: An Efficient Hybrid PMem-DRAM Key-Value StoreLawrence Benson, Hendrik Makait, Tilmann RablVLDB 2021 · 86 次引用
相关 Paper
- Reconfiguring Scalable Hashing with Persistent CPU CachesZhenyu Yu, Bolong Zheng, Ling Xu, Qianlu Wu 等ICDE 2026
- SEPH: Scalable, Efficient, and Predictable Hashing on Persistent MemoryChao Wang, Junliang Hu, Tsun-Yu Yang, Yuhong Liang 等OSDI 2023
- Halo: A Hybrid PMem-DRAM Persistent Hash Index with Fast RecoveryDaokun Hu, Zhiwen Chen, Wenkui Che, Jianhua Sun 等SIGMOD 2022 · 34 次引用
- Dash: Scalable Hashing on Persistent MemoryBaotong Lu, Xiangpeng Hao, Tianzheng Wang, Eric LoVLDB 2020 · 8 次引用
- NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM SystemsBowen Zhang, Shengan Zheng, Zhenlin Qi, Linpeng HuangVLDB 2022 · 41 次引用
