Abstract
Machine learning (ML) workloads, particularly Large Language Models (LLMs) and Mixture-of-Experts (MoE) models, are evolving at a rate that outpaces networking hardware development. Standard RDMA transport protocols, implemented in rigid hardware, often suffer from flow collisions and suboptimal congestion control in high-bandwidth GPU clusters. This paper introduces UCCL (Ultra-CCL), an extensible software transport layer that decouples the network control path from the data path. By running control logic on host CPUs while maintaining high-speed data movement via NICs and GPUs, UCCL enables rapid innovation in congestion control and multipathing. Evaluations demonstrate up to a 4.5x performance boost for collective operations and significant latency improvements for modern ML workloads.
Introduction
The rapid advancement of LLMs and MoE models has created a performance mismatch with underlying networking hardware. RDMA NICs, while efficient, have their transport protocols "baked in," making them slow to adapt to the bursty, low-entropy traffic patterns typical of modern training. Standard hardware-based approaches often rely on single-path routing, leading to flow collisions where multiple data streams bottleneck on shared physical links. While some solutions involve expensive physical network redesigns, UCCL proposes a flexible, software-defined approach to host networking.
System Design and Methods
UCCL is a software-only transport layer positioned between collective libraries (e.g., NCCL) and NIC hardware. Its fundamental design principle is to separate the "brain" (control path) from the "brawn" (data path).
Key Technical Innovations
- Control/Data Decoupling: UCCL separates control headers from data payloads using specific RDMA primitives. It leverages "write with immediate" to send small control messages to the receiver's CPU, while bulk data is DMA-ed directly into GPU memory via GPUDirect.
- Control Coalescing: To minimize CPU overhead, UCCL makes transport decisions (e.g., congestion control, load balancing) for 32KB data "chunks" rather than individual packets. This allows a single CPU core to handle up to 400Gbps of traffic.
- Connection Splitting and Multipathing: Traffic is partitioned across multiple CPU cores to scale with modern NIC bandwidth. UCCL implements "packet spraying" by utilizing hundreds of RDMA Queue Pairs (QPs) simultaneously, effectively utilizing all available network paths to avoid collisions.
Evaluation
The researchers evaluated UCCL across four hardware testbeds: CX_IB (InfiniBand), CX_ETH (Ethernet fat-tree), AMD (Broadcom NICs/AMD GPUs), and EFA (AWS instances). Workloads included standard NCCL-tests and real-world models like ResNet-50 and DeepSeek-V3.
Key Results
- Collective Performance: In congested Ethernet environments, UCCL achieved up to 4.5x higher throughput for all-to-all collectives compared to hardware-based RDMA.
- Incast Mitigation: For MoE workloads, UCCL’s software-defined congestion control (EQDS) improved message tail latency by 4.9x.
- Application Impact: ResNet training epoch times were reduced by up to 11%, and DeepSeek-V3 serving latency dropped by up to 42% during the decoding phase.
Discussion and Future Work
UCCL demonstrates that the host CPU is an underutilized resource in GPU servers, where cores often sit idle during training. By moving transport logic to a user-space C++ library, researchers can iterate on new algorithms in days rather than years. The authors found that RDMA's Unreliable Connection (UC) mode provides the best balance, handling segmentation in hardware while leaving reliability to software.
Future work will address CPU scaling as NIC speeds reach 800Gbps and beyond. The authors also plan to explore deeper integration with GPU-driven communication frameworks like NVIDIA's IBGDA to further optimize the critical path.
Summary updated