ChameleonDB: a Key-value Store for Optane Persistent Memory

被引:50
|
作者
Zhang, Wenhui [1 ]
Zhao, Xingsheng [1 ]
Jiang, Song [1 ]
Jiang, Hong [1 ]
机构
[1] Univ Texas Arlington, Arlington, TX 76019 USA
来源
PROCEEDINGS OF THE SIXTEENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS (EUROSYS '21) | 2021年
基金
美国国家科学基金会;
关键词
key-value store; persistent-memory; Optane DC;
D O I
10.1145/3447786.3456237
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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. Our experiment results show that ChameleonDB improves write throughput by 3.3x and reduces read latency by around 60% compared with a legacy LSM-tree based KV store design. ChameleonDB provides performance competitive even with KV stores using fully in-DRAM index by using much less DRAM space. Compared with CCEH, a persistent hash table design, ChameleonDB provides 6.4x higher write throughput.
引用
收藏
页码:194 / 209
页数:16
相关论文
共 50 条
  • [1] Rethinking Key-Value Store for Byte-Addressable Optane Persistent Memory
    Wu, Sung-Ming
    Chang, Li-Pin
    PROCEEDINGS OF THE 59TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, DAC 2022, 2022, : 805 - 810
  • [2] A Multicore-Friendly Persistent Memory Key-Value Store
    Wang Q.
    Zhu B.
    Shu J.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2021, 58 (02): : 397 - 405
  • [3] LibreKV: A Persistent in-Memory Key-Value Store
    Liu, Hao
    Huang, Linpeng
    Zhu, Yanmin
    Shen, Yanyan
    IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTING, 2020, 8 (04) : 916 - 927
  • [4] HyperKV: A High Performance Concurrent Key-Value Store for Persistent Memory
    Sun, Penghao
    Xue, Dongliang
    You, Litong
    Yan, Yan
    Huang, Linpeng
    19TH IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2021), 2021, : 125 - 134
  • [5] PetaKV: Building Efficient Key-Value Store for File System Metadata on Persistent Memory
    Zhang, Yiwen
    Zhou, Jian
    Min, Xinhao
    Ge, Song
    Wan, Jiguang
    Yao, Ting
    Wang, Daohui
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2023, 34 (03) : 843 - 855
  • [6] CRAST: Crash-resilient data management for a key-value store in persistent memory
    Han, Youil
    Lee, Eunji
    IEICE ELECTRONICS EXPRESS, 2018, 15 (23):
  • [7] KVell: the Design and Implementation of a Fast Persistent Key-Value Store
    Lepers, Baptiste
    Balmau, Oana
    Gupta, Karan
    Zwaenepoel, Willy
    PROCEEDINGS OF THE TWENTY-SEVENTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES (SOSP '19), 2019, : 447 - 461
  • [8] Zone-Aware Persistent Deletion for Key-Value Store Engine
    Nie, Shigiang
    Lei, Tong
    Li, Menghan
    Niu, Jie
    Liu, Song
    Wu, Weiguo
    2024 13TH NON-VOLATILE MEMORY SYSTEMS AND APPLICATIONS SYMPOSIUM, NVMSA 2024, 2024, : 25 - 30
  • [9] Evaluating Intel 3D-Xpoint NVDIMM Persistent Memory in the context of a Key-Value Store
    Waddington, Daniel
    Dickey, Clem
    Xu, Luna
    Janssen, Travis
    Tran, Jantz
    Kshitij, Doshi
    2020 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE (ISPASS), 2020, : 202 - 211
  • [10] FastStore: A High-Performance RDMA-enabled Distributed Key-Value Store with Persistent Memory
    Xiong, Ziwei
    Jiang, Dejun
    Xiong, Jin
    2023 IEEE 43RD INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, ICDCS, 2023, : 406 - 417