<div class="csl-bib-body">
<div class="csl-entry">Cerar, J. (2026). <i>Enhancing the performance analysis of NCCL GPU collectives</i> [Diploma Thesis, Technische Universität Wien]. reposiTUm. https://doi.org/10.34726/hss.2026.136848</div>
</div>
-
dc.identifier.uri
https://doi.org/10.34726/hss.2026.136848
-
dc.identifier.uri
http://hdl.handle.net/20.500.12708/229234
-
dc.description.abstract
Efficient inter-GPU communication is very important for scalable distributed deep learning, yet the internal behaviour of NVIDIA’s Collective Communication Library (NCCL) at the GPU kernel level remains largely unexplored. Existing profiling tools observe only host-side call boundaries, giving no visibility into the individual send, receive, and reduce steps that constitute each collective operation.This thesis aims to address this by introducing a fine-grained modification embedded directly into the NCCL source. NCCL collectives can use different algorithms to perform their task, similarly they can use different protocols, which in turn use primitives to perform operations like send, receive or reduce. We implement a tracer, that wraps each collective as well as primitive step in order to get timing and metadata information. We try to introduce as little slowdown as possible, as we wish our traces and timings are as accurate as possible.Experiments were conducted on two GPU platforms spanning five collectives, two algorithms (Ring and Tree), three protocols (LL, LL128, Simple), and message sizes from 4KB to 1GB. The evaluation reveals several findings inaccessible to existing tools. Rather than treating a collective as a single black box, the tracing shows that it consists of a sequence of fine-grained steps (send, receive, and reduce), whose behavior varies significantly across conditions. This highlights that optimizing collectives requires understanding and improving individual steps, not just end-to-end execution.The results demonstrate that fine-grained kernel-level tracing can provide useful insight into NCCL’s internal execution behavior while introducing only modest runtime overhead. Beyond performance analysis, the collected measurements also provide a foundation for improving the realism of future GPU communication simulators.
en
dc.language
English
-
dc.language.iso
en
-
dc.rights.uri
http://rightsstatements.org/vocab/InC/1.0/
-
dc.subject
GPU
en
dc.subject
NCCL
en
dc.subject
Nvidia
en
dc.subject
collective communication
en
dc.subject
communication primitives
en
dc.subject
profiling
en
dc.subject
performance analysis
en
dc.title
Enhancing the performance analysis of NCCL GPU collectives
en
dc.title.alternative
Verbesserung der Leistungsanalyse von NCCL-GPU-Kollektiven