Abstract
Remote Direct Memory Access (RDMA) is becoming widely available in data centers. This technology allows a process to directly read and write the memory of a remote host, with a mechanism to control access permissions. In this paper, we study the fundamental power of these capabilities. We consider the well-known problem of achieving consensus despite failures, and find that RDMA can improve the inherent trade-off in distributed computing between failure resilience and performance. Specifically, we show that RDMA allows algorithms that simultaneously achieve high resilience and high performance, while traditional algorithms had to choose one or another. With Byzantine failures, we give an algorithm that only requires $n \geq 2f_P + 1$ processes (where $f_P$ is the maximum number of faulty processes) and decides in two (network) delays in common executions. With crash failures, we give an algorithm that only requires $n \geq f_P + 1$ processes and also decides in two delays. Both algorithms tolerate a minority of memory failures inherent to RDMA, and they provide safety in asynchronous systems and liveness with standard additional assumptions.
Introduction: Breaking the Resilience-Performance Trade-off
In distributed systems, achieving consensus—agreement on a single value among multiple processes—is a foundational challenge. Historically, researchers have operated within a strict trade-off between message-passing and shared-memory models. Message-passing models are fast, often deciding in just two network delays, but they require high redundancy (e.g., $3f+1$ processes to survive $f$ Byzantine failures). Conversely, shared-memory models are more resilient, requiring only $2f+1$ processes, but are slower due to the need for multiple round-trips to verify writes.
"The Impact of RDMA on Agreement" explores how Remote Direct Memory Access (RDMA) technology fundamentally shifts these theoretical boundaries. By leveraging RDMA’s unique combination of message-passing and shared-memory capabilities—specifically its hardware-enforced dynamic permission system—the authors demonstrate that it is possible to achieve both high resilience and high performance simultaneously.
Methods: The M&M Model and Fast-Path Algorithms
The authors utilize the M&M (Message-and-Memory) model, treating the system as a hybrid where processes can both send messages and directly read/write remote memory. The core innovation lies in RDMA’s dynamic permissions, which act as a "trusted component" to prevent equivocation (a Byzantine process sending conflicting information to different peers).
Key algorithmic components include:
- Cheap Quorum: A "fast-path" algorithm that uses RDMA permissions to decide in 2 delays. A leader process revokes the write permissions of others before writing its proposal. A successful write serves as immediate proof of success, bypassing the traditional "read-after-write" verification.
- Robust Backup: A "slow-path" that ensures safety if the fast-path fails due to asynchrony or process failures. It utilizes a novel "Reliable Broadcast" primitive implemented over shared memory.
- Protected Memory Paxos: An evolution of Disk Paxos that reduces decision time from 4 delays to 2 by using RDMA permissions to skip verification steps.
Key Insights: The Power of Revocation
The primary insight is that RDMA hardware (the NIC) can enforce permissions dynamically. In traditional shared memory, a process must read back its own write to ensure it wasn't overwritten. With RDMA, if a process successfully revokes others' permissions first, the success of the subsequent write is itself the proof of commitment. This "revocation-before-write" pattern is what allows the reduction in network round-trips.
Furthermore, the paper introduces Agent Equivalence in its "Aligned Paxos" approach. By treating memory units and processes as equivalent "agents," the system can survive as long as a majority of the total components remain functional, significantly improving fault tolerance.
Key Results and Theoretical Impact
The paper's findings "violate" established impossibility results by operating in a model (M&M with dynamic permissions) that provides more power than standard message-passing or shared-memory models.
As shown in the comparison table above, the proposed algorithms achieve:
- Byzantine Resilience: Consensus with $n \ge 2f_p + 1$ processes in 2 delays (compared to $3f_p + 1$ in standard models).
- Crash Resilience: Consensus with $n \ge f_p + 1$ processes in 2 delays (compared to $2f_p + 1$ in standard models).
- Memory Fault Tolerance: Robustness against a minority of memory failures ($m \ge 2f_m + 1$).
Limitations and Future Work
While this work provides a strong theoretical foundation, it relies on the assumption that the RDMA NIC and local OS kernel correctly enforce permissions. If the hardware itself is Byzantine, safety guarantees may be compromised. Additionally, while the algorithms are safe in asynchronous settings, liveness still depends on standard assumptions like partial synchrony. Future work involves practical implementation and performance evaluation on physical RDMA-enabled clusters to bridge the gap between theory and systems engineering.
Summary updated