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 条
  • [21] Multi-Tenant In-Memory Key-Value Cache Partitioning Using Efficient Random Sampling-Based LRU Model
    Wang, Yuchen
    Yang, Junyao
    Wang, Zhenlin
    IEEE TRANSACTIONS ON CLOUD COMPUTING, 2023, 11 (04) : 3601 - 3618
  • [22] DWARM: A wear-aware memory management scheme for in-memory file systems
    Wu, Lin
    Zhuge, Qingfeng
    Sha, Edwin Hsing-Mean
    Chen, Xianzhang
    Cheng, Linfeng
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2018, 88 : 1 - 15
  • [23] Ultra-Low-Latency and Flexible In-Memory Key-Value Store System Design on CPU-FPGA
    Qiu, Yunhui
    Lv, Hankun
    Xie, Jinyu
    Yin, Wenbo
    Wang, Lingli
    2018 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT 2018), 2018, : 145 - 152
  • [24] HPDK: A Hybrid PM-DRAM Key-Value Store for High I/O Throughput
    Liu, Bihui
    Ye, Zhenyu
    Hu, Qiao
    Hu, Yupeng
    Hu, Yuchong
    Xu, Yang
    Li, Keqin
    IEEE TRANSACTIONS ON COMPUTERS, 2024, 73 (06) : 1575 - 1587
  • [25] 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
  • [26] NVHT: An Efficient Key-Value Storage Library for Non-Volatile Memory
    Zhou, Jie
    Shen, Yanyan
    Li, Sumin
    Huang, Linpeng
    2016 3RD IEEE/ACM INTERNATIONAL CONFERENCE ON BIG DATA COMPUTING, APPLICATIONS AND TECHNOLOGIES (BDCAT), 2016, : 227 - 236
  • [27] NVHT: An efficient key-value storage library for non-volatile memory
    Huang, Kaixin
    Zhou, Jie
    Huang, Linpeng
    Shen, Yanyan
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2018, 120 : 339 - 354
  • [28] A Scalable and Persistent Key-Value Store Using Non-Volatile Memory
    Kim, Doyoung
    Choi, Won Gi
    Sung, Hanseung
    Park, Sanghyun
    SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING, 2019, : 464 - 467
  • [29] FULL-KV: Flexible and Ultra-Low-Latency In-Memory Key-Value Store System Design on CPU-FPGA
    Qiu, Yunhui
    Xie, Jinyu
    Lv, Hankun
    Yin, Wenbo
    Luk, Wai-Shing
    Wang, Lingli
    Yu, Bowei
    Chen, Hua
    Ge, Xianjun
    Liao, Zhijian
    Shi, Xiaozhong
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2020, 31 (08) : 1828 - 1844
  • [30] Improving Bank-Level Parallelism for In-Memory Checkpointing in Hybrid Memory Systems
    Liao, Xiaofei
    Zhang, Zhan
    Liu, Haikun
    Jin, Hai
    IEEE TRANSACTIONS ON BIG DATA, 2022, 8 (02) : 289 - 301