UEC Congestion Control: Overcoming RoCEv2 Limits in Lossless Design
In AI data centers, the construction of large-scale GPU clusters utilizing 800G and 1.6T optical modules is currently underway.
While RoCEv2-based RDMA communication is widely used in these environments, the scaling of network size has made addressing tail latency and PFC storms—challenges inherent to conventional ECN/PFC-based congestion control—increasingly difficult.
Against this backdrop, the next-generation lossless network architecture proposed by the Ultra Ethernet Consortium (UEC) is attracting growing interest.
This article outlines the structural challenges of RoCEv2 and explains the UEC’s design philosophy, implementation mechanisms, and the associated memory requirements.
Structural Limits of RoCEv2
RoCEv2 is widely adopted in AI and HPC clusters as a technology that enables RDMA communication while leveraging existing Ethernet infrastructure. Existing congestion control mechanisms, which combine ECN and PFC, face limitations as they are now required to handle traffic volumes far exceeding the original design assumptions.
In AI training clusters specifically, massive inter-GPU communication occurs via 800G and 1.6T optical modules; this traffic volume significantly impacts the training efficiency of the entire system.
Congestion Control Mechanisms: ECN/PFC and DCQCN
In RoCEv2, transmission rates are adjusted by marking the ECN field in the IP header when congestion occurs and sending a notification packet from the receiver back to the sender. Concurrently, PFC transmits pause signals for specific priority classes at Ethernet Layer 2 to prevent packet loss caused by buffer overflows. DCQCN incorporates this ECN feedback into an AIMD algorithm at the NIC level; it throttles the transmission rate upon detecting congestion and allows for a gradual recovery once congestion subsides.
Congestion Imbalance Caused by PFC Storms and ECMP
PFC pause signals propagate sequentially from the congested port to upstream switches, potentially triggering a “PFC storm” where multiple ports enter a paused state simultaneously. In extreme cases, a circular dependency of packet transmission waits can develop between switches, leading to a deadlock. Communication patterns involving a small number of long-duration, high-volume flows—typical of AI training—tend to cause traffic concentration on specific links as ECMP distributes traffic based on individual flows. This makes resolving congestion imbalances difficult.
Large-scale AI data centers experience intensive traffic patterns such as All-Reduce communication; path distribution via ECMP alone may be insufficient to achieve adequate load balancing.
Increase in Tail Latency Due to Reactive Control
Existing congestion control mechanisms, such as DCQCN, employ a reactive approach in which transmission rates are adjusted only after detecting ECN markings following a packet’s passage through a switch. An inherent propagation delay exists between congestion onset and rate adjustment, making tail latency—the completion time of the slowest flow—the primary concern. In communication environments connecting hundreds of thousands of endpoints, delays in even a subset of flows can stall the entire process. This increase in latency is a critical design challenge.
UEC’s Lossless Architecture
Given these structural constraints, UEC aims to reduce the role of the switch as much as possible. It centralizes control logic on the endpoint NIC side rather than adding new functions to the switch. A wholesale redesign of how congestion itself is handled is a defining feature of this approach, including packet-level multipath forwarding and a reconsideration of ordering guarantees.
Reduction of Switch Functions and Stateless NIC-Centric Design
UEC centralizes complex decisions and state maintenance related to congestion control in the endpoint-side NIC. It avoids adding new processing to the switch. A design requiring the switch to maintain a large amount of flow state will limit scalability in environments that handle hundreds of thousands of endpoints. By limiting the switch to basic forwarding functions and leaving complex processing to the stateless mechanism on the NIC side, UEC is creating an architecture that can withstand large-scale operations.
Per-Packet Multipath and Out-of-Order Tolerance
Conventional ECMP fixes routes on a flow-by-flow basis, which can cause elephant flows to concentrate on a single path, leaving other links underutilized. UEC uses packet spraying, in which the source NIC dynamically distributes individual packets to multiple paths, aiming to use the available bandwidth more evenly. When routes are distributed on a packet-by-packet basis, arrival order will change. UEC is designed to allow for this, and the receiving NIC is responsible for reordering.
Telemetry-Based Congestion Signaling
The UEC architecture is premised on the continuous collection of detailed state information—such as queue occupancy, link utilization, and round-trip time—to detect signs of congestion earlier and more accurately. Granular information is exchanged between endpoints regarding congestion severity and location, rather than simple binary signals. This telemetry-centric design enables precise transmission rate adjustments. There is growing recognition that accurate congestion assessment accuracy becomes increasingly critical as communication scale grows.
In recent years, operational optimization has increasingly relied on not only diagnostic and telemetry data from network switches but also on information obtained from SmartNICs and optical modules.
Implementing UEC
Several specific implementation mechanisms support the design philosophy mentioned above. Key components include PDC (which rethinks the connection management method itself), selective retransmission and packet trimming (to streamline recovery from packet loss), and a redefinition of the respective roles played by NICs and switches.
Transitioning to Dynamic Connection Management via PDC
Conventional RoCEv2 employs a method where persistent Queue Pairs are established for each communicating endpoint, with state information maintained for the entire duration of the connection. In environments where communication peers reach hundreds of thousands, maintaining persistent connection states imposes a significant memory burden on the NIC. UEC adopts PDC, a mechanism that dynamically creates connections only when needed and promptly releases them, achieving flexible scalability.
Improving Retransmission Efficiency through Selective Retransmission and Packet Trimming
When packet loss occurs, UEC selectively retransmits only the lost data segments. This method significantly reduces wasteful retransmission traffic compared to conventional methods. Packet trimming is also employed; during congestion, the switch discards only the packet payload while forwarding the header. This informs the receiver that packet loss has occurred and indicates its location while preventing retransmission cascades. These mechanisms reduce congestion recovery time.
Design Impact of Redefining Roles Between NICs and Switches
PDC dynamic connection management, along with selective retransmission and packet trimming, is designed to shift responsibility for decision-making and state maintenance toward the endpoint (the NIC). The role of the switch is evolving toward high-speed forwarding and the collection and reporting of telemetry data. This shift affects not only switch and NIC internal buffer designs and processing methods but also the implementation of memory used to store congestion statistics and configuration parameters.
It is also suggested that, as SmartNICs and DPUs take on more functions, the primary locus of network control may shift inside the server itself.
Memory Requirements for Next-Gen Congestion Control
Advanced congestion control necessitates changes in the data handled within network equipment. Congestion statistics, telemetry information, and dynamically adjusted thresholds and parameters require frequent updates while also needing preservation during power outages; selecting the appropriate memory to support these requirements is becoming a critical consideration.
High-Frequency Updates of Statistics/Telemetry Data and Memory Endurance
Advanced congestion control requires the continuous recording of internal statistics such as congestion event counts, packet drop counters, and error counters. Because these values are updated frequently—ranging from intervals of a few seconds to a few minutes—yet must persist even when power is lost, writing to non-volatile memory is unavoidable. For telecommunications equipment intended for long-term use, write endurance itself becomes a crucial constraint in component selection. Similar requirements apply to 800G and 1.6T optical modules designed for AI data centers.
Non-volatile Retention of Congestion Thresholds and Configuration Parameters
In operational networks, congestion control parameters—such as ECN marking thresholds and conditions for triggering PFC—are often dynamically adjusted based on traffic conditions. Settings are not rewritten as frequently as statistical data; however, failure to reliably restore them after a power cycle could prevent congestion control mechanisms from functioning as intended. Therefore, memory offering high write speeds, reliability, and guaranteed data retention following power loss is needed.
Furthermore, SmartNICs, DPUs, and optical modules require the retention of various configuration settings and diagnostic data after power-off, making highly reliable non-volatile memory essential.
The FeRAM Advantage: Endurance and Speed
FeRAM (Ferroelectric RAM, FRAM) emerges as a strong candidate. Unlike EEPROM, FeRAM offers exceptional write endurance, accommodating high-frequency updates with ample margin. Its write operations are also faster than EEPROM, minimizing the time required for recording tasks.
Modern optical modules require the retention of data such as:
・CMIS management information
・FEC error counters
・Link quality statistics
・Temperature history
・Event logs
・DSP configuration data
This information also requires frequent updates and long-term storage, making it a well-suited application for FeRAM’s high endurance and high-speed write capabilities.
Summary
As AI data centers scale up, RoCEv2-based networks demand increasingly sophisticated congestion control capabilities. UEC aims to address scalability and tail latency challenges through a new lossless architecture centered on the NIC.
In such next-generation networks, the utilization of telemetry information and various statistical data is becoming increasingly important.
FeRAM is a promising option not only for network equipment, SmartNICs, and DPUs but also for storing diagnostic information and operational data in 800G/1.6T optical modules.
RAMXEED FeRAM Product Lineup