ChameleonDB: a key-value store for optane persistent memory
Wenhui Zhang, Xingsheng Zhao, Song Jiang, Hong Jiang
摘要
The emergence of Intel's Optane DC persistent memory (Optane Pmem) draws much interest in building persistent key-value (KV) stores to take advantage of its high throughput and low latency. A major challenge in the efforts stems from the fact that Optane Pmem is essentially a hybrid storage device with two distinct properties. On one hand, it is a high-speed byte-addressable device similar to DRAM. On the other hand, the write to the Optane media is conducted at the unit of 256 bytes, much like a block storage device. Existing KV store designs for persistent memory do not take into account of the latter property, leading to high write amplification and constraining both write and read throughput. In the meantime, a direct re-use of a KV store design intended for block devices, such as LSM-based ones, would cause much higher read latency due to the former property.
In this paper, we propose ChameleonDB, a KV store design specifically for this important hybrid memory/storage device by considering and exploiting these two properties in one design. It uses LSM tree structure to efficiently admit writes with low write amplification. It uses an in-DRAM hash table to bypass LSM-tree's multiple levels for fast reads. In the meantime, ChameleonDB may choose to opportunistically maintain the LSM multi-level structure in the background to achieve short recovery time after a system crash. ChameleonDB's hybrid structure is designed to be able to absorb sudden bursts of a write workload, which helps avoid long-tail read latency.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 18 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- GPM: leveraging persistent memory from a GPU 引用了 MatrixKV: Reducing Write Stalls and Write Amplification in LSM-tree Based KV Stores with Matrix Container in NVM
- GPM: leveraging persistent memory from a GPU 引用了 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 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- 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
- Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent Memory 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Demystifying CXL Memory with Genuine CXL-Ready Systems and Devices 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Demystifying CXL Memory with Genuine CXL-Ready Systems and Devices 引用了 Characterizing the performance of intel optane persistent memory: a close look at its on-DIMM buffering
- Demystifying CXL Memory with Genuine CXL-Ready Systems and Devices 引用了 MatrixKV: Reducing Write Stalls and Write Amplification in LSM-tree Based KV Stores with Matrix Container in NVM
- Demystifying CXL Memory with Genuine CXL-Ready Systems and Devices 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction 引用了 Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent Memory
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
引用它的顶会 Paper18
- Demystifying CXL Memory with Genuine CXL-Ready Systems and DevicesYan Sun, Yifan Yuan, Zeduo Yu, Reese Kuper 等MICRO 2023 · 133 次引用
- 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 次引用
- Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent MemoryJing Wang, Youyou Lu, Qing Wang, Minhui Xie 等USENIX ATC 2022 · 44 次引用
- GPM: leveraging persistent memory from a GPUShweta Pandey, Aditya K. Kamath, Arkaprava BasuASPLOS 2022 · 18 次引用
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA AbstractionQing Wang, Youyou Lu, Jing Wang, Jiwu ShuOSDI 2023 · 14 次引用
它引用的 Paper6
- 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 次引用
- FPGA-Accelerated Compactions for LSM-based Key-Value StoreTeng Zhang, Jianying Wang, Xuntao Cheng, Hao Xu 等FAST 2020 · 99 次引用
- SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value StoresAlexander Conway, Abhishek Gupta, Vijay Chidambaram, Martin Farach-Colton 等USENIX ATC 2020 · 90 次引用
相关 Paper
- Viper: An Efficient Hybrid PMem-DRAM Key-Value StoreLawrence Benson, Hendrik Makait, Tilmann RablVLDB 2021 · 86 次引用
- Redesigning High-Performance LSM-based Key-Value Stores with Persistent CPU CachesYijie Zhong, Zhirong Shen, Zixiang Yu, Jiwu ShuICDE 2023 · 8 次引用
- Rethinking key-value store for byte-addressable optane persistent memorySung-Ming Wu, Li-Pin ChangDAC 2022 · 3 次引用
- Plush: A Write-Optimized Persistent Log-Structured Hash-TableLukas Vogel, Alexander van Renen, Satoshi Imamura, Jana Giceva 等VLDB 2022 · 27 次引用
- DStore: A Fast, Tailless, and Quiescent-Free Object Store for PMEMShashank Gugnani, Xiaoyi LuHPDC 2021 · 2 次引用
