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] CubicRing: Exploiting Network Proximity for Distributed In-Memory Key-Value Store
    Zhang, Yiming
    Li, Dongsheng
    Guo, Chuanxiong
    Wu, Haitao
    Xiong, Yongqiang
    Lu, Xicheng
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2017, 25 (04) : 2040 - 2053
  • [42] KVSEV: A Secure In-Memory Key-Value Store with Secure Encrypted Virtualization
    You, Junseung
    Lee, Kyeongryong
    Moon, Hyungon
    Cho, Yeongpil
    Paek, Yunheung
    PROCEEDINGS OF THE 2023 ACM SYMPOSIUM ON CLOUD COMPUTING, SOCC 2023, 2023, : 233 - 248
  • [43] Cache-Conscious Data Placement in an In-Memory Key-Value Store
    Tinnefeld, Christian
    Zeier, Alexander
    Plattner, Hasso
    PROCEEDINGS OF THE 15TH INTERNATIONAL DATABASE ENGINEERING & APPLICATIONS SYMPOSIUM (IDEAS '11), 2011, : 134 - 142
  • [44] UDORN: A Design Framework of Persistent In-Memory Key-value Database for NVM
    Chen, Xianzhang
    Sha, Edwin H. -M.
    Abdullah, Ahmad
    Zhuge, Qingfeng
    Wu, Lin
    Yang, Chaoshu
    Jiang, Weiwen
    2017 IEEE 6TH NON-VOLATILE MEMORY SYSTEMS AND APPLICATIONS SYMPOSIUM (NVMSA 2017), 2017,
  • [45] ZipKV: In-Memory Key-Value Store with Built-In Data Compression
    Ma, Linsen
    Xie, Rui
    Zhang, Tong
    PROCEEDINGS OF THE 2023 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT, ISMM 2023, 2023, : 150 - 162
  • [46] 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
  • [47] NStore: A High-Performance NUMA-Aware Key-Value Store for Hybrid Memory
    Wang, Zhonghua
    Lu, Kai
    Wan, Jiguang
    Jiang, Hong
    Zhao, Zeyang
    Xu, Peng
    Lai, Biliang
    Li, Guokuan
    Xie, Changsheng
    IEEE TRANSACTIONS ON COMPUTERS, 2025, 74 (03) : 929 - 943
  • [48] XTENSTORE: Fast Shielded In-memory Key-Value Store on a Hybrid x86-FPGA System
    Oh, Hyunyoung
    Hwang, Dongil
    Malenko, Maja
    Cho, Myunghyun
    Moon, Hyungon
    Baunach, Marcel
    Paek, Yunheung
    PROCEEDINGS OF THE 2022 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2022), 2022, : 560 - 563
  • [49] Replicating Persistent Memory Key-Value Stores with E fficient RDMA Abstraction
    Wang, Qing
    Lu, Youyou
    Wang, Jing
    Shu, Jiwu
    PROCEEDINGS OF THE 17TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, OSDI 2023, 2023, : 441 - 459
  • [50] Parallax: Hybrid Key-Value Placement in LSM-based Key-Value Stores
    Xanthakis, Giorgos
    Saloustros, Giorgos
    Batsaras, Nikos
    Papagiannis, Anastasios
    Bilas, Angelos
    PROCEEDINGS OF THE 2021 ACM SYMPOSIUM ON CLOUD COMPUTING (SOCC '21), 2021, : 305 - 318