TY - GEN
T1 - Dual-KV
T2 - 50th International Conference on Parallel Processing Workshop, ICPP 2021
AU - Ke, Zong Ming
AU - Li, Yun Ze
AU - Chang, Da Wei
N1 - Funding Information:
This work is partially support by Ministry of Science and Technology, Taiwan under the grant numbers 107-2221-E-006 -044 -MY3 and 110-2221-E-006 -085 -MY3.
Publisher Copyright:
© 2021 Association for Computing Machinery. All rights reserved.
PY - 2021/8/9
Y1 - 2021/8/9
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=85115950628&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85115950628&partnerID=8YFLogxK
U2 - 10.1145/3458744.3473350
DO - 10.1145/3458744.3473350
M3 - Conference contribution
AN - SCOPUS:85115950628
T3 - ACM International Conference Proceeding Series
BT - 50th International Conference on Parallel Processing Workshop, ICPP 2021 - Proceedings
PB - Association for Computing Machinery
Y2 - 9 August 2021 through 12 August 2021
ER -