INFRASTRUCTURE

MODULE 2: INTERCONNECTS & CLUSTER TOPOLOGIES · SCENE 08

Network incast, microbursts & packet spraying

When thousands of GPUs send AllGather traffic simultaneously: buffer bloat, incast packet drops, and dynamic adaptive packet spraying.

GPU Rank 0GPU Rank 8GPU Rank 16GPU Rank 24GPU Rank 32EGRESS SWITCHBUFFER OVERFLOW (DROPS)RECEIVER NIC

Static ECMP hashes heavy collective flows onto the same uplink, causing buffer bloat and tail latency spikes.

ARCHITECTURE & FORMULATIONModule 2: Interconnects & Cluster Topologies

Network Incast, Microbursts & Packet Spraying

Network incast occurs when hundreds or thousands of GPU senders simultaneously transmit data packets to a single destination switch port during AllGather or ReduceScatter collectives. This instant microburst overwhelms switch egress buffers, triggering tail latency inflation and packet drops.

The Incast Phenomenon

In synchronized distributed training, all workers complete backward computation at nearly the same millisecond and initiate collective communications simultaneously, generating massive synchronized traffic surges.

Hash Polarization in ECMP

Equal-Cost Multi-Path (ECMP) hashes flow 5-tuples (IP, Port) to select uplinks. Because long-lived AI collective flows share identical tuple structures, multiple heavy flows collide on the same physical link while adjacent links remain completely idle.

Packet Spraying & Adaptive Routing

Adaptive routing switches break large flows into fine-grained packets or flowlets and spray them across all available parallel links based on real-time link queue depths, reordering packets in hardware at the receiving NIC.

MATHEMATICAL FORMULATION · SWITCH BUFFER INCAST SATURATION
Q_depth(t) = ∑(BW_in,i × Δt) − (BW_out × Δt) where k senders ≫ 1

When k = 64 nodes transmit at 400 Gbps into a single 400 Gbps egress port, buffer queue depth expands at 63 * 50 GB/s = 3.15 TB/s. A standard 32 MB switch buffer overflows in ~10 microseconds unless flow control kicks in.

REAL-WORLD PRODUCTION ENGINEERING
  • Enable Adaptive Routing (AR) in InfiniBand switches or Dynamic Load Balancing (DLB) on RoCE fabrics to eliminate ECMP hash polarization.
  • Use NCCL_BUFFSIZE=4194304 (4 MB) or 8 MB to optimize DMA ring buffers for high-bandwidth burst absorbing.
  • Implement staggered collective initiation or priority queueing to smooth incast peaks during MoE (Mixture of Experts) all-to-all dispatches.
Agent-native web · research mode

Experimental WebMCP · evolving community-group draft, not a W3C Standard or on the Standards Track.

Native status: Initializing. Registered: none

DOM → inferred capabilities · WebMCP → declared capabilities. Tools read real CUDA/Inference Atlas content. Calls may highlight temporary UI state. No backend or remote telemetry.

Local harness verifies application logic; it does not demonstrate native discovery or a browser agent.

Input schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

Local log: last 100 calls while this panel is open. Inputs may contain personal text; review before sharing.

[]