Explainer · 24 October 2026
One switch vs the CPU root complex: fine for one conversation, collapses when every GPU talks at once.
Four GPUs, two ways: behind one PCIe switch, or each on its own CPU root port. The second is how our 4-GPU server runs today: a Threadripper PRO 9985WX with four RTX PRO 6000s, bare metal. For dense models the root complex keeps up. For mixture-of-experts traffic, where every GPU writes to every other at once, it does not.
- Dense TP2: no difference. One pair copies at 53.4 GB/s through a switch and 52.4–53.2 GB/s through the root complex.
- Dense TP4: the root complex copes, once P2P is forced on. A ring all-reduce sends to one neighbour at a time: 40.8 GB/s through the root complex. Left to its defaults, NCCL avoids P2P on four direct cards and bounces through RAM at 35.7 GB/s.
- Mixture-of-experts TP4: stay out. All-to-all P2P through the root complex collapses to 2.5 GB/s, 14× below NCCL's own bounce through RAM (35.6 GB/s). On one switch the same four GPUs move 148.9 GB/s.
- The cause is concurrent writes. Two GPUs writing through the CPU to two different root ports drop from 52.5 to 13.5 GB/s on a Threadripper; reads never collapse.
- EPYC holds up much better, so this is a Threadripper and multi-root-port problem, not a rule for every CPU.
1The numbers
| Pattern | One switch | CPU root ports | Verdict |
|---|---|---|---|
| Dense TP2: one pair | 53.4 GB/s | 52.4–53.2 GB/s | same |
| Dense TP4: ring all-reduce | 41.1 GB/sa | 40.8 GB/s with P2P forced; 35.7 at NCCL's default | same, if P2P is on |
| Mixture-of-experts TP4: all-to-all | 148.9 GB/sb | 2.5 GB/s with P2P forced; 35.6 via host RAM | stay out |
| Two GPUs writing to two root ports | 107.5 GB/s for two pairs | 13.5 GB/s (was 52.5) | stay out |
Root-port column: our 4-GPU server, bare metal, nccl-tests at 256 MB and a one-way GPU copy. Switch column: community builds. a Eight GPUs on switches, NCCL sweep 8 MB–2 GB; no four-GPU single-switch NCCL run is published. b A copy test with all 12 flows at once, not NCCL, so read it as "no collapse", not as a ratio.
2Why it collapses
A PCIe write does not wait for a reply. When several GPUs push writes through the CPU toward different root ports at the same time, they jam inside the root complex. Reads, which are flow-controlled by their completions, do not. Inside a switch the writes never meet the CPU, so two pairs simply double.
- Threadripper PRO with switches, traffic forced through the CPU: two sources to two root ports, 13.5 GB/s (−75%); three to three, 12.6 GB/s (−92%).
- Dual EPYC with Broadcom switches (ASUS ESC8000A-E13P): two writers on one switch to two root ports, 37 → 2.7 GB/s.
- EPYC direct attach: four GPUs on one socket score 0.59 on the p2pmark all-to-all interconnect score, against 0.64 behind one switch. Its root complex keeps up.
3What it means for a 4-GPU server
- Single-card models do not care, and decode barely does. Capping the links live from Gen5 down to Gen2 moved one card 0%; TP4 decode lost 3% at Gen4 and 9% at Gen3.
- Dense TP4 prefill gains little from a switch. The root complex already reaches 40.8 GB/s with P2P forced. Projection: 0–14% on the communication part.
- Mixture-of-experts prefill is where the headroom is. Our GLM-5.3 TP4/EP4 prefill ran its links at about 70–90% of two-way capacity. Projection, not measured: perhaps 15–30% more prefill on a switch, which moves 100–105 GB/s two-way per pair against 79–89 on our root ports.
- The real reason for switches is eight GPUs. Past four cards, traffic between groups would otherwise cross the root complex, which is where the collapse lives.
Ours: docs/20260922-pcie-tp-ep-findings.md (nccl-tests and one-way copies, bare metal, 2 October 2026) and bench/pcie-gen (the live link-speed sweep).
Community: the hardware pages of local-inference-lab/rtx6kpro
(revision 213ba82): the collapse report, the two-switch WRX90 build, the ASUS ESC8000A-E13P page, and the p2pmark comparisons.
To see the rows, write to hello@netsphere.com.ai.