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 条
  • [31] Characterization of Android Memory References and Implication to Hybrid Memory Management
    Lee, Soyoon
    Bahn, Hyokyung
    IEEE ACCESS, 2021, 9 : 60997 - 61009
  • [32] 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
  • [33] Memory Management for Billions of Small Objects in a Distributed In-Memory Storage
    Klein, Florian
    Beineke, Kevin
    Schoettner, Michael
    2014 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER), 2014, : 113 - 122
  • [34] Miss Penalty Aware Cache Replacement for Hybrid Memory Systems
    Jin, Hai
    Chen, Di
    Liu, Haikun
    Liao, Xiaofei
    Guo, Rentong
    Zhang, Yu
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2020, 39 (12) : 4669 - 4682
  • [35] Design and Simulation of Content-Aware Hybrid DRAM-PCM Memory System
    Fu, Yinjin
    Lu, Yutong
    Chen, Zhiguang
    Wu, Yang
    Xiao, Nong
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2022, 33 (07) : 1666 - 1677
  • [36] A Cost-Aware Object Management Method for In-Memory Computing Frameworks
    Wu, Chin-Hsien
    Chen, Chien-Wei
    Wang, Kai-Chun
    33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, : 1129 - 1132
  • [37] Towards Survivable In-Memory Stores with Parity Coded NVRAM
    Wang, Zhixuan
    Xu, Guangping
    Yang, Hongzhang
    Wu, Yulei
    2023 IEEE 22ND INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS, TRUSTCOM, BIGDATASE, CSE, EUC, ISCI 2023, 2024, : 956 - 963
  • [38] A unified framework for designing high performance in-memory and hybrid memory file systems
    Chen, Xianzhang
    Sha, Edwin H. -M.
    Zhuge, Qingfeng
    Jiang, Weiwen
    Chen, Junxi
    Chen, Jun
    Xu, Jun
    JOURNAL OF SYSTEMS ARCHITECTURE, 2016, 68 : 51 - 64
  • [39] Real-time analytics, hybrid transactional/analytical processing, in-memory data management, and non-volatile memory
    Kuznetsov, Sergey D.
    Velikhov, Pavel E.
    Fu, Qiang
    2020 IVANNIKOV ISPRAS OPEN CONFERENCE (ISPRAS 2020), 2020, : 78 - 90
  • [40] SplitDB: Closing the Performance Gap for LSM-Tree-Based Key-Value Stores
    Cai, Miao
    Jiang, Xuzhen
    Shen, Junru
    Ye, Baoliu
    IEEE TRANSACTIONS ON COMPUTERS, 2024, 73 (01) : 206 - 220