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] HotRing: A Hotspot-Aware In-Memory Key-Value Store
    Chen, Jiqiang
    Chen, Liang
    Wang, Sheng
    Zhu, Guoyun
    Sun, Yuanyuan
    Liu, Huan
    Li, Feifei
    PROCEEDINGS OF THE 18TH USENIX CONFERENCE ON FILE AND STORAGE TECHNOLOGIES, 2020, : 239 - 252
  • [2] 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
  • [3] Size-aware Sharding For Improving Tail Latencies in In-memory Key-value Stores
    Didona, Diego
    Zwaenepoel, Willy
    PROCEEDINGS OF THE 16TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION, 2019, : 79 - 93
  • [4] Poster: Load Balancing for In-Memory Key-Value Data Stores
    Azqueta-Alzuaz, Ainhoa
    Pahno-Martinez, Marta
    2024 IEEE 44TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, ICDCS 2024, 2024, : 1442 - 1443
  • [5] Hardening In-memory Key-value Stores against ECC-uncorrectable Memory Errors
    Shimomura, Tsuyoshi
    Yamada, Hiroshi
    2022 52ND ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS (DSN 2022), 2022, : 509 - 521
  • [6] Lightweight Replication Through Remote Backup Memory Sharing for In-Memory Key-Value Stores
    Wang, Yandong
    Zhang, Li
    Hack, Michel
    Ren, Yufei
    Li, Min
    2017 IEEE 25TH INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS, AND SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS), 2017, : 53 - 62
  • [7] Aria: Tolerating Skewed Workloads in Secure In-memory Key-value Stores
    Yang, Fan
    Chen, Youmin
    Lu, Youyou
    Wang, Qing
    Shu, Jiwu
    2021 IEEE 37TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2021), 2021, : 1020 - 1031
  • [8] A One-Year Perspective on Exposed In-memory Key-Value Stores
    Fiebig, Tobias
    Feldmann, Anja
    Petschick, Matthias
    PROCEEDINGS OF THE 2016 ACM WORKSHOP ON AUTOMATED DECISION MAKING FOR ACTIVE CYBER DEFENSE (SAFECONFIG'16), 2016, : 17 - 22
  • [9] 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
  • [10] R-Memcached: A Reliable In-Memory Cache for Big Key-Value Stores
    Liu, Chengjian
    Ouyang, Kai
    Chu, Xiaowen
    Liu, Hai
    Leung, Yiu-Wing
    TSINGHUA SCIENCE AND TECHNOLOGY, 2015, 20 (06) : 560 - 573