NVLink GPU Interconnect Bandwidth Explained
In this article
NVLink is a high-speed, point-to-point interconnect developed by NVIDIA to connect GPUs to each other and to CPUs, and its bandwidth is the maximum data transfer rate that this connection can sustain. In simple terms, NVLink bandwidth is the amount of data that can move between two GPUs (or a GPU and a CPU) per second, measured in gigabytes per second (GB/s) or terabytes per second (TB/s). The exact number depends on the NVLink generation and the number of links used; for example, the fourth-generation NVLink on the H100 GPU provides 900 GB/s of bidirectional bandwidth per GPU, while the third-generation on the A100 provides 600 GB/s. This article explains what that bandwidth actually means, how it compares to other interconnects, and how to choose the right configuration.
Background: Why NVLink Was Created
Before NVLink, GPUs in a multi-GPU system communicated primarily over the PCI Express (PCIe) bus. PCIe is a general-purpose interconnect designed for many devices, and its bandwidth was a bottleneck for workloads that required frequent data exchange between GPUs, such as large-scale deep learning training, scientific simulations, and in-memory databases. NVIDIA introduced NVLink in 2014 with the Pascal architecture to provide a dedicated, high-bandwidth, low-latency path between GPUs, bypassing the PCIe bus. The first generation offered 160 GB/s per GPU (bidirectional), which was roughly 5–10 times faster than PCIe 3.0 x16 at the time. Since then, NVLink has evolved through four generations, each roughly doubling the per-link bandwidth and increasing the number of links per GPU.
How NVLink Bandwidth Works
NVLink bandwidth is not a single fixed number; it is the product of three factors: the bandwidth per link, the number of links per GPU, and the direction of data flow. Each NVLink link is a bidirectional connection, meaning it can send and receive data simultaneously. The total bandwidth is typically quoted as bidirectional, which is the sum of the transmit and receive rates. For example, the fourth-generation NVLink (introduced with the A100) has a per-link bandwidth of 25 GB/s per direction, so each link provides 50 GB/s bidirectional. The A100 has 12 links, giving a total of 600 GB/s bidirectional per GPU. The H100 (Hopper architecture) uses the same 25 GB/s per direction per link, but has 18 links, resulting in 900 GB/s bidirectional. In practice, the achievable bandwidth may be lower due to protocol overhead, but the quoted numbers represent the theoretical peak.
NVLink Generations and Their Bandwidth
Here is a breakdown of the official NVLink generations and their per-GPU bidirectional bandwidth:
- NVLink 1.0 (Pascal, 2016): 20 GB/s per direction per link, 4 links per GPU, 160 GB/s total.
- NVLink 2.0 (Volta, 2017): 25 GB/s per direction per link, 6 links per GPU, 300 GB/s total.
- NVLink 3.0 (Ampere, 2020): 25 GB/s per direction per link, 12 links per GPU, 600 GB/s total.
- NVLink 4.0 (Hopper, 2022): 25 GB/s per direction per link, 18 links per GPU, 900 GB/s total.
Note that the per-link speed has remained at 25 GB/s per direction since Volta; the increase in total bandwidth comes from adding more links. The next generation, NVLink 5.0 (Blackwell, 2024), is expected to double the per-link speed to 50 GB/s per direction, but as of now, official specifications are not fully public.
Comparing NVLink to PCIe and Other Interconnects
To understand the significance of NVLink bandwidth, compare it to PCIe. PCIe 4.0 x16 offers 32 GB/s bidirectional, and PCIe 5.0 x16 offers 64 GB/s. Even the fastest PCIe 5.0 is far slower than NVLink 3.0's 600 GB/s. This is why NVLink is essential for multi-GPU systems that need to share memory and synchronize data frequently. For example, in a deep learning training setup with multiple GPUs, gradients must be exchanged after each batch; NVLink allows this exchange to happen in microseconds, whereas PCIe would take much longer. Other interconnects like AMD's Infinity Fabric or Intel's UPI serve similar purposes for their respective hardware, but NVLink is proprietary to NVIDIA GPUs.
How to Choose the Right NVLink Configuration
When selecting a GPU system, the NVLink bandwidth matters if your workload is communication-bound. Here are the factors to consider:
- Number of GPUs: NVLink can be used to connect two GPUs directly (via a bridge or backplane) or to create a fully connected mesh in systems like the DGX series. More GPUs require more links to maintain high bandwidth.
- Workload type: If your application frequently exchanges data between GPUs (e.g., distributed training, multi-GPU rendering), higher NVLink bandwidth will improve performance. If the workload is mostly independent per GPU, PCIe may suffice.
- Memory sharing: NVLink allows unified memory addressing, so GPUs can access each other's memory directly. This is critical for workloads with large models that exceed a single GPU's memory.
- Budget: NVLink-equipped GPUs and systems are typically more expensive than those relying on PCIe. For many users, the cost may not justify the bandwidth if the workload is not communication-intensive.
For a two-GPU setup, an NVLink bridge is required; the bridge must match the GPU generation and the number of links. For example, the H100 uses an 18-link bridge, while the A100 uses a 12-link bridge.
Common Problems and Misconceptions
One common misconception is that NVLink bandwidth is the same as memory bandwidth. They are different: memory bandwidth refers to the speed at which a GPU can read/write its own VRAM, while NVLink bandwidth is the speed between GPUs. Another issue is that NVLink bandwidth is often quoted as bidirectional, which can be misleading. If you see a spec of 600 GB/s, that is the sum of send and receive; the unidirectional rate is 300 GB/s. In practice, most workloads use both directions, so the bidirectional figure is relevant, but it's important to know the distinction. A common problem is that NVLink may not be enabled by default in some software; you must ensure that the NVIDIA driver and the application support NVLink and that the bridge is properly installed. Also, NVLink only works with NVIDIA GPUs; it is not compatible with AMD or Intel GPUs.
Safety and Practical Considerations
When installing an NVLink bridge or working with NVLink-equipped GPUs, follow standard PC safety practices: unplug the system and ground yourself before opening the case to avoid electrostatic discharge. Never force the bridge into the connector; it should slide in easily. Always check the GPU manual for the correct orientation. NVLink bridges are delicate; handle them by the edges. There is no risk of electric shock from the bridge itself, but the GPU and motherboard contain sensitive components. Also, overclocking NVLink is not recommended; it can cause instability and may affect your warranty. Stick to the default settings.
Frequently Asked Questions
What is the maximum NVLink bandwidth available today?
As of 2024, the highest NVLink bandwidth is 900 GB/s per GPU, found on the NVIDIA H100 (Hopper) GPU. This is achieved with 18 NVLink 4.0 links, each providing 25 GB/s per direction. The upcoming Blackwell architecture may offer more, but official specs are not yet public.
Is NVLink faster than PCIe 5.0?
Yes, significantly. PCIe 5.0 x16 provides 64 GB/s bidirectional, while NVLink 3.0 (A100) provides 600 GB/s, and NVLink 4.0 (H100) provides 900 GB/s. NVLink is designed specifically for GPU-to-GPU communication, while PCIe is a general-purpose bus.
Can I use NVLink to connect different GPU models?
No, NVLink requires both GPUs to be the same model and generation. For example, you can connect two A100s, but not an A100 and an H100. The bridge must match the GPU's link configuration.
Does NVLink double the memory capacity?
Yes, with NVLink, GPUs can access each other's memory, effectively combining their memory pools. For example, two 80 GB A100s can be used as a single 160 GB memory space, but only if the software supports unified memory addressing.
Do I need an NVLink bridge for gaming?
No, NVLink is primarily for professional and scientific workloads. Gaming rarely benefits from multi-GPU setups, and most modern games do not support NVLink. NVIDIA has even dropped SLI (the gaming equivalent) support in recent drivers.
What is the difference between NVLink and NVSwitch?
NVLink is a point-to-point connection between two GPUs, while NVSwitch is a switch that allows multiple GPUs to communicate in a fully connected topology. In systems like the DGX A100, NVSwitches enable all-to-all communication with high bandwidth, not just pairs.