[Paper Review] Revisiting Network Support for RDMA
This paper proposes IRN (Improved RoCE NIC), a redesigned RDMA over Ethernet NIC that eliminates the need for Priority Flow Control (PFC) by enhancing loss recovery and adding end-to-end flow control. IRN achieves 6–83% better performance than standard RoCE with PFC, using only 3–10% additional NIC hardware resources, proving that lossless networks are not fundamentally required for high-performance RDMA.
The advent of RoCE (RDMA over Converged Ethernet) has led to a significant increase in the use of RDMA in datacenter networks. To achieve good performance, RoCE requires a lossless network which is in turn achieved by enabling Priority Flow Control (PFC) within the network. However, PFC brings with it a host of problems such as head-of-the-line blocking, congestion spreading, and occasional deadlocks. Rather than seek to fix these issues, we instead ask: is PFC fundamentally required to support RDMA over Ethernet? We show that the need for PFC is an artifact of current RoCE NIC designs rather than a fundamental requirement. We propose an improved RoCE NIC (IRN) design that makes a few simple changes to the RoCE NIC for better handling of packet losses. We show that IRN (without PFC) outperforms RoCE (with PFC) by 6-83% for typical network scenarios. Thus not only does IRN eliminate the need for PFC, it improves performance in the process! We further show that the changes that IRN introduces can be implemented with modest overheads of about 3-10% to NIC resources. Based on our results, we argue that research and industry should rethink the current trajectory of network support for RDMA.
Motivation & Objective
- To challenge the prevailing assumption that lossless networks via PFC are essential for high-performance RDMA over Ethernet.
- To address the performance and stability issues introduced by PFC, such as head-of-line blocking and congestion spreading.
- To design a minimal, incremental enhancement to current RoCE NICs that enables efficient loss recovery and end-to-end flow control without requiring network-level losslessness.
- To demonstrate that the architectural philosophy of iWARP—handling losses in the NIC—can be successfully adapted to RoCE with superior performance and lower complexity.
- To provide a rigorous evaluation of IRN’s performance, protocol extensions, and hardware resource overhead, showing it outperforms PFC-enabled RoCE in realistic scenarios.
Proposed method
- Redesign the RoCE NIC to implement more efficient loss recovery by treating out-of-order packets and NACKs as normal flow control signals rather than errors.
- Introduce end-to-end flow control by tracking in-flight packets using sequence numbers and credit-based mechanisms, limiting the number of unacknowledged packets.
- Modify the completion semantics of RDMA operations (e.g., Write with Immediate, Send, Atomic) to ensure correct ordering and completion even under packet loss.
- Support shared receive queues (SRQs) by dynamically allocating receive WQEs based on incoming packet sequence numbers, improving memory efficiency and correctness.
- Implement a state machine in the NIC that tracks packet order and only completes operations when all prior packets have arrived, using a bitmap to detect message completion.
- Ensure backward compatibility with existing RDMA semantics by guaranteeing that completion events are only generated after all required packets have been received and processed.
Experimental results
Research questions
- RQ1Can RDMA over Ethernet achieve high performance without requiring a lossless network fabric via PFC?
- RQ2What minimal changes to current RoCE NIC designs are sufficient to eliminate the dependency on PFC while maintaining or improving performance?
- RQ3How does the performance of an IRN-based RoCE system compare to standard RoCE with PFC across typical datacenter workloads?
- RQ4What is the hardware resource overhead of implementing IRN’s enhancements on a modern NIC?
- RQ5Can the iWARP philosophy of loss recovery in the NIC be successfully adapted to RoCE with better performance and lower complexity than original iWARP designs?
Key findings
- IRN outperforms standard RoCE with PFC by 6–83% across a range of typical network scenarios, demonstrating that PFC is not necessary for high performance.
- IRN eliminates PFC-related problems such as head-of-line blocking, congestion spreading, and deadlocks by design, improving network stability.
- The hardware resource overhead of implementing IRN is only 3–10% on current NICs, with no degradation in message rate or throughput.
- IRN maintains correct completion semantics for all RDMA operations, including Write with Immediate, Send, and Atomic, by ensuring completion only after all required packets have arrived.
- The design supports shared receive queues (SRQs) and end-to-end credit mechanisms without introducing new error conditions or complex state management.
- IRN’s approach is more efficient than original iWARP, which required a full TCP/IP stack on the NIC, by focusing on minimal, targeted enhancements to the simpler RoCE model.
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.