# NVLink

**NVLink** 是 NVIDIA 专有的高速互连技术，用于连接 GPU 与 GPU，在某些系统中也用于连接 GPU 与 CPU，其带宽远高于 [PCI Express](https://www.edgepedia.org/zh/pci-express)（PCIe），延迟则更低。该技术于 2014 年发布，2016 年随 Tesla P100 加速器和 Pascal GP100 GPU 首次出货，此后成为 NVIDIA 数据中心平台的纵向扩展架构，并通过 NVLink Switch 系统延伸至机架之间。<sup>[1](https://images.nvidia.com/content/volta-architecture/pdf/volta-architecture-whitepaper.pdf?ncid=no-ncid)</sup><sup> • </sup><sup>[2](https://nvidianews.nvidia.com/_gallery/download_pdf/544819d2f6091d27350005fc/)</sup>

| 关键事实 | 详情 |
|---|---|
| 首次出货 | 2016 年，随 Tesla P100 加速器和 Pascal GP100 GPU<sup>[1](https://images.nvidia.com/content/volta-architecture/pdf/volta-architecture-whitepaper.pdf?ncid=no-ncid)</sup> |
| 各代每 GPU 带宽 | Pascal 约 160 GB/s；Volta 300 GB/s；Ampere 600 GB/s；Hopper（NVLink 4）900 GB/s；Blackwell（NVLink 5）1,800 GB/s<sup>[3](https://www.nvidia.com/en-us/data-center/nvlink/?trk=article-ssr-frontend-pulse_little-text-block)</sup> |
| NVLink-C2C | 面向 Grace 超级芯片的缓存一致芯片间互连；总带宽 900 GB/s（每方向 450 GB/s），为 PCIe Gen5 x16 链路的 7 倍，约 1.3 皮焦耳每比特<sup>[4](https://developer.nvidia.com/blog/inside-nvidia-grace-cpu-nvidia-amps-up-superchip-engineering-for-hpc-and-ai/)</sup> |
| NVSwitch（第一代） | 非阻塞 18 端口 NVLink 交叉开关，每端口 51.5 GB/s，总带宽 928 GB/s；DGX-2 系统中任意一对 GPU 以 300 GB/s 双向通信<sup>[5](https://developer.nvidia.com/blog/nvswitch-accelerates-nvidia-dgx2/)</sup> |
| 最大 NVLink 5 域 | 非阻塞计算架构中 576 块 GPU；72-GPU 的 NVL72 机架总带宽达 130 TB/s<sup>[6](https://developer.nvidia.com/blog/?p=104887)</sup> |
| NVLink 6（Vera Rubin） | 每 GPU 通过 36 条链路实现 3,000 GB/s；单个 NVL72 机架总带宽 216 TB/s<sup>[3](https://www.nvidia.com/en-us/data-center/nvlink/?trk=article-ssr-frontend-pulse_little-text-block)</sup> |
| 软件暴露方式 | CUDA 点对点访问和 NCCL 集合通信库在拓扑允许时自动使用 NVLink<sup>[7](https://docs.nvidia.com/cuda/cuda-programming-guide/03-advanced/multi-gpu-systems.html)</sup> |

## 目的与基本设计

NVLink 旨在解决一个随着 GPU 算力超越 PCIe 总线而日益严重的瓶颈。在该技术推出时，服务器用 PCIe 连接 GPU，提供约 12 GB/s 的通信带宽，NVIDIA 声称新互连的带宽是前者的 5 到 12 倍，并支持以系统内存速度进行 GPU 到 GPU 以及 GPU 到 CPU 的直接通信。<sup>[2](https://nvidianews.nvidia.com/_gallery/download_pdf/544819d2f6091d27350005fc/)</sup> 该互连在现有 CUDA 编程模型内透明运行：应用程序使用常规的点对点 API，驱动程序在拓扑允许时将流量路由到 NVLink 上。<sup>[8](https://docs.nvidia.com/cuda/archive/10.2/pdf/Pascal_Tuning_Guide.pdf)</sup>

一条物理 NVLink 将 GPU 或 NVSwitch 上的一个端口连接到对等端口；多条链路可以连接同一对 GPU，而 NVSwitch 将许多面向 GPU 的链路汇入一个交换架构。<sup>[9](https://docs.nvidia.com/datacenter/dcgm/latest/learn/core-services/topology-and-links.html)</sup> 每一代通过改变通道速率、通道数量和信号模式，使链路速度大致翻倍。<sup>[10](https://www.mdpi.com/1999-5903/17/12/537)</sup>

## 各代演进

**Pascal 与 Volta。** 第一代 NVLink 于 2016 年随 Tesla P100 出货。Volta 代 GV100 白皮书 记载了每 GPU 链路从四条增至六条，使支持的 GPU NVLink 带宽提升至 300 GB/s，并指出虽然 P100 支持对等 GPU 原子操作，但通过 NVLink 发送并在目标 CPU 上完成的原子操作尚不支持。<sup>[1](https://images.nvidia.com/content/volta-architecture/pdf/volta-architecture-whitepaper.pdf?ncid=no-ncid)</sup> 橡树岭的 Summit 超级计算机在该代产品上连接了 IBM Power9 CPU 与 V100 GPU：每对处理器之间两条链路，每条每方向承载 25 GB/s，处理器之间单向峰值 50 GB/s、双向峰值 100 GB/s。<sup>[11](https://www.olcf.ornl.gov/olcf-resources/compute-systems/summit/)</sup>

**Hopper（NVLink 4）。** H100 GPU 通过 18 条链路提供 900 GB/s 的双向 NVLink 带宽，约为 PCIe Gen5 速度的三倍，并支持 NVLink Switch 系统。<sup>[10](https://www.mdpi.com/1999-5903/17/12/537)</sup>

**Blackwell（NVLink 5）。** 第五代 NVLink 将每 GPU 带宽翻倍至 1.8 TB/s 双向，以 18 条链路、每条 100 GB/s 的形式提供。最大拓扑为非阻塞计算架构中的 576 块 GPU，72-GPU 的 NVL72 机架配置总带宽达 130 TB/s。<sup>[6](https://developer.nvidia.com/blog/?p=104887)</sup> Blackwell 和 Blackwell Ultra 还搭载 NVLink-C2C 用于与 Grace CPU 的缓存一致连接，以及面向主机的 x16 PCIe Gen6 接口。<sup>[6](https://developer.nvidia.com/blog/?p=104887)</sup>

**Vera Rubin（NVLink 6）。** NVIDIA 的规格页面列出第六代 NVLink 为每 GPU 通过 36 条链路实现 3,000 GB/s，NVL72 机架总带宽达 216 TB/s，支持 72-GPU 全互联域；Tom's Hardware 对发布的报道称每 GPU 架构带宽为 3.6 TB/s 双向，每个 NVLink 6 交换机为 28 TB/s，每机架九个交换机。<sup>[3](https://www.nvidia.com/en-us/data-center/nvlink/?trk=article-ssr-frontend-pulse_little-text-block)</sup><sup> • </sup><sup>[12](https://www.tomshardware.com/pc-components/gpus/nvidia-launches-vera-rubin-nvl72-ai-supercomputer-at-ces-promises-up-to-5x-greater-inference-performance-and-10x-lower-cost-per-token-than-blackwell-coming-2h-2026)</sup> NVLink 6 Switch 增加了管理和韧性特性，包括控制面韧性、部分填充机架下的运行能力以及交换机托盘热插拔。<sup>[3](https://www.nvidia.com/en-us/data-center/nvlink/?trk=article-ssr-frontend-pulse_little-text-block)</sup>

## NVLink-C2C

NVLink-C2C 将 NVLink 从 GPU 到 GPU 的链路扩展为内存一致的芯片间互连，把一颗 Grace CPU 和一颗 Hopper GPU，或两颗 Grace CPU 裸片，绑定为单个超级芯片。它在封装内裸片之间提供 900 GB/s 的原始双向带宽，是 PCIe Gen5 x16 链路带宽的 7 倍，延迟更低，约 1.3 皮焦耳每比特，能效超过 PCIe Gen5 的 5 倍。<sup>[4](https://developer.nvidia.com/blog/inside-nvidia-grace-cpu-nvidia-amps-up-superchip-engineering-for-hpc-and-ai/)</sup>

一致性模型是实际的收益所在。CPU 和 GPU 线程可以并发、透明地访问 CPU 侧的 LPDDR5X 内存和 GPU 侧的 HBM3 内存，无需显式数据搬移，扩展 GPU 内存特性让 Hopper GPU 可以将所有 CPU 内存作为 GPU 内存寻址，单个超级芯片内最高可达 608 GB。<sup>[13](https://developer.nvidia.com/blog/?p=57192)</sup> 结合 NVLink Switch 系统，最多 256 个 NVLink 连接的 Grace Hopper 超级芯片形成一个单一可寻址池，GPU 可访问内存最高达 150 TB。<sup>[13](https://developer.nvidia.com/blog/?p=57192)</sup> 同一互连连接 Grace CPU 超级芯片的两颗裸片，产出 144 个核心，最高 960 GB 的 LPDDR5X 和最高 1,024 GB/s 的总内存带宽。<sup>[14](https://www.tomshardware.com/pc-components/cpus/meta-will-deploy-standalone-nvidia-grace-cpus-in-production-with-vera-to-follow-company-sees-perf-per-watt-improvements-of-up-to-2x-in-some-cpu-workloads)</sup> 对 GH200 的研究报告称，在大多数系统负载下，Grace CPU 访问 GPU 内存的延迟约为 800 至 1,000 纳秒。<sup>[15](https://doi.org/10.1145%2F3723851.3723853)</sup>

## NVSwitch 与机架级架构

点对点 NVLink 桥只连接相邻 GPU，因此 NVIDIA 推出了 NVSwitch——一款非阻塞 NVLink 交叉开关芯片。第一代提供 18 个 NVLink 端口，每端口 51.5 GB/s，总双向带宽 928 GB/s，使 DGX-2 系统的 16 块 GPU 在全连接架构中以任意两块之间 300 GB/s 的速度通信。<sup>[5](https://developer.nvidia.com/blog/nvswitch-accelerates-nvidia-dgx2/)</sup> 后来的 NVLink Switch 系统将连接延伸至节点之间，形成 NVIDIA 所称的数据中心级 GPU；在 Vera Rubin NVL72 机架中，NVLink 交换机托盘和由 5,000 根线缆组成的骨干构成单一全互联拓扑，任何 GPU 都能以一致的延迟和带宽到达任何其他 GPU。<sup>[16](https://developer.nvidia.com/blog/nvidia-nvlink-the-scale-up-network-for-ai-factories/)</sup>

交换机各代增加了网内计算能力。NVIDIA 可扩展分层聚合与归约协议（SHARP）随第三代 NVLink Switch 引入，在交换架构内部执行归约和组播，以降低集合通信操作的延迟。<sup>[17](https://developer.nvidia.com/blog/scaling-ai-inference-performance-and-flexibility-with-nvidia-nvlink-and-nvlink-fusion)</sup> NVIDIA 的 TensorRT-LLM MultiShot 协议利用 NVSwitch 组播，将环形 [AllReduce](https://www.edgepedia.org/zh/allreduce) 的 O(N) 延迟最低降至原来的三分之一，无论 GPU 数量多少，只需两个通信步骤即可完成操作。<sup>[18](https://developer.nvidia.com/blog/3x-faster-allreduce-with-nvswitch-and-tensorrt-llm-multishot/)</sup>

## 软件与管理

CUDA 通过点对点内存传输和点对点内存访问来暴露 NVLink：当 `cudaDeviceCanAccessPeer()` 对两个设备返回 true 时，一个设备上的内核可以解引用指向另一设备内存的指针，而 `cudaMemcpy` 使用专用拷贝引擎和 NVLink 硬件以最大化传输性能。<sup>[7](https://docs.nvidia.com/cuda/cuda-programming-guide/03-advanced/multi-gpu-systems.html)</sup> NCCL 集合通信库是大多数深度学习框架的底层支撑，当 CUDA 报告直接访问可用时，它优先选择点对点传输，通常经由 NVLink；管理员可以用 `nvidia-smi topo -p2p` 检查 P2P 矩阵，其中 `n` 表示 NVLink，`p` 表示 PCIe。<sup>[19](https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/troubleshooting/gpu_troubleshooting.html)</sup> `nvidia-smi nvlink` 命令行可查询链路状态、能力、错误计数器和数据速率，`nvidia-smi c2c` 管理基于 Grace 的系统上的 C2C 链路。<sup>[20](https://docs.nvidia.com/deploy/nvidia-smi/index.html)</sup>

## 实测影响

对 P100、V100、DGX-2、Summit 和 SLI 连接系统的独立微基准测试发现，NVLink 将对等可持续带宽提升至远高于 PCIe 的水平，但也显示出 PCIe 不具备的 NUMA 效应：NVLink 带宽和延迟取决于 GPU 对之间的路由路径，而 NVSwitch 恢复了均匀的全互联行为，多一跳交换机不会降低带宽。<sup>[21](https://ieeexplore.ieee.org/document/8763922)</sup> 对于大模型推理，NVIDIA 报告称，在 H200 GPU 上运行 Llama 3.1 70B 时，在各种实时响应预算和批量大小下，NVSwitch 的吞吐量最高可达点对点互连的 1.5 倍，因为张量并行会产生全互联归约，当通信瓶颈形成时张量核心处于空闲状态。<sup>[22](https://developer.nvidia.com/blog/nvidia-nvlink-and-nvidia-nvswitch-supercharge-large-language-model-inference/?ncid=no-ncid)</sup> 收益取决于工作负载：集合通信密集的训练和张量并行推理获益最大，而以计算或单 GPU 内存带宽为主的工作负载获益较少。<sup>[21](https://ieeexplore.ieee.org/document/8763922)</sup>

## References

1. [GV100 GPU Hardware Architecture In-Depth, NVIDIA Volta whitepaper](https://images.nvidia.com/content/volta-architecture/pdf/volta-architecture-whitepaper.pdf?ncid=no-ncid)
2. [NVIDIA Launches World's First High-Speed GPU Interconnect, NVIDIA press release (2014)](https://nvidianews.nvidia.com/_gallery/download_pdf/544819d2f6091d27350005fc/)
3. [NVLink & NVLink Switch: Fastest HPC Data Center Platform, NVIDIA](https://www.nvidia.com/en-us/data-center/nvlink/?trk=article-ssr-frontend-pulse_little-text-block)
4. [Inside NVIDIA Grace CPU: NVIDIA Amps Up Superchip Engineering for HPC and AI, NVIDIA Technical Blog](https://developer.nvidia.com/blog/inside-nvidia-grace-cpu-nvidia-amps-up-superchip-engineering-for-hpc-and-ai/)
5. [NVSwitch Accelerates NVIDIA DGX-2, NVIDIA Technical Blog](https://developer.nvidia.com/blog/nvswitch-accelerates-nvidia-dgx2/)
6. [Inside NVIDIA Blackwell Ultra: The Chip Powering the AI Factory Era, NVIDIA Technical Blog](https://developer.nvidia.com/blog/?p=104887)
7. [Programming Systems with Multiple GPUs, CUDA Programming Guide](https://docs.nvidia.com/cuda/cuda-programming-guide/03-advanced/multi-gpu-systems.html)
8. [Tuning CUDA Applications for Pascal, CUDA Pascal Tuning Guide](https://docs.nvidia.com/cuda/archive/10.2/pdf/Pascal_Tuning_Guide.pdf)
9. [Topology and NVLink, NVIDIA DCGM Documentation](https://docs.nvidia.com/datacenter/dcgm/latest/learn/core-services/topology-and-links.html)
10. [Survey of Intra-Node GPU Interconnection in Scale-Up Network, Future Internet (MDPI)](https://www.mdpi.com/1999-5903/17/12/537)
11. [Summit, Oak Ridge Leadership Computing Facility](https://www.olcf.ornl.gov/olcf-resources/compute-systems/summit/)
12. [Nvidia launches Vera Rubin NVL72 AI supercomputer at CES, Tom's Hardware](https://www.tomshardware.com/pc-components/gpus/nvidia-launches-vera-rubin-nvl72-ai-supercomputer-at-ces-promises-up-to-5x-greater-inference-performance-and-10x-lower-cost-per-token-than-blackwell-coming-2h-2026)
13. [NVIDIA Grace Hopper Superchip Architecture In-Depth, NVIDIA Technical Blog](https://developer.nvidia.com/blog/?p=57192)
14. [Meta will deploy standalone Nvidia Grace CPUs in production, Tom's Hardware](https://www.tomshardware.com/pc-components/cpus/meta-will-deploy-standalone-nvidia-grace-cpus-in-production-with-vera-to-follow-company-sees-perf-per-watt-improvements-of-up-to-2x-in-some-cpu-workloads)
15. [Towards Memory Disaggregation via NVLink C2C: Benchmarking CPU-Requested GPU Memory Access, ACM HECS Workshop](https://doi.org/10.1145%2F3723851.3723853)
16. [NVIDIA NVLink: The Scale-Up Network for AI Factories, NVIDIA Technical Blog](https://developer.nvidia.com/blog/nvidia-nvlink-the-scale-up-network-for-ai-factories/)
17. [Scaling AI Inference Performance and Flexibility with NVIDIA NVLink and NVLink Fusion, NVIDIA Technical Blog](https://developer.nvidia.com/blog/scaling-ai-inference-performance-and-flexibility-with-nvidia-nvlink-and-nvlink-fusion)
18. [3x Faster AllReduce with NVSwitch and TensorRT-LLM MultiShot, NVIDIA Technical Blog](https://developer.nvidia.com/blog/3x-faster-allreduce-with-nvswitch-and-tensorrt-llm-multishot/)
19. [GPU troubleshooting, NCCL 2.32.3 documentation](https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/troubleshooting/gpu_troubleshooting.html)
20. [nvidia-smi documentation, NVIDIA](https://docs.nvidia.com/deploy/nvidia-smi/index.html)
21. [Evaluating Modern GPU Interconnect: PCIe, NVLink, NV-SLI, NVSwitch and GPUDirect, IEEE](https://ieeexplore.ieee.org/document/8763922)
22. [NVIDIA NVLink and NVIDIA NVSwitch Supercharge Large Language Model Inference, NVIDIA Technical Blog](https://developer.nvidia.com/blog/nvidia-nvlink-and-nvidia-nvswitch-supercharge-large-language-model-inference/?ncid=no-ncid)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Graphics & GPU hardware › GPGPU & GPU computing › GPU memory and host interconnect

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/nvlink

English original: https://www.edgepedia.org/nvlink
