[Paper Review] Enabling Efficient RDMA-based Synchronous Mirroring of Persistent Memory Transactions
This paper proposes new RDMA primitives and two novel techniques—ordered buffering and non-temporal remote writes—for efficient, synchronous mirroring of persistent memory transactions. By leveraging RDMA's asynchronous capabilities and improving ordering and durability guarantees, the authors achieve 1.8x and 2.9x performance improvements over remote commit-based SM, respectively.
Synchronous Mirroring (SM) is a standard approach to building highly-available and fault-tolerant enterprise storage systems. SM ensures strong data consistency by maintaining multiple exact data replicas and synchronously propagating every update to all of them. Such strong consistency provides fault tolerance guarantees and a simple programming model coveted by enterprise system designers. For current storage devices, SM comes at modest performance overheads. This is because performing both local and remote updates simultaneously is only marginally slower than performing just local updates, due to the relatively slow performance of accesses to storage in today's systems. However, emerging persistent memory and ultra-low-latency network technologies necessitate a careful re-evaluation of the existing SM techniques, as these technologies present fundamentally different latency characteristics compared than their traditional counterparts. In addition to that, existing low-latency network technologies, such as Remote Direct Memory Access (RDMA), provide limited ordering guarantees and do not provide durability guarantees necessary for SM. To evaluate the performance implications of RDMA-based SM, we develop a rigorous testing framework that is based on emulated persistent memory. Our testing framework makes use of two different tools: (i) a configurable microbenchmark and (ii) a modified version of the WHISPER benchmark suite, which comprises a set of common cloud applications. Using this framework, we find that recently proposed RDMA primitives, such as remote commit, provide correctness guarantees, but do not take full advantage of the asynchronous nature of RDMA hardware. To this end, we propose new primitives enabling efficient and correct SM over RDMA, and use these primitives to develop two new techniques delivering high-performance SM of persistent memories.
Motivation & Objective
- To address the growing performance gap between local and remote updates in persistent memory systems, where traditional synchronous mirroring (SM) becomes prohibitively expensive.
- To evaluate the performance implications of using RDMA for SM in persistent memory workloads, given RDMA's limited ordering and durability guarantees.
- To design new hardware primitives and system techniques that fully exploit RDMA's asynchronous nature for efficient, correct SM over persistent memory.
- To enable high-performance, strongly consistent data replication in enterprise storage systems using emerging persistent memory and low-latency networks.
Proposed method
- Developed a rigorous testing framework using emulated persistent memory, combining a configurable microbenchmark and a modified WHISPER benchmark suite with SM support.
- Proposed two new SM techniques: (1) ordered buffering to manage remote write ordering, and (2) non-temporal remote writes to ensure durability and ordering without blocking.
- Designed new RDMA primitives that decouple ordering and durability from remote write execution, enabling concurrent and efficient data replication.
- Evaluated the new techniques against a remote commit-based baseline, measuring performance across diverse cloud workloads with varying write patterns and transaction structures.
- Used microbenchmarks and real-world applications (e.g., echo, hashmap) to analyze write frequency, epoch size, and transaction characteristics to guide optimization.
- Focused on minimizing remote update overhead by exploiting RDMA’s one-sided, asynchronous memory access model while ensuring crash consistency.
Experimental results
Research questions
- RQ1How do existing RDMA primitives like remote commit affect the performance and correctness of synchronous mirroring in persistent memory systems?
- RQ2To what extent can the asynchronous nature of RDMA hardware be leveraged to improve the performance of persistent memory mirroring?
- RQ3What new primitives and system techniques are required to ensure correct ordering and durability in RDMA-based SM for persistent memory?
- RQ4How do varying application workloads—especially those with low write frequency and fine-grained updates—affect the performance of different SM designs?
- RQ5Can new SM techniques outperform remote commit-based SM in terms of throughput and latency while maintaining strong consistency guarantees?
Key findings
- The proposed ordered buffering technique outperforms remote commit-based SM by 1.8x in end-to-end application performance.
- The non-temporal remote write technique achieves a 2.9x performance improvement over the remote commit baseline.
- Workloads with low write frequency (e.g., 1.4 writes per epoch) and fine-grained updates (often one cacheline per epoch) benefit most from the new techniques.
- Remote commit, while correct, underutilizes RDMA’s asynchronous capabilities, leading to unnecessary serialization and performance bottlenecks.
- The performance gap between local and remote updates widens significantly with persistent memory, making efficient SM critical for system viability.
- The new primitives and techniques effectively decouple ordering and durability from remote write execution, enabling high concurrency and low latency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.