Home / Learn / AI Networking / Congestion Control in AI Networks

On this pageWhat congestion isWhy AI traffic is difficultWhat good congestion control aims forThe signalsWhere the control sitsCommon schemes in RDMA networksRelationship with flow controlCongestion control and load balancingHow Ultra Ethernet approaches itIn scale-up fabricsTrade-offsImplementationHow it is evaluatedCommon questionsRelated guides

Congestion Control in AI Networks

Congestion control keeps an AI cluster’s network from being overwhelmed. When senders transmit faster than the network can carry, queues build in switches, delays grow and packets may be dropped. Congestion control adjusts how fast each sender transmits so that the network stays busy without overflowing. AI traffic makes this unusually hard, because it arrives in large synchronized bursts from a small number of very heavy flows.

What congestion is

A switch port can send only so much data per second. If more arrives destined for that port than it can send, the excess waits in a buffer. If the buffer fills, something has to give: either packets are dropped or upstream devices are told to stop.

Either outcome hurts. Queuing adds delay. Drops require retransmission. Pausing upstream devices can spread the problem.

Why AI traffic is difficult

Typical data center traffic consists of very many small, independent flows that start and stop at random. They average out.

AI training traffic is different.

  • Few, very large flows. Each accelerator exchanges large amounts of data with a limited set of partners.
  • Synchronized. All accelerators finish a computation step at about the same moment and begin transmitting together.
  • Bursty. Periods of silence alternate with periods of maximum demand.
  • Many-to-one patterns. Several senders may converge on one receiver, an effect known as incast.
  • Sensitive to the slowest flow. A training step is complete only when every transfer has finished.
  • Low tolerance for loss in traditional RDMA transports.

A scheme designed for ordinary traffic reacts too slowly. By the time it notices congestion and backs off, the burst is over.

What good congestion control aims for

  • High utilization. Use the network’s capacity.
  • Short queues. Keep delay low and predictable.
  • Fast reaction to change.
  • Fast start. Reach full rate quickly at the beginning of a burst.
  • Fairness between flows.
  • Stability. No oscillation.
  • Minimal reliance on pausing upstream devices.

The signals

A sender needs to learn that the network is congested. Several sources of information are used.

SignalHow it worksStrengths and weaknesses
Packet lossA missing packet implies congestionToo late. The damage is done.
Explicit congestion notificationSwitches mark packets when queues exceed a threshold. The receiver reports marks to the sender.Early warning without loss. Coarse information.
DelayThe sender measures round-trip time. Rising delay implies queues are building.Needs no switch support. Requires very precise timestamps.
In-band telemetrySwitches write queue lengths and link utilization into packetsPrecise. Needs capable switches and adds overhead.
Trimmed packetsA switch cuts an undeliverable packet to its header and forwards thatImmediate notice of exactly what was lost

Where the control sits

Sender-based. Each sender adjusts its own rate or window according to feedback. Most schemes work this way.

Receiver-based. The receiver, which can see every sender converging on it, grants each permission to send a certain amount. This handles incast directly, since the receiver knows its own capacity.

Switch-assisted. Switches provide information or take action, such as marking, telemetry or trimming.

Modern designs often combine these.

Common schemes in RDMA networks

DCQCN is the scheme most widely used with RDMA over Ethernet. Switches mark packets when queues grow. The receiver sends notifications back. The sender reduces its rate on receiving them and gradually raises it again when they stop. It is effective and has many parameters that need tuning for each network.

Delay-based schemes use precise measurements of round-trip time made in the network adapter. They need no special switch configuration.

Telemetry-based schemes use detailed information from switches to compute the right rate directly, converging faster.

Receiver-driven schemes have receivers issue credits that pace the senders.

Relationship with flow control

The two are often confused.

  • Congestion control works end to end. Senders slow down in response to conditions along the whole path.
  • Flow control works on a single link. A receiver tells its immediate neighbor to stop sending when its buffer is nearly full.

In networks running RDMA over Ethernet, priority flow control acts as a backstop to prevent loss, and congestion control is meant to keep queues short enough that pauses are rarely triggered. If congestion control is poorly tuned, pauses become frequent and cause their own problems.

Congestion control and load balancing

Congestion can be relieved in two ways: sending less, or sending along a different route.

If a flow is tied to one path, slowing down is its only option. If packets can be spread across many paths, traffic can shift away from a congested link without reducing the total rate.

Newer transports treat the two together. The sender tracks congestion per path, steers packets toward lighter ones and reduces its overall rate only when the network as a whole is congested.

How Ultra Ethernet approaches it

The Ultra Ethernet transport specifies congestion control as part of the standard.

  • A sender-based algorithm using congestion marks and delay, designed to work with per-packet multipath.
  • An optional receiver-based algorithm that issues credits, aimed at incast.
  • Fast start, so that a sender can begin at a high rate.
  • Packet trimming, so that loss is signalled at once.
  • No dependence on priority flow control.

Standardizing these is intended to give consistent behavior across vendors.

In scale-up fabrics

The very short-range interconnects between accelerators take a different approach. With a single switch layer and a small, controlled set of endpoints, they use credit-based flow control at each link and do without end-to-end congestion control.

Trade-offs

  • Aggressive or cautious. Starting fast uses capacity and risks overshoot. Starting slow is safe and wastes time.
  • Shallow or deep buffers. Deep buffers absorb bursts and add delay.
  • Simple or precise. Richer signals allow better decisions and need more capable hardware.
  • Tuned or robust. A scheme tuned for one workload may behave poorly on another.

Implementation

At hundreds of gigabits per second, congestion control must run in hardware in the network interface. It has to react within microseconds, on every flow, without involving the host processor. The algorithm, its timers and its per-flow state are part of the transport logic in the adapter, DPU or accelerator.

Precise timestamping, fast processing of feedback and enough state for many peers are all required. Interoperability matters too: if two vendors’ devices respond differently to the same signal, fairness and stability can suffer.

How it is evaluated

  • Flow or job completion time, especially the slowest.
  • Queue lengths at switches.
  • Number of pause frames or drops.
  • Throughput achieved.
  • Fairness across flows.
  • Behavior under incast and when links fail.

Testing uses simulation, test beds and traces from real workloads.

Common questions

What is congestion control?

A mechanism by which senders adjust their transmission rate in response to conditions in the network, so that queues do not build up and packets are not lost.

Why is congestion control harder in AI networks?

AI traffic comes in large, synchronized bursts from a few heavy flows. Conventional schemes, built for many small random flows, react too slowly.

What is incast?

A situation where many senders transmit to the same receiver at once, overloading the last link. It is common in AI and storage workloads and is a major cause of congestion.

Related guides