Explainer · 24 October 2026
What crosses a PCIe switch: one slot, two GPUs, five workloads.
A PCIe switch lets several GPUs share one x16 slot. Each card keeps its own full x16 link to the switch; only the uplink to the CPU is shared. Whether that costs anything depends on what has to cross the uplink, and during inference that is very little.
Bottom line
- A switch routes; it does not split lanes. Each GPU keeps a full x16 link to the switch. Splitting a slot (bifurcation) gives each card x8 permanently; a switch only makes cards share when both send to the CPU at once.
- Inference barely uses the uplink. Weights and the KV cache stay on the GPU. What comes back per step is one 4-byte token ID per sequence.
- Tensor parallelism loads each GPU's own link, not the uplink. The all-reduce goes GPU to GPU inside the switch, and peaks during long prefills.
- The uplink fills only when big data comes from outside the GPU: model loads, weights or KV cache streamed from system RAM, or GPU-to-GPU traffic forced through host memory because P2P is off.
1Five workloads
| Workload | What crosses the uplink | Uplink | Basis |
|---|---|---|---|
| Decode: two models, 32 sequences each at 100 tok/s | token IDs, 4 bytes per sequence per step | ~26 KB/s | arithmetic |
| A 100k-token prompt, 70B-class dense model on two GPUs | the prompt once: 400 KB, about 7 µs. The all-reduce it creates (~260 GB per GPU, ~5 s at link rate) stays inside the switch. | ~0 | arithmetic |
| RAM offload on both GPUs (20 of 70 GB in system RAM) | the offloaded weights, every token | full | arithmetic |
| Host-memory lookup tables (DeepSeek V4.1-Flash Engram) | a few rows per token; every lookup waits for a round trip | < 1% | measured |
| P2P switched off | every all-reduce byte, up the uplink and back down | full, both ways | arithmetic |
Uplink = share of one Gen5 x16 link, about 55 GB/s each way.
The numbers behind the rows
- Decode: 2 models × 32 sequences × 100 tok/s × 4 bytes = 26 KB/s, under a millionth of the uplink.
- 100k prompt: 100,000 tokens × 8,192 hidden × 2 bytes per all-reduce, 2 per layer × 80 layers ≈ 260 GB per GPU. Tensor parallelism makes this worse as it grows: compute per GPU shrinks while link traffic per GPU does not. Measured on our 4-GPU server: GLM-5.3 at TP4/EP4 ran its Gen5 links at about 70–90% of their two-way capacity during prefill.
- RAM offload: a 70 GB model with 20 GB in system RAM. Alone: 28 ms reading VRAM + 364 ms over PCIe = 392 ms per token. Both GPUs at once: 28 + 728 = 756 ms, so 1.93× slower. On two separate CPU slots, neither would slow the other.
- Engram lookups: V4.1-Flash keeps 189 GiB of n-gram tables in host RAM. Bandwidth is not the issue; latency is. On 4 October, tuning the host path (forced P2P, IOMMU passthrough) took one decode benchmark from 268 to 425 tok/s on the same cards. A switch adds a hop each way, a fraction of a microsecond; we have not measured it yet.
- P2P off: if GPU-to-GPU traffic cannot go direct, the all-reduce is copied through host RAM. Both GPUs then share the uplink in each direction, which halves it at best.
2Caveats
- Rows marked arithmetic are calculated from the stated inputs, not measured end to end.
- GeForce cards ship with PCIe P2P disabled in the driver; behind a switch they are in the P2P-off row unless patched. The RTX PRO 6000 supports P2P.
- The per-hop latency of the Microchip PM50100 is not published. Broadcom specifies under 115 ns for its Gen5 PEX89000.
Measured figures: one-way GPU copy 53 GB/s on our 4-GPU server (bench/pcie-gen, docs/20260922-pcie-tp-ep-findings.md);
56.3 GB/s per pair through PM50100 switches, from the community build pages at
local-inference-lab/rtx6kpro; the V4.1 decode runs of 4 October 2026.
To see the rows, write to hello@netsphere.com.ai. How we measure: Method.