← All posts
AIDC

Trim, Don't Drop: How Ultra Ethernet Handles Congestion

Trim, Don't Drop: How Ultra Ethernet Handles Congestion

A GPU all-reduce doesn't care about averages. It cares about the slowest flow in the step. One congested link, one dropped packet, one retransmit, and every GPU in the job waits. That's the problem Ultra Ethernet set out to fix, and packet trimming is one of its sharper tools.

Why a dropped packet is so expensive

AI training traffic is a handful of huge RDMA flows, bursty and synchronized, all arriving at once. To keep those flows from losing data, RoCE fabrics run lossless with PFC. PFC works by pausing traffic so queues never overflow, but those pauses cause head-of-line blocking and can spread backpressure across the fabric into a congestion tree. ECN softens this by marking packets so senders slow down, but the mark takes a full round trip to act on, and tuning DCQCN to react at the right moment is a job in itself.

And when a packet is genuinely dropped, classic RDMA recovery is slow. The endpoint often falls back to resending more than just the missing packet. So you're stuck between two bad options: pause the fabric and accept the blocking, or react late and accept the drop. For a synchronized training job, a single drop isn't a small cost. It's a cliff.

The idea: trim instead of drop

Packet trimming flips the default. When a switch queue fills, instead of discarding the whole packet, it trims off the payload and forwards just the header, a few dozen bytes, along with the congestion information. The header still reaches the receiver.

Normal packet versus a trimmed packet: the switch keeps the header and drops the payload

That tiny surviving header carries two facts the receiver needs right away: this packet existed, and it hit congestion.

Why that small change matters

Compare what the two endpoints experience when a queue overflows.

Drop versus trim: with trimming the receiver sees the gap at once and recovers fast

Three things fall out of it.

First, the signal is early and explicit. The receiver and sender learn about the loss in about one trip across the fabric, not after a retransmit timer expires. That means immediate loss recovery instead of a stall.

Second, it survives reordering. Because the header arrives, the receiver can ask for exactly the missing piece and keep everything else. This matters because Ultra Ethernet spreads a flow across many paths on purpose, which reorders packets by design. Trimming and spraying are built to work together.

A flow sprayed across four paths with one path trimmed rather than dropped

Third, there's no pause and no silent cliff. The fabric doesn't have to stop traffic to avoid a drop, and a drop is no longer invisible until a timer notices it.

PFC, ECN and packet trimming compared across four behaviours

Where it lives: Ultra Ethernet

The Ultra Ethernet Consortium released its 1.0 specification in 2025. Trimming operates at the IP layer and is an optional capability of the fabric, part of the Ultra Ethernet Transport design alongside multipath spraying and modern congestion control.

It's a hardware feature, not a config knob you tune after the fact. The switch has to support trimming, and the NIC has to understand a trimmed packet and react to it. NVIDIA BlueField adapters respond to trimmed packets for fast recovery, and vendors like Cisco have been adding UEC-aligned behavior to Nexus. Trimming on its own isn't the whole story. It's the signal that lets the rest of the transport react quickly.

What it means for you

If you run RoCE today, you already know the PFC and ECN tuning dance. Trimming is the industry saying that tradeoff was the wrong one to be stuck in. Don't pause the whole fabric, and don't drop silently. Trim the packet and tell both endpoints immediately.

When you evaluate your next switch and NIC generation for an AI fabric, packet trimming support is worth asking about. It changes how the fabric behaves under exactly the bursty, synchronized load that training creates. And your role shifts: you won't hand-tune trimming the way you tuned DCQCN. You make sure both ends support it, and that your congestion control is the Ultra Ethernet style that actually consumes the signal.

The one-line version: dropping a packet throws away the bad news along with the data. Trimming keeps the bad news and delivers it early. In a fabric where every GPU waits for the slowest flow, early beats clean.

Written by Sabyasachi Kar

Watch the video

Prefer video? This topic has a full deep-dive on YouTube.

Watch on YouTube →

Comments (0)

Please sign in to comment.

  • Be the first to comment.