NVLink
{{Short description|High speed chip interconnect}}
{{infobox Information appliance
|name=NVLink
|image=200px
|caption=
|manufacturer=Nvidia
|type=Multi-GPU and CPU technology
|releasedate=
|price=
|connectivity=
|lifespan=
|unitssold=
|media=
|os=
|input=
|power=
|storage=
|memory=
|display=
|service=
|dimensions=
|weight=
|predecessor=Scalable Link Interface
|successor=
|related=}}
NVLink is a wire-based serial multi-lane near-range communications link developed by Nvidia. Unlike PCI Express, a device can consist of multiple NVLinks, and devices use mesh networking to communicate instead of a central hub. The protocol was first announced in March 2014 and uses a proprietary high-speed signaling interconnect (NVHS).[http://www.fudzilla.com/news/graphics/41420-nvidia-nvlink-2-0-arrives-in-ibm-servers-next-year Nvidia NVLINK 2.0 arrives in IBM servers next year] by Jon Worrel on fudzilla.com on August 24, 2016
Principle
NVLink is developed by Nvidia for data and control code transfers in processor systems between CPUs and GPUs and solely between GPUs. NVLink specifies a point-to-point connection with data rates of 20, 25 and 50 Gbit/s (v1.0/v2.0/v3.0+ resp.) per differential pair. For NVLink 1.0 and 2.0 eight differential pairs form a "sub-link" and two "sub-links", one for each direction, form a "link". Starting from NVlink 3.0 only four differential pairs form a "sub-link". For NVLink 2.0 and higher the total data rate for a sub-link is 25 GB/s and the total data rate for a link is 50 GB/s. Each V100 GPU supports up to six links. Thus, each GPU is capable of supporting up to 300 GB/s in total bi-directional bandwidth.{{Cite web|url=http://images.nvidia.com/content/pdf/dgx1-v100-system-architecture-whitepaper.pdf|title=NVIDIA DGX-1 With Tesla V100 System Architecture}}{{cite web |url=http://blogs.nvidia.com/blog/2014/11/14/what-is-nvlink/ |title=What Is NVLink? |publisher=Nvidia |date=2014-11-14}} NVLink products introduced to date focus on the high-performance application space. Announced May 14, 2020, NVLink 3.0 increases the data rate per differential pair from 25 Gbit/s to 50 Gbit/s while halving the number of pairs per NVLink from 8 to 4. With 12 links for an Ampere-based A100 GPU this brings the total bandwidth to 600 GB/s.{{cite news|url=https://www.anandtech.com/show/15801/nvidia-announces-ampere-architecture-and-a100-products|title=NVIDIA Ampere Unleashed: NVIDIA Announces New GPU Architecture, A100 GPU, and Accelerator|author=Ryan Smith|date=May 14, 2020|publisher=AnandTech}} Hopper has 18 NVLink 4.0 links enabling a total of 900 GB/s bandwidth.{{Cite web |last=Jacobs |first=Blair |date=2022-03-23 |title=Nvidia reveals next-gen Hopper GPU architecture |url=https://www.club386.com/nvidia-reveals-next-gen-hopper-gpu-architecture/ |access-date=2022-05-04 |website=Club386 |language=en-GB}} Thus NVLink 2.0, 3.0 and 4.0 all have a 50 GB/s per bidirectional link, and have 6, 12 and 18 links correspondingly.
Performance
The following table shows a basic metrics comparison based upon standard specifications:
The following table shows a comparison of relevant bus parameters for real world semiconductors that all offer NVLink as one of their options:
{{notelist| refs=
{{efn |name=datarate |text=Data rate columns are maximum theoretical values.}}
{{efn |name=sub_bundling |text=sample value; NVLink sub-link bundling should be possible.}}
{{efn |name=fractions |text=sample value; other fractions for the PCIe lane usage should be possible.}}
{{efn |name=diff_pair |text=a single PCIe lane transfers data over a differential pair.}}
}}
Real world performance could be determined by applying different encapsulation taxes as well usage rate. Those come from various sources:{{citation needed|date=November 2024}}
- 128b/130b line code (see e.g. PCI Express data transmission for versions 3.0 and higher)
- Link control characters
- Transaction header
- Buffering capabilities
- DMA usage on computer side
Those physical limitations usually reduce the data rate to between 90 and 95% of the transfer rate.{{citation needed|date=November 2024}} NVLink benchmarks show an achievable transfer rate of about 35.3 Gbit/s{{contradictory inline |reason=This isn't 90-95%|date=November 2024}} (host to device) for a 40 Gbit/s (2 sub-lanes uplink) NVLink connection towards a P100 GPU in a system that is driven by a set of IBM POWER8 CPUs.{{cite web|url=https://www.microway.com/hpc-tech-tips/comparing-nvlink-vs-pci-e-nvidia-tesla-p100-gpus-openpower-servers/ |title=Comparing NVLink vs PCI-E with NVIDIA Tesla P100 GPUs on OpenPOWER Servers |author=Eliot Eshelman |website=microway.com |date=January 26, 2017}}
Usage with plug-in boards
For the various versions of plug-in boards (a yet small number of high-end gaming and professional graphics GPU boards with this feature exist) that expose extra connectors for joining them into a NVLink group, a similar number of slightly varying, relatively compact, PCB based interconnection plugs does exist. Typically only boards of the same type will mate together due to their physical and logical design. For some setups two identical plugs need to be applied for achieving the full data rate. As of now the typical plug is U-shaped with a fine grid edge connector on each of the end strokes of the shape facing away from the viewer. The width of the plug determines how far away the plug-in cards need to be seated to the main board of the hosting computer system - a distance for the placement of the card is commonly determined by the matching plug (known available plug widths are 3 to 5 slots and also depend on board type).{{Cite web|url=https://www.nvidia.com/de-de/design-visualization/nvlink-bridges/|title=NVIDIA Quadro NVLink Grafikprozessor-Zusammenschaltung in Hochgeschwindigkeit|website=NVIDIA}}{{Cite web|url=https://www.nvidia.com/de-de/geforce/graphics-cards/rtx-2080-ti/|title=Grafik neu erfunden: NVIDIA GeForce RTX 2080 Ti-Grafikkarte|website=NVIDIA}} The interconnect is often referred as Scalable Link Interface (SLI) from 2004 for its structural design and appearance, even if the modern NVLink based design is of a quite different technical nature with different features in its basic levels compared to the former design. Reported real world devices are:{{Cite web|url=https://www.pugetsystems.com/labs/articles/NVLink-on-NVIDIA-GeForce-RTX-2080-2080-Ti-in-Windows-10-1253/|title=NVLink on NVIDIA GeForce RTX 2080 & 2080 Ti in Windows 10|website=Puget Systems|date=5 October 2018 }}
- Quadro GP100 (a pair of cards will make use of up to 2 bridges;[http://www.shopblt.com/cgi-bin/shop/shop.cgi?action=enter&thispage=011004001508_B2PU977P.shtml]{{dead link|date=September 2020}} the setup realizes either 2 or 4 NVLink connections with up to 160 GB/s{{Cite web|url=https://www.hardwareluxx.de/index.php/news/hardware/grafikkarten/41825-nvidia-praesentiert-quadro-gp100-mit-gp100-gpu-und-16-gb-hbm2.html|title=NVIDIA präsentiert Quadro GP100 mit GP100-GPU und 16 GB HBM2|first=Andreas|last=Schilling|website=Hardwareluxx|date=5 February 2017 }} - this might resemble NVLink 1.0 with 20 GT/s)
- Quadro GV100 (a pair of cards will need up to 2 bridges and realize up to 200 GB/s - this might resemble NVLink 2.0 with 25 GT/s and 4 links)
- GeForce RTX 2080 based on TU104 (with single bridge "GeForce RTX NVLink-Bridge"{{Cite web|url=https://www.nvidia.com/de-de/geforce/graphics-cards/rtx-2080/|title=NVIDIA GeForce RTX 2080 Founders Edition Graphics Card|website=NVIDIA}})
- GeForce RTX 2080 Ti based on TU102 (with single bridge "GeForce RTX NVLink-Bridge")
- Quadro RTX 5000{{Cite web|url=https://www.nvidia.com/en-us/design-visualization/quadro-desktop-gpus/|title=NVIDIA Quadro Graphics Cards for Professional Design Workstations|website=NVIDIA}} based on TU104{{Cite web|url=https://www.hardwareinside.de/nvidia-quadro-rtx-6000-und-rtx-5000-ready-fuer-pre-order-36399/|title=NVIDIA Quadro RTX 6000 und RTX 5000 Ready für Pre-Order|date=October 1, 2018}} (with single bridge "NVLink" up to 50 GB/s{{Cite web|url=https://www.pny.com/professional/explore-our-products/learn-about-nvidia-quadro/nvlink|title=NVLink {{pipe}} pny.com|website=www.pny.com}} - this might resemble NVLink 2.0 with 25 GT/s and 1 link)
- Quadro RTX 6000 based on TU102 (with single bridge "NVLink HB" up to 100 GB/s - this might resemble NVLink 2.0 with 25 GT/s and 2 links)
- Quadro RTX 8000 based on TU102{{Cite web|url=https://www.techpowerup.com/gpu-specs/quadro-rtx-8000.c3306|title=NVIDIA Quadro RTX 8000 Specs|website=TechPowerUp|date=14 August 2023 }} (with single bridge "NVLink HB" up to 100 GB/s - this might resemble NVLink 2.0 with 25 GT/s and 2 links)
Service software and programming
For the Tesla, Quadro and Grid product lines, the NVML-API (Nvidia Management Library API) offers a set of functions for programmatically controlling some aspects of NVLink interconnects on Windows and Linux systems, such as component evaluation and versions along with status/error querying and performance monitoring.{{Cite web|url=http://docs.nvidia.com/deploy/nvml-api/index.html|title=NvLink Methods|website=docs.nvidia.com}} Further, with the provision of the NCCL library (Nvidia Collective Communications Library) developers in the public space shall be enabled for realizing e.g. powerful implementations for artificial intelligence and similar computation hungry topics atop NVLink.{{Cite web|url=https://developer.nvidia.com/nccl|title=NVIDIA Collective Communications Library (NCCL)|date=May 10, 2017|website=NVIDIA Developer}} The page "3D Settings" » "Configure SLI, Surround, PhysX" in the Nvidia Control panel and the CUDA sample application "simpleP2P" use such APIs to realize their services in respect to their NVLink features. On the Linux platform, the command line application with sub-command "nvidia-smi nvlink" provides a similar set of advanced information and control.
History
On 5 April 2016, Nvidia announced that NVLink would be implemented in the Pascal-microarchitecture-based GP100 GPU, as used in, for example, Nvidia Tesla P100 products.{{cite web |url=https://devblogs.nvidia.com/parallelforall/inside-pascal/ |title=Inside Pascal: NVIDIA's Newest Computing Platform |date=2016-04-05}} With the introduction of the DGX-1 high performance computer base it was possible to have up to eight P100 modules in a single rack system connected to up to two host CPUs. The carrier board (...) allows for a dedicated board for routing the NVLink connections – each P100 requires 800 pins, 400 for PCIe + power, and another 400 for the NVLinks, adding up to nearly 1600 board traces for NVLinks alone (...).Anandtech.com Each CPU has direct connection to 4 units of P100 via PCIe and each P100 has one NVLink each to the 3 other P100s in the same CPU group plus one more NVLink to one P100 in the other CPU group. Each NVLink (link interface) offers a bidirectional 20 GB/sec up 20 GB/sec down, with 4 links per GP100 GPU, for an aggregate bandwidth of 80 GB/sec up and another 80 GB/sec down.[http://www.anandtech.com/show/10229/nvidia-announces-dgx1-server NVIDIA Unveils the DGX-1 HPC Server: 8 Teslas, 3U, Q2 2016] by anandtech.com on April, 2016 NVLink supports routing so that in the DGX-1 design for every P100 a total of 4 of the other 7 P100s are directly reachable and the remaining 3 are reachable with only one hop. According to depictions in Nvidia's blog-based publications, from 2014 NVLink allows bundling of individual links for increased point to point performance so that for example a design with two P100s and all links established between the two units would allow the full NVLink bandwidth of 80 GB/s between them.[https://devblogs.nvidia.com/parallelforall/how-nvlink-will-enable-faster-easier-multi-gpu-computing/ How NVLink Will Enable Faster, Easier Multi-GPU Computing] by Mark Harris on November 14, 2014
At GTC2017, Nvidia presented its Volta generation of GPUs and indicated the integration of a revised version 2.0 of NVLink that would allow total I/O data rates of 300 GB/s for a single chip for this design, and further announced the option for pre-orders with a delivery promise for Q3/2017 of the DGX-1 and DGX-Station high performance computers that will be equipped with GPU modules of type V100 and have NVLink 2.0 realized in either a networked (two groups of four V100 modules with inter-group connectivity) or a fully interconnected fashion of one group of four V100 modules.
In 2017–2018, IBM and Nvidia delivered the Summit and Sierra supercomputers for the US Department of Energy{{cite web |url=http://www.teratec.eu/actu/calcul/Nvidia_Coral_White_Paper_Final_3_1.pdf |title=Whitepaper: Summit and Sierra Supercomputers |date=2014-11-01}} which combine IBM's POWER9 family of CPUs and Nvidia's Volta architecture, using NVLink 2.0 for the CPU-GPU and GPU-GPU interconnects and InfiniBand EDR for the system interconnects.{{cite web |url=http://www.anandtech.com/show/8727/nvidia-ibm-supercomputers |title=Nvidia Volta, IBM POWER9 Land Contracts For New US Government Supercomputers |publisher=AnandTech |date=2014-11-17}}
In 2020, Nvidia announced that they will no longer be adding new SLI driver profiles on RTX 2000 series and older from January 1, 2021.{{cite web |url=https://www.pcworld.com/article/3573384/rip-nvidia-slams-the-final-nail-in-slis-coffin-no-new-profiles-after-2020.html |publisher=PC World |date=2020-09-18 |title=RIP: Nvidia slams the final nail in SLI's coffin, no new profiles after 2020}}
See also
References
{{Reflist}}
{{Nvidia}}
{{Computer-bus}}