﻿# NCCL GDR read concerns the GPU-to-NIC send path

Evaluate GPU Direct RDMA read eligibility and actual sending behavior separately from receiving support and GPU peer-access capability.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/nccl-gdr-read-path-scope/
Language: en

## Receive success does not qualify the send path

A worker receives data directly into GPU memory, and the team assumes its outgoing data also avoids host staging. The two directions can use different implementation paths. In particular, the sender's NIC reading GPU memory has different eligibility and platform behavior from receiving a network write. Preserve the operation direction before labeling a configuration as uniformly direct or interpreting one successful transfer as a complete path qualification.

## Name what GDR read controls

The [NCCL environment reference](https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/env.html) defines GDR_READ for sending data directly from GPU memory to the NIC, conditional on the GPU-to-NIC distance permitted by the relevant GDR level. The variable's name does not mean an arbitrary application RDMA Read, nor GPU-to-GPU peer access. Its documentation also notes that direct reading can be slower than reading host memory on some platforms. A direct-path preference is not a universal performance guarantee.

## Establish supported prerequisites

The [NCCL GPU guide](https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/troubleshooting/gpu_troubleshooting.html) describes compatible network cards and drivers, with supported peer-memory or DMA-BUF arrangements. Record which arrangement is actually available to the running worker and which topology it sees. A loaded kernel module alone is not proof that this GPU/NIC pair used it. Likewise, a supported driver does not establish an appropriate mapping for an arbitrary allocation method or a path hidden behind an inaccurate container topology view.

## Separate data source and memory ordering

The [GPUDirect RDMA guide](https://docs.nvidia.com/cuda/archive/13.0.1/gpudirect-rdma/index.html) explains that memory mapping, topology and synchronization have their own contracts. On a send path, the producer must finish writing the source under the applicable ordering rules before the NIC consumes it. Direct access cannot repair a data race in the producer or make a buffer safe to recycle before communication finishes. Preserve which component owns source readiness and completion, independently of the mechanism used to move the bytes.

## Compare directions and accepted work

An approved isolated fixture should test send and receive directions separately using the intended GPU/NIC pair, allocation path and representative message sizes. Capture effective configuration, selected-path evidence, correct payloads and useful completion. If comparing a host-staged baseline, hold source preparation and correctness requirements constant. A lower apparent copy count is not sufficient acceptance when CPU overhead, latency or contention makes the actual application worse. This procedure proposes a comparison and supplies no measured bandwidth advantage.

## Keep the direct claim narrow

State which direction and path were observed, what prerequisites were established and what remains inferred. Do not extrapolate one pair to every rank or equate direct network access with a unified GPU memory pool. The [GPU peer-access matrix](/journal/gpu-peer-access-matrix/) illustrates directional capability evidence, while [shared PCIe testing](/journal/gpu-shared-pcie-root-contention/) addresses simultaneous resource pressure. Recheck after topology, driver or allocation changes. The accepted claim should describe useful transfers under a recorded configuration, not treat a GDR-related flag as proof that every byte bypassed host memory in every direction.
