Infrastructure
GPU Cluster Networking: InfiniBand vs Ethernet (RoCE)
For large training clusters, the compute fabric decides how well GPUs scale. InfiniBand is the default choice for tightly coupled training, RoCE Ethernet can work with careful tuning, and either way the fabric should be non-blocking and rail-optimized.
Updated · 7 min read · By the GPU Boom team
A GPU cluster has more than one network, and the one that matters most for training is the compute fabric that connects GPUs across nodes. InfiniBand is the established choice for that fabric because it delivers low latency, lossless transport and mature collective libraries out of the box. RoCE, which runs RDMA over Ethernet, can reach similar results at scale, but it needs careful congestion and flow control tuning to get there. Whichever you choose, the fabric should be non-blocking and rail-optimized so that every GPU can talk to every other GPU at full bandwidth. GPU Boom builds every cluster on a non-blocking InfiniBand fabric with 3.2 Tb/s per node on HGX systems.
The three networks in a GPU cluster
People often say "the network" when they mean one of three separate planes. Each has a different job, and mixing them up leads to bad comparisons when you evaluate a provider.
- Compute fabric (east-west, scale-out). Connects GPUs across nodes for collective operations such as all-reduce and all-gather. This is where InfiniBand or RoCE lives, usually with one network adapter per GPU.
- Storage network. Moves training data into the nodes and checkpoints out to shared storage. It can be a separate fabric or share hardware with the compute fabric, depending on the design.
- Front-end network. Handles SSH, orchestration, container image pulls, monitoring and connections to the internet or your private network. It is ordinary Ethernet and carries no training traffic.
Keeping training traffic on its own fabric matters. A checkpoint write or an image pull should never compete with gradient exchange in the middle of a step.
NVLink inside the node, InfiniBand between nodes
Inside an HGX node, the 8 GPUs connect to each other over NVLink and NVSwitch. On H100 and H200 that is NVLink 4 at 900 GB/s per GPU. On B200 and B300 it is NVLink 5 at 1.8 TB/s per GPU. This bandwidth is far higher than any scale-out network, which is why frameworks place the most communication-heavy parallelism, such as tensor parallelism, inside a node.
Once a job spans more than one node, traffic leaves NVLink and crosses the compute fabric. Data parallel and pipeline parallel traffic usually rides this network. GB200 and GB300 NVL72 racks change the boundary by putting 72 GPUs in one NVLink domain, so more of the model fits inside the fast domain before the scale-out fabric takes over.
InfiniBand vs RoCE Ethernet compared
Both technologies support RDMA, which lets a network adapter write directly into another node's memory without involving the CPU. With GPUDirect RDMA, data moves straight between GPU memory on different nodes. The differences are in how each one handles congestion, how much tuning it needs and what tooling surrounds it.
| Factor | InfiniBand | RoCE (Ethernet) |
|---|---|---|
| Transport | Lossless by design, credit-based flow control | Needs priority flow control and congestion control configured to behave losslessly |
| Tuning effort | Low; works well with default settings | Higher; buffer, ECN and PFC settings must be tuned and monitored |
| Collective offload | In-network reduction available on supported switches | Depends on vendor and configuration |
| Management | Subnet manager, centralized routing | Standard Ethernet tooling and routing protocols |
| Operator skill pool | Specialized | Larger pool of Ethernet engineers |
| Best fit | Large, tightly coupled training runs | Inference fleets, mixed workloads, teams standardized on Ethernet |
In practice, InfiniBand gives predictable collective performance with less effort, which is why most large training clusters use it. Well-run RoCE fabrics exist at very large scale, but they depend on the operator getting congestion control right and keeping it right as traffic patterns change.
Rail-optimized, non-blocking fat tree
The topology matters as much as the technology. Most GPU clusters use a fat tree (a leaf and spine design) built to be non-blocking, meaning total uplink bandwidth from each leaf switch equals total downlink bandwidth to the nodes. No oversubscription means a full all-reduce across every GPU runs at the speed of the links.
Rail optimization adds one more rule. GPU 0 in every node connects to the same leaf switch (rail 0), GPU 1 in every node connects to rail 1, and so on for all 8 GPUs. Collective libraries such as NCCL take advantage of this layout, so most cross-node traffic travels between GPUs of the same index and stays one hop away. Traffic that needs to change rails can move over NVLink inside the node first.
- 01One network adapter per GPU, so each GPU has its own path to the fabric.
- 02Each adapter cabled to the leaf switch for its rail.
- 03Leaf switches connected to spines with no oversubscription.
- 04Adaptive routing enabled so traffic spreads across available paths.
When Ethernet makes sense
Ethernet is a reasonable choice when the workload is mostly inference, when jobs fit inside a single node or an NVL72 rack, or when your team already runs large Ethernet fabrics and wants one set of tools. It also fits multi-tenant platforms that need standard network segmentation. For pretraining and large fine-tuning runs that span many nodes, InfiniBand usually removes a source of risk from the project.
What to ask for in a GPU cluster lease
Network terms are easy to leave vague in a contract. Ask the provider to put these in writing as part of the reference architecture:
- Fabric technology and per-node bandwidth for the compute network.
- Whether the fabric is non-blocking and rail-optimized, with a topology diagram.
- Whether the compute, storage and front-end networks are separate.
- Whether the fabric is dedicated to your cluster or shared with other tenants.
- NCCL all-reduce results at full cluster scale as part of acceptance testing.
- Room to grow: spare spine ports or a plan for adding nodes later.
- Who monitors the fabric and how link failures are detected and replaced.
Frequently asked questions
- Is InfiniBand better than Ethernet for AI training?
- For large, tightly coupled training runs, InfiniBand is usually the safer choice because it is lossless by design and needs little tuning. RoCE Ethernet can perform well at scale, but it depends on careful congestion control configuration.
- What is a rail-optimized network?
- In a rail-optimized design, the same-numbered GPU in every node connects to the same leaf switch. This keeps most cross-node collective traffic one switch hop away and matches how NCCL schedules communication.
- Does NVLink replace InfiniBand?
- No. NVLink connects GPUs inside a node or inside an NVL72 rack. Once a job spans more nodes or racks, traffic crosses the scale-out fabric, which is InfiniBand or Ethernet.
- What does non-blocking mean for a GPU fabric?
- It means the switch layers have as much uplink bandwidth as downlink bandwidth, so there is no oversubscription. Every GPU can communicate at full link speed even when all GPUs are active at once.
Next step
Send us your requirement.
GPU model and quantity are enough to start. We reply within one business day.
Request capacity →New guides by email
One short email when we publish something useful on GPU clusters, pricing or financing. No spam.
Related reading
- DeploymentGPU Cluster Acceptance TestingAcceptance testing proves a GPU cluster works as a whole before you start paying for it. GPU Boom runs DCGM Level 3 diagnostics, HPL and HPL-MxP, NCCL all-reduce, NVLink bandwidth tests, a 48-hour burn-in and storage under load, then hands over a written report.
- InfrastructureStorage for GPU ClustersMost GPU clusters use three storage tiers: local NVMe in each node, a shared parallel file system for active data and checkpoints, and object storage for the full dataset and long-term copies. The goal is simple: GPUs should never wait on data.
- Rack-scale systemsGB200 and GB300 NVL72 Rack-Scale SystemsGB200 NVL72 and GB300 NVL72 put 72 Blackwell GPUs and 36 Grace CPUs in one liquid-cooled NVLink domain. GPU Boom deploys NVL72 racks on request in our US Tier III data centers.