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 条
  • [1] 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
  • [2] Scaling Persistent In-Memory Key-Value Stores Over Modern Tiered, Heterogeneous Memory Hierarchies
    Cai, Miao
    Shen, Junru
    Yuan, Yifan
    Qu, Zhihao
    Ye, Baoliu
    IEEE TRANSACTIONS ON COMPUTERS, 2025, 74 (02) : 495 - 509
  • [3] SwapKV: A Hotness Aware In-Memory Key-Value Store for Hybrid Memory Systems
    Cui, Lixiao
    He, Kewen
    Li, Yusen
    Li, Peng
    Zhang, Jiachen
    Wang, Gang
    Liu, Xiaoguang
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (01) : 917 - 930
  • [4] A Case Study of a DRAM-NVM Hybrid Memory Allocator for Key-Value Stores
    Kim, Minjae
    Kim, Bryan S.
    Lee, Eunji
    Lee, Sungjin
    IEEE COMPUTER ARCHITECTURE LETTERS, 2022, 21 (02) : 81 - 84
  • [5] Fast In-Memory Key-Value Cache System with RDMA
    Ghen, Wei
    Yu, Songping
    Wang, Zhiying
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2019, 28 (05)
  • [6] BiloKey : A Scalable Bi-Index Locality-Aware In-Memory Key-Value Store
    Ma, Wenlong
    Zhu, Yuqing
    Li, Cheng
    Guo, Mengying
    Bao, Yungang
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2019, 30 (07) : 1528 - 1540
  • [7] Improving Memory Access Performance of In-Memory Key-Value Store Using Data Prefetching Techniques
    Zhu, PengFei
    Sun, GuangYu
    Wang, Peng
    Chen, MingYu
    ADVANCED PARALLEL PROCESSING TECHNOLOGIES, APPT 2015, 2015, 9231 : 1 - 17
  • [8] HAM: Hotspot-Aware Manager for Improving Communications With 3D-Stacked Memory
    Wang, Xi
    Tumeo, Antonino
    Leidel, John D.
    Li, Jie
    Chen, Yong
    IEEE TRANSACTIONS ON COMPUTERS, 2021, 70 (06) : 833 - 848
  • [9] Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores
    Fu, Xinwei
    Kim, Wook-Hee
    Shreepathi, Ajay Paddayuru
    Ismail, Mohannad
    Wadkar, Sunny
    Lee, Dongyoon
    Min, Changwoo
    PROCEEDINGS OF THE 28TH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, SOSP 2021, 2021, : 100 - 115
  • [10] High-Performance Remote Data Persisting for Key-Value Stores via Persistent Memory Region
    Luo, Yongping
    Jin, Peiquan
    Wang, Xiaoliang
    Chu, Zhaole
    Guo, Kuankuan
    Guo, Jinhui
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2024, 43 (11) : 3828 - 3839