Hotspot-Aware Hybrid Memory Management for In-Memory Key-Value Stores

被引:12
作者
Jin, Hai [1 ]
Li, Zhiwei [1 ]
Liu, Haikun [1 ]
Liao, Xiaofei [1 ]
Zhang, Yu [1 ]
机构
[1] Huazhong Univ Sci & Technol, Serv Comp Technol & Syst Lab, Natl Engn Res Ctr Big Data Technol & Syst, Cluster & Grid Comp Lab,Sch Comp Sci & Technol, Wuhan 430074, Peoples R China
基金
中国国家自然科学基金;
关键词
Random access memory; Nonvolatile memory; Slabs; Memory management; Metadata; Resource management; Indexes; In-memory key-value store; non-volatile memory; hybrid memory system;
D O I
10.1109/TPDS.2019.2945315
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Emerging Non-Volatile Memory (NVM) technologies promise much higher memory density and energy efficiency than DRAM, at the expense of higher read/write latency and limited write endurance. Hybrid memory systems composed of DRAM and NVM have the potential to provide very large capacity of main memory for in-memory key-value (K-V) stores. However, there remains challenges to directly deploy DRAM-based K-V stores in hybrid memory systems. The performance and energy efficiency of K-V stores on hybrid memory systems have not been fully explored yet. In this paper, we propose HMCached, an in-memory K-V store built on a hybrid DRAM/NVM system. HMCached utilizes an application-level data access counting mechanism to identify frequently-accessed (hotspot) objects (i.e., K-V pairs) in NVM, and migrates them to fast DRAM to reduce the costly NVM accesses. We also propose an NVM-friendly index structure to store the frequently-updated portion of object metadata in DRAM, and thus further mitigate the NVM accesses. Moreover, we propose a benefit-aware memory reassignment policy to address the slab calcification problem in slab-based K-V store systems, and significantly improve the benefit gain from the DRAM. We implement the proposed schemes with Memcached and evaluate it with Zipfian-like workloads. Experiment results show that HMCached significantly reduces NVM accesses by 70 percent compared to the vanilla Memcached running on a DRAM/NVM hybrid memory system without any optimizations, and improves application performance by up to 50 percent. Moreover, compared to a DRAM-only system, HMCached achieves 90 percent of performance and 46 percent reduction of energy consumption for realistic (read-intensive) workloads while significantly reducing the DRAM usage by 75 percent.
引用
收藏
页码:779 / 792
页数:14
相关论文
共 50 条
  • [41] HMFS: A hybrid in-memory file system with version consistency
    Liu, Hao
    Huang, Linpeng
    Zhu, Yanmin
    Zheng, Shengan
    Shen, Yanyan
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2018, 117 : 18 - 36
  • [42] 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
  • [43] Dual-KV: Improving Performance of Key-value Caches on Multilevel Cell Non-volatile Memory
    Ke, Zong-Ming
    Li, Yun-Ze
    Chang, Da-Wei
    50TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOP PROCEEDINGS - ICPP WORKSHOPS '21, 2021,
  • [44] NVLSM: A Persistent Memory Key-Value Store Using Log-Structured Merge Tree with Accumulative Compaction
    Zhang, Baoquan
    Du, David H. C.
    ACM TRANSACTIONS ON STORAGE, 2021, 17 (03)
  • [45] ThanosKV: A Holistic Approach to Utilize NVM for LSM-tree based Key-Value Stores
    Zhao, Guangxun
    Shin, Hojin
    Yoo, Seehwan
    Cho, Seong-je
    Choi, Jongmoo
    2024 IEEE INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING, IEEE BIGCOMP 2024, 2024, : 143 - 150
  • [46] Extending SSD Lifetime with Persistent In-memory Metadata Management
    Wei, Qingsong
    Chen, Cheng
    Xue, Mingdi
    Wang, Chundong
    Yang, Jun
    2016 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER), 2016, : 308 - 311
  • [47] Handling multi-dimensional complex queries in key-value data stores
    Sun, Hailong
    Tang, Yu
    Wang, Qi
    Liu, Xudong
    INFORMATION SYSTEMS, 2017, 66 : 82 - 96
  • [48] Addressing the Read-Performance Impact of Reconfigurations in Replicated Key-Value Stores
    Papaioannou, Antonis
    Magoutis, Kostas
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2022, 33 (09) : 2106 - 2119
  • [49] Storage-aware Network Stack for NVM-assisted Key-value Store
    Chen, Shiyan
    Li, Dagang
    Chen, Xiaogang
    Han, Wenbing
    Zeng, Deze
    2018 27TH INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND NETWORKS (ICCCN), 2018,
  • [50] Improving Write Performance for LSM-tree-based Key-Value Stores with NV-Cache
    Jiang, Xuzhen
    Cai, Miao
    Ye, Baotiu
    2022 IEEE INTL CONF ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, BIG DATA & CLOUD COMPUTING, SUSTAINABLE COMPUTING & COMMUNICATIONS, SOCIAL COMPUTING & NETWORKING, ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM, 2022, : 394 - 401