Replicating Persistent Memory Key-Value Stores with E fficient RDMA Abstraction

Qing Wang,Youyou Lu,Jing Wang,Jiwu Shu
DOI: https://doi.org/10.48550/arxiv.2209.09459
2023-01-01
Abstract:Combining persistent memory (PM) with RDMA is a promising approach to performant replicated distributed key-value stores (KVSs). However, existing replication approaches do not work well when applied to PM KVSs: 1) Using RPC induces software queueing and execution at backups, increasing request latency; 2) Using one-sided RDMA WRITE causes many streams of small PM writes, leading to severe device-level write amplification (DLWA) on PM. In this paper, we propose R owan, an e fficient RDMA abstraction to handle replication writes in PM KVSs; it aggregates concurrent remote writes from di fferent servers, and lands these writes to PM in a sequential (thus low DLWA) and one-sided (thus low latency) manner. We realize R owan with off-the-shelf RDMA NICs. Further, we build Rowan-KV, a log-structured PM KVS using R owan for replication. Evaluation shows that under write-intensive workloads, compared with PM KVSs using RPC and RDMA WRITE for replication, R owan-KV boosts throughput by 1.22 x and 1.39x as well as lowers median PUT latency by 1.77 x and 2.11 x, respectively, while largely eliminating DLWA.
What problem does this paper attempt to address?