Inferensys

Glossary

NVLink

A high-bandwidth, energy-efficient bidirectional direct GPU-to-GPU interconnect developed by NVIDIA that enables ultra-fast data sharing between multiple graphics processors within a single node.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
GPU INTERCONNECT

What is NVLink?

NVLink is NVIDIA's proprietary high-bandwidth, energy-efficient bidirectional interconnect that directly couples multiple GPUs within a single node, enabling ultra-fast data sharing without traversing the PCIe bus.

NVLink is a high-speed, point-to-point serial interconnect architecture developed by NVIDIA that provides a direct, bidirectional communication pathway between GPUs within a single server node. Unlike traditional PCIe-based communication, which forces all GPU-to-GPU traffic through a shared, bandwidth-constrained CPU root complex, NVLink creates a dedicated mesh topology that allows each accelerator to access the memory of its peers at significantly higher throughput and lower latency. This direct memory access is foundational for scaling multi-GPU training of large transformer models.

The technology operates as a differential signaling link, with each NVLink connection composed of multiple sub-links that can be aggregated for massive total bandwidth. Modern implementations, such as the NVSwitch-based fabric in NVIDIA DGX systems, connect all GPUs in a node with full bisection bandwidth, eliminating inter-GPU bottlenecks entirely. This architecture is critical for synchronous parallel computing paradigms like NCCL all-reduce operations, where every GPU must share gradient updates simultaneously during distributed deep learning training.

HIGH-SPEED INTERCONNECT

Key Features of NVLink

NVLink is NVIDIA's proprietary high-bandwidth, energy-efficient bidirectional interconnect that enables ultra-fast data sharing directly between multiple GPUs within a single node, bypassing traditional PCIe bottlenecks.

01

Direct GPU-to-GPU Communication

NVLink creates a mesh topology where each GPU has a direct, dedicated link to every other GPU in the node. This eliminates the need to route traffic through a central switch or the CPU, dramatically reducing latency. Unlike PCIe, which forces all devices to share a single bus, NVLink provides point-to-point connections with aggregate bandwidth that scales linearly with the number of links.

  • Topology: Fully connected mesh within a node
  • Protocol: Proprietary NVIDIA signaling over physical lanes
  • Benefit: Non-blocking, simultaneous transfers between all GPU pairs
1.8 TB/s
Aggregate Bandwidth (8-GPU H100)
02

NVSwitch: Scaling Beyond Pairwise Links

For systems with more than two GPUs, direct pairwise wiring becomes impractical. NVSwitch is a dedicated switch chip that sits between all GPUs in a node, providing full crossbar connectivity. Each GPU connects to the NVSwitch, which routes data at line rate to any destination GPU. This enables all-to-all communication without the bandwidth degradation of daisy-chaining.

  • Function: Non-blocking crossbar switch for GPU traffic
  • Deployment: Found in DGX systems and HGX baseboards
  • Result: Every GPU sees full bandwidth to every other GPU simultaneously
3.6 TB/s
NVSwitch Throughput (H100)
03

Unified Memory Access Across GPUs

NVLink enables NVIDIA's Unified Memory architecture to span multiple GPUs. Each GPU can directly load and store to the memory of any other GPU in the NVLink domain without explicit programmer-managed copies. The page migration engine automatically moves data to the GPU that accesses it most frequently, creating a single virtual address space across all GPU memory pools.

  • Mechanism: Hardware page faulting and on-demand migration
  • Programming Model: cudaMallocManaged() with system-wide atomic operations
  • Advantage: Simplifies code for models that exceed single-GPU memory capacity
04

NVLink-C2C: Chip-to-Chip Interconnect

NVLink-C2C extends the NVLink protocol to connect NVIDIA GPUs directly to other silicon, such as Grace CPUs or custom accelerators, at the die or package level. This provides cache-coherent memory sharing between CPU and GPU with bandwidth up to 900 GB/s, far exceeding what is possible over PCIe or even socket-to-socket CPU interconnects.

  • Use Case: Grace Hopper Superchip — connects Grace ARM CPU to Hopper GPU
  • Coherency: Full bidirectional cache coherence between CPU and GPU caches
  • Bandwidth: Up to 900 GB/s total bandwidth
900 GB/s
NVLink-C2C Bandwidth
05

NVLink Network: Cross-Node Extension

NVLink Network (formerly NVSwitch Fabric) extends NVLink beyond a single node to connect up to 256 GPUs across multiple nodes in a rack or cluster. It uses NVLink Switches interconnected with copper or optical cables to create a flat, high-radix network. This allows GPUs in different physical servers to communicate with the same direct-load/store semantics as within a node.

  • Scale: Up to 256 GPUs in a single NVLink domain
  • Physical Layer: Copper for intra-rack, optics for inter-rack
  • Protocol: Same NVLink protocol, extended over physical transport
57.6 TB/s
NVLink Network Bisection Bandwidth
06

Sharp In-Network Computing

NVLink and NVSwitch support SHARP (Scalable Hierarchical Aggregation and Reduction Protocol) , which performs collective operations like all-reduce directly inside the network switch silicon. Instead of sending all gradient data to a GPU for summation, the switch aggregates data in-flight as it passes through, reducing the result and sending only the final value back. This dramatically cuts all-reduce latency and frees GPU compute for training.

  • Operation: In-switch reduction for FP32, FP16, BF16, and FP8
  • Impact: Up to 2x improvement in all-reduce throughput
  • Relevance: Critical for large-scale distributed training with synchronous SGD
NVLink Deep Dive

Frequently Asked Questions

Explore the technical specifics of NVIDIA's high-speed GPU interconnect technology, covering its architecture, performance characteristics, and operational impact on AI cluster design.

NVLink is a high-bandwidth, energy-efficient bidirectional direct GPU-to-GPU interconnect developed by NVIDIA. It operates as a mesh of high-speed differential pairs, creating a direct data highway between GPUs that bypasses the traditional PCI Express (PCIe) bus. Unlike PCIe, which routes all inter-GPU traffic through the CPU and a shared switch, NVLink enables each GPU to communicate directly with multiple peers simultaneously. The physical layer uses high-speed SerDes (Serializer/Deserializer) links, and the protocol supports both load/store semantics and bulk data transfer, allowing one GPU to directly access another's memory. This is critical for multi-GPU training paradigms like model parallelism, where a neural network's layers are split across accelerators, requiring constant, low-latency exchange of activations and gradients.

GPU INTERCONNECT ARCHITECTURES

NVLink vs. PCIe: Technical Comparison

A direct comparison of NVIDIA's proprietary NVLink interconnect against the industry-standard PCIe bus for multi-GPU communication within a single node.

FeatureNVLink 4.0PCIe 5.0PCIe 6.0

Topology

Direct mesh

Tree via switch

Tree via switch

Bidirectional Bandwidth per Link

50 GB/s

8 GB/s

16 GB/s

Total GPU Bandwidth (H100)

900 GB/s

128 GB/s

256 GB/s

Memory Access Model

Direct load/store

DMA via BAR

DMA via BAR

Atomic Operations

Hardware Coherency

Error Detection

CRC + Replay

CRC + Replay

FEC + CRC

Typical Use Case

GPU-to-GPU training

CPU-to-GPU control

CPU-to-GPU control

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.