Inferensys

Glossary

InfiniBand

A high-performance, low-latency switched fabric communications link used in high-performance computing and AI clusters for inter-node connectivity, supporting Remote Direct Memory Access (RDMA).
Performance engineer optimizing AI latency on laptop, latency charts visible, technical optimization session.
HIGH-PERFORMANCE INTERCONNECT

What is InfiniBand?

InfiniBand is a high-bandwidth, low-latency switched fabric network architecture used to connect servers and storage in high-performance computing (HPC) and AI clusters, providing the critical inter-node communication backbone for massively parallel workloads.

InfiniBand is a switched fabric communications link standard defined by the InfiniBand Trade Association. It delivers high throughput and extremely low latency by offloading communication processing to a Host Channel Adapter (HCA) , enabling kernel bypass and direct hardware access. Its defining capability is native support for Remote Direct Memory Access (RDMA) , which allows data to move directly between application memory spaces across nodes without involving the operating system or CPU, drastically reducing overhead.

The architecture relies on a switched network topology with dedicated subnet managers, ensuring deterministic, lossless data transmission critical for parallel computing tasks. In modern AI clusters, InfiniBand is the de facto standard for connecting hundreds or thousands of GPUs, facilitating the rapid gradient synchronization required by distributed training frameworks via collective communication libraries like NCCL. Its ability to provide predictable, congestion-free bandwidth makes it superior to traditional Ethernet for tightly coupled, latency-sensitive AI supercomputing.

HIGH-PERFORMANCE INTERCONNECT

Key Features of InfiniBand

InfiniBand is the dominant interconnect fabric for AI supercomputing, providing the ultra-low latency and high bandwidth required for massive-scale distributed training across thousands of GPUs.

01

Remote Direct Memory Access (RDMA)

InfiniBand's foundational capability is kernel-bypass communication. RDMA allows a network adapter to read or write data directly from the memory of one node to another without involving the operating system or CPU on either side.

  • Zero-Copy: Data moves straight from GPU memory to the wire, eliminating intermediate buffers.
  • Sub-Microsecond Latency: Typical end-to-end latency is under 1 microsecond for small messages.
  • CPU Offload: Frees host processors entirely for computation, not data movement.

This is critical for GPUDirect RDMA, where NVIDIA GPUs can directly exchange data over InfiniBand without staging through system memory.

< 1 µs
End-to-End Latency
02

In-Network Computing

InfiniBand switches, particularly those based on the SHARP (Scalable Hierarchical Aggregation and Reduction Protocol) technology, can perform mathematical operations on data as it traverses the network.

  • All-Reduce Acceleration: The switch fabric itself computes summation, minimum, or maximum operations during collective communications.
  • Bandwidth Multiplication: Reduces the volume of data that must reach each endpoint, effectively multiplying effective network bandwidth.
  • Deterministic Latency: Offloading collectives to the switch eliminates the multi-step, software-coordinated process of traditional MPI all-reduce.

This is a cornerstone of scaling NCCL collective operations in large language model training.

2-3x
Effective Bandwidth Gain
03

Credit-Based Flow Control

Unlike Ethernet's pause-frame or reactive congestion mechanisms, InfiniBand uses a link-level, credit-based flow control system to prevent packet loss entirely.

  • Lossless Fabric: A sender only transmits when it has received buffer credits from the receiver, guaranteeing no buffer overruns.
  • No Retransmission Storms: Eliminates the catastrophic performance collapse seen in lossy networks under congestion.
  • Predictable Performance: Essential for the synchronized, barrier-bound nature of distributed deep learning training.

This lossless characteristic is why InfiniBand fabrics do not suffer from TCP incast pathologies common in Ethernet-based AI clusters.

0%
Packet Loss
04

Adaptive Routing

InfiniBand employs sophisticated, per-packet adaptive routing algorithms that dynamically distribute traffic across all available paths in the fabric.

  • Congestion Avoidance: Packets are sprayed across multiple routes based on real-time link load, avoiding hot spots.
  • Full Bisection Bandwidth: Ensures that any node can communicate with any other node at full line rate without contention.
  • Packet-Level Granularity: Unlike flow-based ECMP in Ethernet, InfiniBand can reorder packets at the destination, enabling finer-grained load balancing.

This is critical in spine-leaf architectures where multiple parallel paths exist between any two GPUs.

400 Gb/s
Per-Port Bandwidth (NDR)
05

Self-Healing Fabric Management

The Subnet Manager (SM) is a centralized entity that continuously discovers, configures, and monitors the entire InfiniBand fabric.

  • Plug-and-Play Topology: New nodes are automatically detected, assigned addresses, and integrated into the routing tables.
  • Fault Recovery: Upon a link or switch failure, the SM instantly recalculates routes to bypass the fault in milliseconds.
  • QoS Enforcement: The SM configures Virtual Lanes (VLs) to provide strict traffic prioritization, isolating management, storage, and compute traffic.

This centralized intelligence eliminates the manual configuration and convergence delays typical of distributed routing protocols.

< 10 ms
Fabric Failover Time
INFINIBAND CLARIFIED

Frequently Asked Questions

Precise answers to the most common technical questions about the high-performance interconnect fabric powering modern AI supercomputers.

InfiniBand is a high-bandwidth, low-latency switched fabric communications link standard used to interconnect servers, storage, and accelerators in high-performance computing (HPC) and AI clusters. It operates on a point-to-point, bidirectional serial link architecture, moving data in the form of packets. Unlike traditional Ethernet, InfiniBand is a channel-based architecture, meaning it establishes a direct, protected communication channel between applications, bypassing the operating system kernel. This is achieved through a Host Channel Adapter (HCA) that connects to the PCIe bus and manages all I/O operations in hardware. The fabric is managed by a Subnet Manager (SM), a centralized or distributed entity that discovers the topology, assigns Local Identifiers (LIDs), and calculates forwarding tables for all switches, enabling deterministic routing with credit-based flow control to prevent packet loss.

INTERCONNECT COMPARISON

InfiniBand vs. Ethernet for AI Clusters

Technical comparison of InfiniBand and Ethernet fabrics for GPU cluster inter-node connectivity, focusing on latency, bandwidth, and RDMA capabilities.

FeatureInfiniBand (NDR/NDR200)Ethernet (400GbE)Ethernet (RoCE v2)

Native RDMA Support

Tail Latency (99.9th percentile)

< 3 µs

10-50 µs

5-15 µs

Line Rate Bandwidth

400 Gbps (NDR)

400 Gbps

400 Gbps

Congestion Control Mechanism

Adaptive Routing + Credit-Based Flow Control

ECN + PFC (DCQCN)

ECN + PFC (DCQCN)

In-Network Computing (SHARP/SHArP)

Packet Loss Sensitivity

Lossless by Design

Lossy (Requires PFC for Lossless)

Lossless (PFC-Dependent)

GPU Direct RDMA Peer-to-Peer

Typical Fabric Cost per Port

$800-1,200

$400-600

$500-800

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.