# Evaluating Modern GPU Interconnect: PCIe, NVLink, NV-SLI, NVSwitch and   GPUDirect

**Authors:** Ang Li, Shuaiwen Leon Song, Jieyang Chen, Jiajia Li, Xu, Liu, Nathan Tallent, Kevin Barker

arXiv: 1903.04611 · 2019-08-26

## TL;DR

This paper thoroughly evaluates five modern GPU interconnects across various high-end platforms, revealing new NUMA effects and emphasizing the importance of GPU configuration choices for optimizing multi-GPU application performance.

## Contribution

It provides the first comprehensive empirical analysis of PCIe, NVLink, NVSwitch, and SLI interconnects, uncovering new NUMA effects and guiding multi-GPU system optimization.

## Key findings

- Identified four new GPU communication NUMA effects.
- Showed that GPU topology and connectivity significantly impact performance.
- Provided insights for building multi-GPU performance models.

## Abstract

High performance multi-GPU computing becomes an inevitable trend due to the ever-increasing demand on computation capability in emerging domains such as deep learning, big data and planet-scale simulations. However, the lack of deep understanding on how modern GPUs can be connected and the real impact of state-of-the-art interconnect technology on multi-GPU application performance become a hurdle. In this paper, we fill the gap by conducting a thorough evaluation on five latest types of modern GPU interconnects: PCIe, NVLink-V1, NVLink-V2, NVLink-SLI and NVSwitch, from six high-end servers and HPC platforms: NVIDIA P100-DGX-1, V100-DGX-1, DGX-2, OLCF's SummitDev and Summit supercomputers, as well as an SLI-linked system with two NVIDIA Turing RTX-2080 GPUs. Based on the empirical evaluation, we have observed four new types of GPU communication network NUMA effects: three are triggered by NVLink's topology, connectivity and routing, while one is caused by PCIe chipset design issue. These observations indicate that, for an application running in a multi-GPU node, choosing the right GPU combination can impose considerable impact on GPU communication efficiency, as well as the application's overall performance. Our evaluation can be leveraged in building practical multi-GPU performance models, which are vital for GPU task allocation, scheduling and migration in a shared environment (e.g., AI cloud and HPC centers), as well as communication-oriented performance tuning.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1903.04611/full.md

## Figures

47 figures with captions in the complete paper: https://tomesphere.com/paper/1903.04611/full.md

## References

60 references — full list in the complete paper: https://tomesphere.com/paper/1903.04611/full.md

---
Source: https://tomesphere.com/paper/1903.04611