Balanced Bandwidth per GPU: Sizing Cluster Networks for LLM Training

NoraLin 272 2026-10-07 03:23:00 Edit

When architecting high-performance GPU clusters for distributed foundation model training, server procurement teams frequently focus exclusively on compute density—selecting the newest NVIDIA H100 or H200 accelerators while treating networking as a secondary consideration. However, in distributed deep learning, compute performance is only as fast as the network fabric connecting the nodes. As models scale to tens or hundreds of billions of parameters, training must be sharded across multi-node topologies using 3D parallelism (Tensor, Pipeline, and Data Parallelism). If the inter-node network bandwidth per GPU is undersized, GPUs spend more time waiting for collective gradient and activation transfers than executing forward-backward passes. Achieving a balanced bandwidth-per-GPU ratio ensures that communication completely overlaps with computation. On OneSource Cloud dedicated bare-metal infrastructure, matching 800Gbps network interfaces with dedicated RoCE v2 fabrics provides the balanced bandwidth foundation needed for linear distributed scaling.

Quick Answer: Sizing Bandwidth per GPU for LLM Training

To prevent GPUs from stalling during distributed LLM training, inter-node network bandwidth must match the communication-to-computation ratio of the parallelism strategy. In modern Fully Sharded Data Parallel (FSDP) and 3D parallel training, each high-end GPU (such as an NVIDIA H100) requires a minimum of 400 Gbps dedicated inter-node bandwidth, with 800 Gbps per GPU representing the balanced standard for 70B+ parameter models. Connecting 8x GPUs per node demands eight dedicated 400G/800G NICs (3.2 Tbps to 6.4 Tbps aggregate bidirectional node throughput) mapped 1:1 to PCIe switches, ensuring communication overlaps completely with compute.

The Communication-to-Computation Sizing Formula

The mathematical requirement for non-blocking distributed training is that the time spent transferring tensor parameters across the network must be less than or equal to the time required to compute the subsequent layer's activations:

$$T_{\text{comm}} \le T_{\text{compute}}$$

For Fully Sharded Data Parallel (FSDP) or ZeRO-3 training, each layer requires an All-Gather operation during the forward pass and a Reduce-Scatter operation during the backward pass. The minimum balanced bandwidth per GPU is defined by:

$$\text{BW}_{\text{min per GPU}} = \frac{2 \times \left( \frac{N - 1}{N} \right) \times S_{\text{layer params (bytes)}}}{T_{\text{layer compute (seconds)}}}$$

Where $N$ is the number of distributed nodes, and $S_{\text{layer params}}$ represents the tensor payload. For a 70B parameter model distributed across an 8-node cluster, if an H100 GPU executes a transformer block forward pass in 4.2 milliseconds, sustaining zero-wait communication requires transferring approximately 210 MB of gradient data within that 4.2ms window—demanding an effective line-rate bandwidth exceeding 400 Gbps per GPU.

Accelerator Generation FP16/BF16 Tensor TFLOPs Minimum Bandwidth per GPU Balanced Production Standard Aggregate 8-GPU Node Fabric
NVIDIA A100 (80GB SXM4) 312 TFLOPs 100 Gbps (ConnectX-6) 200 Gbps per GPU 1.6 Tbps Aggregate Bandwidth
NVIDIA H100 (80GB SXM5) 989 TFLOPs 400 Gbps (ConnectX-7) 800 Gbps per GPU (2x 400G / 800G) 3.2 Tbps – 6.4 Tbps Aggregate Fabric
NVIDIA H200 / B200 1,800+ TFLOPs 800 Gbps (ConnectX-8) 800 Gbps – 1.6 Tbps per GPU 6.4 Tbps – 12.8 Tbps Non-Blocking Fabric

3D Parallelism and Network Topology Mapping

A balanced network architecture aligns specific parallelism dimensions with corresponding hardware interconnect hierarchies:

  1. Tensor Parallelism (TP): TP splits individual weight matrices across attention heads. It requires massive, microsecond-level bandwidth (exceeding 900 GB/s) and must be strictly confined within a single 8-GPU node over NVLink. Never span Tensor Parallelism across external network cables.
  2. Pipeline Parallelism (PP): PP partitions sequential layers across nodes. Communication is point-to-point (P2P), passing activations forward and gradients backward. PP has relatively low bandwidth demands (typically 50 Gbps to 100 Gbps per GPU) but is sensitive to network latency jitter.
  3. Data Parallelism (DP / FSDP): DP replicates or shards the entire model across all nodes. It executes frequent, all-to-all collective All-Reduce or Reduce-Scatter operations that saturate external network links. DP scaling efficiency depends directly on having balanced 400G/800G RoCE v2 or InfiniBand interconnects on every GPU.

Verifying Fabric Throughput and Link Balance

Verify that your cluster's physical network achieves its rated line-rate throughput across all GPU interfaces using perftest RDMA utilities:

// Run bidirectional RDMA bandwidth test across two nodes on interface mlx5_0
// Node 1 (Server):
ib_write_bw -d mlx5_0 -i 1 -F --report_gbits -q 4
// Node 2 (Client):
ib_write_bw -d mlx5_0 -i 1 -F --report_gbits -q 4 192.168.10.11

A properly tuned 400Gbps RoCE v2 interface must sustain at least 375 Gbps (94%+ line-rate efficiency). If any interface reports under 320 Gbps, investigate PCIe lane degradation or PFC pause frame throttling.

OneSource Cloud Balanced Network Architecture

In generic public clouds, GPU instances often share physical network cards via SR-IOV virtualization, allocating only 100Gbps to 200Gbps across multiple GPUs and creating severe All-Reduce bottlenecks. OneSource Cloud provides dedicated bare-metal GPU servers with an uncompromised 1:1 network topology: each H100 GPU is mapped to a dedicated ConnectX-7 NIC over isolated PCIe Gen5 lanes. Interconnected by non-blocking spine-leaf switches, OneSource Cloud delivers guaranteed 3.2 Tbps to 6.4 Tbps of dedicated fabric bandwidth per server, ensuring that your distributed training runs at full hardware potential.

FAQ

What happens if you run multi-node 70B training with only 100Gbps per GPU?

With only 100Gbps per GPU, collective communication (AllReduce / ReduceScatter) takes 4x longer than computation. GPUs spend up to 60% of every training step completely idle in spin-wait loops, collapsing Model Flops Utilization (MFU) from 52% down to 22% and quadrupling training costs.

Why do high-density GPU nodes require 8 separate NICs instead of 2 dual-port NICs?

Modern 8-GPU servers feature complex NUMA and PCIe root complex topologies. Deploying 8 individual single-port NICs allows each NIC to be installed on the exact same PCIe switch as its corresponding GPU. This enables direct GPUDirect RDMA transfers without traversing the host CPU socket or QPI/UPI inter-socket links, eliminating cross-NUMA latency penalties.

Can RoCE v2 achieve the same scaling efficiency as InfiniBand at 800Gbps?

Yes. When deployed on non-blocking spine-leaf Ethernet fabrics with properly tuned Priority Flow Control (PFC) and Data Center Quantized Congestion Notification (DCQCN), 800G RoCE v2 delivers 94% to 96% line-rate All-Reduce efficiency, matching InfiniBand throughput while utilizing open, multi-vendor enterprise optics.

Previous: Flat Rate Billing for AI GPU Cloud
Next: How Much Spare GPU Capacity Inference Needs for Failover
Related Articles