﻿# RoCE, NVLink and distributed training: keep the APNet experiments separate

Interpret the APNet communication study without mixing its RoCE-versus-TCP experiment, NVLink platform comparison and differing NCCL peer-access settings.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/apnet-training-communication-roce-tcp-nvlink-p2p-confounds/
Language: en

The APNet 2024 paper Understanding Communication Characteristics of Distributed Training reports substantial communication differences across protocols and GPU platforms. It also discloses conditions that prevent compressing every result into “NVLink is faster.” The useful lesson is to preserve which path, platform and training phase each comparison actually measures.

## First identify the network path

The [original conference paper](https://conferences.sigcomm.org/events/apnet2024/papers/UnderstandingCommunication.pdf), presented August 3–4, 2024, uses three platforms: RTX 3090 over PCIe, V100 over PCIe, and V100 with NVLink. Their inter-machine connections use 100 Gbps network adapters; GPUs on a machine share an adapter. Inside the host, the accelerator connections differ.

Those are separate links. A faster GPU-to-GPU path inside one server does not automatically replace the transport between servers. The [PCIe topology guide](/journal/gpu-pcie-bandwidth/) explains why interface specifications need a diagram of the complete path before they can explain application timing.

## RoCE versus TCP holds the GPU platform fixed

For its protocol comparison, the study uses two V100 PCIe machines with four GPUs each, forming an eight-worker AllReduce group. The authors report approximately 1.8 times higher throughput for RoCE than TCP for messages above 10 MB. This is a collective-communication result under the reported protocol and congestion-control setup, not a comparison between NVLink and PCIe.

In a VGG16 training case on that platform, communication time falls by approximately a factor of 2 and iteration time by 1.5. The different factors matter: reducing communication does not reduce every part of an iteration. For GPT-3B, the paper separately studies communication associated with the selected parallelism arrangement. A component that stays inside the machine need not respond to a change in inter-machine transport.

## The platform comparison changes peer access too

With RoCE fixed, another AllReduce experiment compares the three hardware platforms. The V100 NVLink setup achieves reported throughput 2.2 times that of V100 PCIe and 3.7 times that of RTX 3090. These numbers belong to the paper's platform configurations.

The authors explicitly state that NCCL peer-to-peer access is enabled for V100 and disabled for RTX 3090. The [official NCCL environment reference](https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/env.html#nccl-p2p-disable) confirms that the peer transport uses direct access between GPUs through NVLink or PCI. Consequently, the platform gap cannot be attributed solely to theoretical interface bandwidth or accelerator arithmetic performance. The setting changes the available communication path.

## A predictive model still needs measured inputs

The paper develops a communication-cost formulation for dense GPT training, accounting for parallelism, message volume and pipeline bubbles. Its execution-time estimates use empirical effective bandwidth and GPU utilization rather than treating peak specifications as observed sustained rates. This is an explanatory model fitted to the studied execution arrangement, not a universal calculator for arbitrary modern clusters.

A local replication should therefore record topology, transport, peer-access state, collective sizes and the framework's overlap behavior. Measure collective throughput separately from complete iteration time, then retain the model and parallelism configuration. The [multiple-GPU architecture guide](/journal/multi-gpu/) helps decide whether the intended workload actually requires distributed execution. These measurements can identify which connection matters without transferring a historical platform ratio into a purchasing guarantee.
