How InfiniBand works
InfiniBand is a networking standard for connecting servers, storage and accelerators inside a data centre with very high bandwidth and very low latency. It was created in 1999 when two competing server I/O projects merged, and it is maintained by the InfiniBand Trade Association (IBTA). It is an open specification, but NVIDIA, through its acquisition of Mellanox, now supplies most InfiniBand hardware.
Each server connects through a host channel adapter (HCA), a network card that plugs into PCIe. HCAs connect to InfiniBand switches, which form a switched fabric. A subnet manager, running on a switch or a server, discovers the fabric, assigns addresses and calculates the routes. Applications then exchange data using remote direct memory access (RDMA): the HCA reads from or writes to memory on another machine without involving either operating system, which removes copies and keeps CPU load and latency low.
InfiniBand is also lossless by design. Credit-based flow control means a sender only transmits when the receiver has buffer space, so the fabric does not drop packets under congestion, unlike standard Ethernet.
InfiniBand speeds
InfiniBand generations are named by their per-lane data rate. Most links use four lanes (4x), which is the figure usually quoted for a port.
| Generation | Per-lane rate | 4x port | Introduced around |
|---|---|---|---|
| SDR | 2.5 Gb/s | 10 Gb/s | 2001 |
| DDR | 5 Gb/s | 20 Gb/s | 2005 |
| QDR | 10 Gb/s | 40 Gb/s | 2008 |
| FDR | 14 Gb/s | 56 Gb/s | 2011 |
| EDR | 25 Gb/s | 100 Gb/s | 2014 |
| HDR | 50 Gb/s | 200 Gb/s | 2018 |
| NDR | 100 Gb/s | 400 Gb/s | 2021 |
| XDR | 200 Gb/s | 800 Gb/s | 2024 |
Rates are signalling rates. Earlier generations lost around a fifth to 8b/10b encoding, while FDR and later use more efficient encoding. Ports use QSFP-family or OSFP connectors with copper direct-attach cables for short runs inside a rack and optical transceivers between racks.
InfiniBand vs Ethernet
Ethernet and InfiniBand now reach similar raw speeds, so the difference lies in how the fabric behaves under load and how it is managed.
-
//
Latency. InfiniBand switches typically forward in a few hundred nanoseconds or less, and RDMA avoids the software network stack. Standard Ethernet with TCP/IP adds microseconds at each end.
-
//
Lossless by default. InfiniBand’s credit-based flow control prevents drops. Ethernet needs extra configuration, such as priority flow control and congestion notification, to behave the same way.
-
//
RDMA. Native on InfiniBand. On Ethernet it runs as RoCE, covered in our guide to RoCEv2 and RDMA over Ethernet.
-
//
Management. InfiniBand is centrally managed by a subnet manager. Ethernet is distributed, familiar to most network teams and runs everything from offices to factory floors.
-
//
Reach and cost. Ethernet connects to everything and is widely supplied. InfiniBand stays inside the cluster and usually needs a gateway to reach the wider network.
Software that runs over InfiniBand
Applications rarely talk to InfiniBand hardware directly. They use libraries that map their communication onto RDMA verbs, the low-level interface the HCA exposes.
- MPI. The message passing interface used by most scientific and engineering simulation codes on supercomputers.
- NCCL and GPUDirect RDMA. NVIDIA’s collective communication library moves data between GPUs in different servers, and GPUDirect RDMA lets the HCA read GPU memory without staging it in system memory.
- Storage protocols. NVMe over Fabrics, iSER and parallel file systems use RDMA to give servers fast access to shared flash storage.
- IP over InfiniBand. Carries ordinary TCP/IP traffic for tools and services that are not RDMA-aware.
Because the same verbs interface also works on RoCE, much of this software runs on either fabric, which is why the choice between InfiniBand and Ethernet is often made on scale, latency and operations rather than application support.
Where InfiniBand is used
InfiniBand is a back-end network: it links the machines inside a cluster to each other, while Ethernet carries user and management traffic. Its main uses are supercomputers, which make up a large share of the TOP500 list, large AI training clusters where hundreds or thousands of GPUs exchange data on every training step, and high-performance parallel storage.
At the edge, workloads look different. A single edge AI server runs inference on one to a few GPUs, so traffic flows in from cameras and sensors rather than between servers. Ethernet at 10 Gb/s or faster, sometimes with RoCE, is the usual choice there. Our explainer on 10GbE networking covers that tier. The same data centre GPUs used in training clusters also run in edge servers, connected over PCIe rather than an InfiniBand fabric, and our overview of AMD EPYC Embedded processors for edge servers covers the host side.
Quick answers on InfiniBand
InfiniBand: common questions
What is an InfiniBand switch?
The switch that forms the fabric. It connects HCAs and other switches, forwards traffic with very low latency and often runs the subnet manager. Large clusters arrange them in fat-tree or similar topologies.
Is InfiniBand faster than Ethernet?
In latency, usually yes; in bandwidth, they are now similar. Both offer 400 and 800 Gb/s ports, but InfiniBand delivers lower and more consistent latency under heavy load.
Why is InfiniBand used for AI?
Because training clusters move huge amounts of data between GPUs. RDMA lets GPUs exchange data directly over the fabric with little CPU involvement, which keeps them busy instead of waiting on the network.
Is InfiniBand proprietary?
No, but supply is concentrated. The specification is published by the IBTA, while NVIDIA supplies most HCAs and switches in use today.
Can InfiniBand carry IP traffic?
Yes, through IP over InfiniBand (IPoIB). It lets ordinary IP applications run on the fabric, though without the full latency benefit of native RDMA.
We build edge AI servers with the GPUs, PCIe expansion and high-speed Ethernet each workload needs as standard, and validate them under load before they ship. Tell us your models, camera count and data rates, and we will specify the system to match.