ChameleonDB: a key-value store for optane persistent memory
Wenhui Zhang, Xingsheng Zhao, Song Jiang, Hong Jiang
Abstract
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.
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.
18 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
- GPM: leveraging persistent memory from a GPU cites 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 cites 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 cites 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 cites 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 cites 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 cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Demystifying CXL Memory with Genuine CXL-Ready Systems and Devices cites FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Demystifying CXL Memory with Genuine CXL-Ready Systems and Devices cites 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 cites 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 cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction cites FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction cites Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent Memory
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
Cited by top-tier papers18
- Demystifying CXL Memory with Genuine CXL-Ready Systems and DevicesYan Sun, Yifan Yuan, Zeduo Yu, Reese Kuper et al.MICRO 2023 · 133 citations
- Characterizing the performance of intel optane persistent memory: a close look at its on-DIMM bufferingLingfeng Xiang, Xingsheng Zhao, Jia Rao, Song Jiang et al.EuroSys 2022 · 56 citations
- Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent MemoryJing Wang, Youyou Lu, Qing Wang, Minhui Xie et al.USENIX ATC 2022 · 44 citations
- GPM: leveraging persistent memory from a GPUShweta Pandey, Aditya K. Kamath, Arkaprava BasuASPLOS 2022 · 18 citations
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA AbstractionQing Wang, Youyou Lu, Jing Wang, Jiwu ShuOSDI 2023 · 14 citations
Builds on6
- An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz et al.FAST 2020 · 470 citations
- 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 et al.USENIX ATC 2020 · 186 citations
- FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang et al.ASPLOS 2020 · 166 citations
- FPGA-Accelerated Compactions for LSM-based Key-Value StoreTeng Zhang, Jianying Wang, Xuntao Cheng, Hao Xu et al.FAST 2020 · 99 citations
- SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value StoresAlexander Conway, Abhishek Gupta, Vijay Chidambaram, Martin Farach-Colton et al.USENIX ATC 2020 · 90 citations
Related papers
- Viper: An Efficient Hybrid PMem-DRAM Key-Value StoreLawrence Benson, Hendrik Makait, Tilmann RablVLDB 2021 · 86 citations
- Redesigning High-Performance LSM-based Key-Value Stores with Persistent CPU CachesYijie Zhong, Zhirong Shen, Zixiang Yu, Jiwu ShuICDE 2023 · 8 citations
- Rethinking key-value store for byte-addressable optane persistent memorySung-Ming Wu, Li-Pin ChangDAC 2022 · 3 citations
- Plush: A Write-Optimized Persistent Log-Structured Hash-TableLukas Vogel, Alexander van Renen, Satoshi Imamura, Jana Giceva et al.VLDB 2022 · 27 citations
- DStore: A Fast, Tailless, and Quiescent-Free Object Store for PMEMShashank Gugnani, Xiaoyi LuHPDC 2021 · 2 citations
