Home / Learn / AI Networking / What Is InfiniBand?
On this page
Where it came fromWhat makes it differentThe componentsCredit-based flow controlThe subnet managerThe transportSpeedsStrengthsLimitationsWhere it is usedInfiniBand and EthernetWhat InfiniBand contributedFor chip designersCommon questionsRelated guidesRelated guidesWhat Is InfiniBand?
InfiniBand is a high-speed, low-latency networking technology built for high-performance computing and AI clusters. It was designed from the ground up to connect servers, accelerators and storage in tightly coupled systems. Its defining features are remote direct memory access as a native capability, flow control that prevents packet loss and a centrally managed network. It has been the leading interconnect in supercomputers for many years and was used in most of the first large AI training clusters.
Where it came from
InfiniBand was defined around 2000 by an industry group that merged two competing efforts. The original ambition was broad: to replace the various input and output connections in data centers with one fast, unified fabric.
That broader goal was not achieved. Ethernet kept its hold on general networking. InfiniBand found its place in high-performance computing, where its low latency and high throughput mattered most.
The standard is maintained by a trade association. Over time the number of companies making InfiniBand hardware shrank, and today it comes overwhelmingly from one supplier.
What makes it different
It is a complete design. Every layer, from the physical link to the transport, was specified together for one purpose.
RDMA is built in. Applications can read and write memory on another machine directly, bypassing the operating system.
It does not drop packets for lack of buffer space. Flow control at each link ensures a sender transmits only when the receiver has room.
The network is centrally managed. A software controller configures everything.
Processing is done in hardware. The transport runs in the network adapter, not on the host processor.
The components
| Component | Role |
|---|---|
| Host channel adapter | The network adapter in each server. It implements the transport and RDMA in hardware. |
| Switch | Forwards packets between ports according to tables set by the subnet manager |
| Subnet manager | Software that discovers the network, assigns addresses and programs the switches |
| Cables and transceivers | Copper for short distances, optical for longer |
| Gateway or router | Connects InfiniBand to Ethernet or to other InfiniBand subnets |
Credit-based flow control
On an InfiniBand link, the receiver tells the sender how much buffer space it has, in the form of credits. The sender transmits only as much as it has credit for. When the receiver processes data and frees space, it issues more credit.
Because data is never sent without room for it, packets are not discarded at a congested switch. The transport above can be simple and fast, since it rarely has to deal with loss.
The subnet manager
In most networks, switches work out forwarding among themselves using distributed protocols. InfiniBand takes a different approach.
A subnet manager, running on a server or a switch, discovers every device, assigns each a local address, computes paths and loads forwarding tables into the switches. This gives the operator precise, central control over routing. It also makes the subnet manager a critical component, so standby instances are configured to take over if it fails.
The transport
InfiniBand’s transport layer offers several services, of which reliable connected service is the most used. Applications communicate through an interface known as verbs.
- Send and receive. Passing messages.
- RDMA read and write. Directly accessing memory on the remote machine.
- Atomic operations.
Communication happens through queue pairs, each with a queue for sending and one for receiving. Applications post work to the queues, and the adapter carries it out. Completions are reported through another queue.
Speeds
InfiniBand links combine several lanes, most commonly four. Each generation has raised the rate per lane.
| Generation | Total for a four-lane link |
|---|---|
| FDR | 56 gigabits per second |
| EDR | 100 gigabits per second |
| HDR | 200 gigabits per second |
| NDR | 400 gigabits per second |
| XDR | 800 gigabits per second |
Further generations are on the roadmap. The speeds are broadly in line with the fastest Ethernet of each period.
Strengths
- Very low latency.
- High throughput.
- Lossless operation without the configuration effort Ethernet has needed.
- Mature RDMA and deep software support, including message passing libraries and AI frameworks.
- Adaptive routing to balance load across paths.
- Proven at very large scale.
- Integration with widely used AI systems.
Limitations
- Effectively a single supplier.
- Cost. Typically higher than comparable Ethernet equipment.
- A separate network. It does not use the same equipment, tools or skills as the rest of the data center and needs gateways to connect to it.
- Fewer engineers with experience of it.
- Scaling limits within a subnet, from its addressing scheme and from the amount of connection state in very large clusters. Extensions have addressed much of this.
- Dependence on the subnet manager.
Where it is used
- Supercomputers. A large share of the world’s fastest systems use it.
- AI training clusters. Especially those built as integrated systems from the leading accelerator supplier.
- High-performance storage.
- Financial trading and other latency-sensitive computing.
InfiniBand and Ethernet
For years InfiniBand had a clear performance lead. Ethernet has narrowed the gap, first through RDMA over Ethernet and now through standards aimed specifically at AI. Several very large AI clusters have been built on Ethernet, and the share of AI back-end networks using it has been rising.
InfiniBand remains strong where proven performance and tight integration with a single vendor’s systems are the priority. and Ultra Ethernet vs InfiniBand.
What InfiniBand contributed
Much of what high-performance networks do today originated in or was popularized by InfiniBand.
- Remote direct memory access
- The programming interface used for RDMA
- Hardware offload of the transport
- The transport protocol reused by RoCE.
Newer standards borrow these ideas and adapt them for Ethernet.
For chip designers
InfiniBand hardware is largely a single-vendor product. A team designing a custom accelerator or network device that needs high-performance connectivity will generally look to Ethernet-based standards, for which technology can be licensed and multiple partners exist.
Common questions
Is InfiniBand faster than Ethernet?
Historically it offered lower latency and better performance for tightly coupled workloads. Modern Ethernet with RDMA and newer AI-focused standards has closed much of the gap. Link speeds are comparable.
Why is InfiniBand lossless?
A sender transmits only when the receiver has confirmed it has buffer space, through a system of credits. Packets are therefore not dropped because a buffer is full.
Who makes InfiniBand equipment?
The standard is open and maintained by a trade association, but nearly all current hardware comes from one company.
Related guides
- InfiniBand vs Ethernet for AI Clusters
- What Is RDMA (Remote Direct Memory Access)?
- Ultra Ethernet vs InfiniBand