Impact of RoCE Congestion Control Policies on Distributed Training of DNNs

Tarannum Khan, Saeed Rashidi, Srinivas Sridharan, Pallavi Shurpali, Aditya Akella, Tushar Krishna · DOI

Introduction

To train massive Deep Learning models, workloads are distributed across thousands of accelerators (NPUs/GPUs) that require constant synchronization. This communication typically relies on RDMA over Converged Ethernet (RoCE). Because RoCE requires a "lossless" network to maintain efficiency, it has traditionally been managed by Priority Flow Control (PFC). However, PFC is known to cause network issues like deadlocks and head-of-line blocking in general-purpose datacenters.

In response, advanced Congestion Control (CC) algorithms such as DCQCN, TIMELY, and HPCC were developed. This paper investigates a critical question: Do these complex algorithms actually provide a performance benefit for the specialized, highly structured environment of AI training clusters, or is the baseline PFC sufficient?

Methodology

The researchers utilized a sophisticated simulation stack to evaluate network performance at scale. The framework integrates ASTRA-Sim, a cycle-level simulator for deep learning training scheduling, with NS3, a discrete-event network simulator used to model the RoCE fabric and various CC schemes.

The ASTRA-SIM and NS3 simulation stack used to model the interaction between training workloads and network layers.

The study compared the baseline PFC-only approach against DCQCN, DCTCP, TIMELY, HPCC, and HPCC-PINT. The network was modeled as a two-level "Clos" (Leaf-Spine) topology, featuring high-bandwidth local communication (NVLink) and dedicated NICs for scale-out networking. Evaluation workloads included synthetic micro-benchmarks (Incast, All-Reduce, All-To-All) and the Deep Learning Recommendation Model (DLRM), which represents a critical production workload utilizing both dense and sparse communication patterns.

The Predictability of AI Workloads

A core finding of the research is the "Predictability Advantage." Unlike the chaotic, unpredictable traffic of a general-purpose datacenter, collective communication in AI training (like All-Reduce) is topology-aware and designed to balance traffic. This inherent structure naturally avoids the "incast" (many-to-one) bottleneck patterns that advanced CC schemes were designed to mitigate.

Switch queue timelines for all-to-all and all-reduce collectives, demonstrating the highly stable and predictable nature of training traffic.

As shown in the switch queue timelines, training collectives result in remarkably stable queue lengths. Because the traffic is so well-behaved, the complex rate-limiting logic of advanced CC schemes often becomes redundant. In some cases, algorithms like TIMELY even reduced performance because their logic reacted too aggressively to predictable bursts, leading to bandwidth underutilization.

Key Results and Performance Analysis

The study revealed several surprising insights regarding the performance of "smart" network policies:

  • Negligible Performance Gains: For the DLRM workload, the end-to-end performance difference between all tested CC schemes was less than 4%.
  • The Overhead Tax: Advanced schemes like HPCC actually performed slightly worse in certain scenarios. This is attributed to the metadata HPCC adds to every packet header, which reduces the "goodput" (actual data rate) in high-speed 400Gbps+ networks.
  • PFC Sufficiency: In the majority of single-job training scenarios, the "dumb" PFC-only approach achieved performance equal to or better than its sophisticated counterparts.
  • Hierarchical Advantage: The paper notes that hierarchical (2D) collectives—which synchronize locally via NVLink before hitting the network—are far more effective at reducing congestion than any specific CC policy.

Conclusion

The research suggests a "less is more" reality for AI infrastructure. In dedicated, single-tenant AI clusters, the structured nature of collective communication naturally prevents network collapse. While advanced CC schemes may still be necessary for multi-tenant environments where different jobs compete for bandwidth, they offer little value for isolated training tasks. Future work should focus on developing low-overhead CC schemes specifically tuned for the deterministic, repetitive nature of distributed DNN training rather than porting general-purpose datacenter solutions.

Summary updated

BibTeX
@inproceedings{khan2022impact,
  author = {Tarannum Khan and Saeed Rashidi and Srinivas Sridharan and Pallavi Shurpali and Aditya Akella and Tushar Krishna},
  title = {{Impact of RoCE Congestion Control Policies on Distributed Training of DNNs}},
  booktitle = {HOTI},
  year = {2022},
  url = {https://openreview.net/forum?id=4xIAQ0gTmE},
}
Figure