Dual-KV: Improving Performance of Key-value Caches on Multilevel Cell Non-volatile Memory

Zong Ming Ke, Yun Ze Li, Da Wei Chang

研究成果: Conference contribution

摘要

In-memory key-value caches are widely used by web applications to reduce latencies of database queries. In recent years, multilevel cell (MLC) technology has been used in various emerging nonvolatile memories (NVM), allowing the building of large-scale main memory in a computing system. Building key-value caches on NVM, instead of DRAM, not only prevents cache data loss due to power outage but also improves the cache hit rate. However, it could lead to degraded performance due to the inferior write performance of NVM, compared to that of DRAM. To address this problem, previous studies focus on reducing the amount of NVM writes. In this paper, we propose Dual-KV, a method to improve performance of MLC NVM key-value caches. Different from previous studies, Dual-KV achieves the performance improvement by exploiting the write-latency/retention-time trade-off of MLC NVM. In MLC NVM, write latency increases with the retention time. The basic idea of Dual-KV is to adopt short-latency-and-short-retention writes (i.e., fast writes) for frequently updated data items while using longlatency- and-long-retention writes (i.e., slow writes) for the other data items. The experiment results show that Dual-KV improves throughput by up to 43% and 83% for single-thread and 16-thread YCSB workloads, respectively. Moreover, Dual-KV is designed to be integrated into existing key-value caches easily. Integrating Dual- KV into Memcached, a widely-used key-value cache, requires less than 30 lines of code modifications.

原文English
主出版物標題50th International Conference on Parallel Processing Workshop, ICPP 2021 - Proceedings
發行者Association for Computing Machinery
ISBN(電子)9781450384414
DOIs
出版狀態Published - 2021 8月 9
事件50th International Conference on Parallel Processing Workshop, ICPP 2021 - Virtual, Online, United States
持續時間: 2021 8月 92021 8月 12

出版系列

名字ACM International Conference Proceeding Series

Conference

Conference50th International Conference on Parallel Processing Workshop, ICPP 2021
國家/地區United States
城市Virtual, Online
期間21-08-0921-08-12

All Science Journal Classification (ASJC) codes

  • 軟體
  • 人機介面
  • 電腦視覺和模式識別
  • 電腦網路與通信

指紋

深入研究「Dual-KV: Improving Performance of Key-value Caches on Multilevel Cell Non-volatile Memory」主題。共同形成了獨特的指紋。

引用此