Demystifying NCCL: An In-depth Analysis of GPU Communication Protocols and Algorithms
Not on the map. Why?
Abstract (arXiv)
The NVIDIA Collective Communication Library (NCCL) is a critical software layer enabling high-performance collectives on large-scale GPU clusters. Despite being open source with a documented API, its internal design remains largely opaque. The orchestration of communication channels, selection of protocols, and handling of memory movement across devices and nodes are not well understood, making it difficult to analyze performance or identify bottlenecks. This paper presents a comprehensive analysis of NCCL, focusing on its communication protocol variants (Simple, LL, and LL128), mechanisms governing intra-node and inter-node data movement, and ring- and tree-based collective communication algorithms. The insights obtained from this study serve as the foundation for ATLAHS, an application-trace-driven network simulation toolchain capable of accurately reproducing NCCL communication patterns in large-scale AI training workloads. By demystifying NCCL's internal architecture, this work provides guidance for system researchers and performance engineers working to optimize or simulate collective communication at scale.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). First posted on arXiv 7 Jul 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 4; 2026: 16.
20 papers.
Sort:
By area:
- 2025Laminar: A Scalable Asynchronous RL Post-Training Frameworkcited by 37
- 2025GPU-Initiated Networking for NCCLcited by 5
- 2026Towards Resiliency in Large Language Model Serving with KevlarFlowcited by 3
- 2026PipeLive: Efficient Live In-place Pipeline Parallelism Reconfiguration for Dynamic LLM Servingcited by 3
- 2026UCCL-Zip: Lossless Compression Supercharged GPU Communicationcited by 2
- 2026Harnessing Routing Foresight for Micro-step-level MoE load balancing in RL Post-trainingcited by 2
- 2025Fine-grained MoE Load Balancing with Linear Programmingcited by 1
- 2025Design Space Exploration of DMA based Finer-Grain Compute Communication Overlapcited by 1
- 2026HetCCL: Accelerating LLM Training with Heterogeneous GPUscited by 1
- 2026TENT: A Declarative Slice Spraying Engine for Performant and Resilient Data Movement in Disaggregated LLM Servingcited by 1
- 2026ShuntServe: Cost-Efficient LLM Serving on Heterogeneous Spot GPU Clusterscited by 1
- 2026Characterizing Parallelism Strategies in LLM Inference: Fundamental Compute-Communication Trade-offscited by 1
8 more
- 2026FreeScale: Distributed Training for Sequence Recommendation Models with Minimal Scaling Costcited by 0
- 2026NCCLZ: Compression-Enabled GPU Collectives with Decoupled Quantization and Entropy Codingcited by 0
- 2026Maia 200: A Software Defined Dataflow System for Large-scale AI Accelerationcited by 0
- 2026The Life of a Token: from Words to Bits on the Wirecited by 0
- 2026Purlin: Separating Orchestration from the Datapath of Collectivescited by 0
- 2026Efficient Expert-Parallel Communication on PCIe-Connected Consumer GPUscited by 0
- 2026T-CCL: Resource Efficient and Performant Collective Communication using Tensor Memory Acceleratorcited by 0
- 2026FastEEP: Fast Intra-Instance Elastic Scaling for Expert-Parallel MoE Servingcited by 0
- 2026FastEEP: Fast Intra-Instance Elastic Scaling for Expert-Parallel MoE Serving13 Oct 2026
- 2026T-CCL: Resource Efficient and Performant Collective Communication using Tensor Memory Accelerator5 Oct 2026
- 2026Characterizing Parallelism Strategies in LLM Inference: Fundamental Compute-Communication Trade-offs4 Oct 2026
- 2026Efficient Expert-Parallel Communication on PCIe-Connected Consumer GPUs30 Sep 2026
- 2026Purlin: Separating Orchestration from the Datapath of Collectives29 Sep 2026
- 2026The Life of a Token: from Words to Bits on the Wire17 Sep 2026
- 2026Maia 200: A Software Defined Dataflow System for Large-scale AI Acceleration25 Aug 2026
- 2026ShuntServe: Cost-Efficient LLM Serving on Heterogeneous Spot GPU Clusters17 Jun 2026
- 2026Harnessing Routing Foresight for Micro-step-level MoE load balancing in RL Post-training10 Jun 2026
- 2026NCCLZ: Compression-Enabled GPU Collectives with Decoupled Quantization and Entropy Coding12 May 2026
- 2026FreeScale: Distributed Training for Sequence Recommendation Models with Minimal Scaling Cost27 Apr 2026
- 2026UCCL-Zip: Lossless Compression Supercharged GPU Communication19 Apr 2026
8 more
- 2026PipeLive: Efficient Live In-place Pipeline Parallelism Reconfiguration for Dynamic LLM Serving14 Apr 2026
- 2026TENT: A Declarative Slice Spraying Engine for Performant and Resilient Data Movement in Disaggregated LLM Serving1 Apr 2026
- 2026HetCCL: Accelerating LLM Training with Heterogeneous GPUs30 Jan 2026
- 2026Towards Resiliency in Large Language Model Serving with KevlarFlow30 Jan 2026
- 2025Design Space Exploration of DMA based Finer-Grain Compute Communication Overlap11 Dec 2025
- 2025Fine-grained MoE Load Balancing with Linear Programming21 Nov 2025
- 2025GPU-Initiated Networking for NCCL19 Nov 2025
- 2025Laminar: A Scalable Asynchronous RL Post-Training Framework14 Oct 2025
- 2026Towards Resiliency in Large Language Model Serving with KevlarFlowcited by 3
- 2026PipeLive: Efficient Live In-place Pipeline Parallelism Reconfiguration for Dynamic LLM Servingcited by 3
- 2026TENT: A Declarative Slice Spraying Engine for Performant and Resilient Data Movement in Disaggregated LLM Servingcited by 1
- 2026ShuntServe: Cost-Efficient LLM Serving on Heterogeneous Spot GPU Clusterscited by 1
- 2026ShuntServe: Cost-Efficient LLM Serving on Heterogeneous Spot GPU Clusters17 Jun 2026
- 2026PipeLive: Efficient Live In-place Pipeline Parallelism Reconfiguration for Dynamic LLM Serving14 Apr 2026
- 2026TENT: A Declarative Slice Spraying Engine for Performant and Resilient Data Movement in Disaggregated LLM Serving1 Apr 2026
- 2026Towards Resiliency in Large Language Model Serving with KevlarFlow30 Jan 2026
- 2026Harnessing Routing Foresight for Micro-step-level MoE load balancing in RL Post-trainingcited by 2
- 2025Fine-grained MoE Load Balancing with Linear Programmingcited by 1
- 2026Efficient Expert-Parallel Communication on PCIe-Connected Consumer GPUscited by 0
- 2026FastEEP: Fast Intra-Instance Elastic Scaling for Expert-Parallel MoE Servingcited by 0
- 2026FastEEP: Fast Intra-Instance Elastic Scaling for Expert-Parallel MoE Serving13 Oct 2026
- 2026Efficient Expert-Parallel Communication on PCIe-Connected Consumer GPUs30 Sep 2026
- 2026Harnessing Routing Foresight for Micro-step-level MoE load balancing in RL Post-training10 Jun 2026
- 2025Fine-grained MoE Load Balancing with Linear Programming21 Nov 2025
- 2025Laminar: A Scalable Asynchronous RL Post-Training Frameworkcited by 37
- 2025GPU-Initiated Networking for NCCLcited by 5
- 2026UCCL-Zip: Lossless Compression Supercharged GPU Communicationcited by 2
- 2025Design Space Exploration of DMA based Finer-Grain Compute Communication Overlapcited by 1
- 2026HetCCL: Accelerating LLM Training with Heterogeneous GPUscited by 1
- 2026Characterizing Parallelism Strategies in LLM Inference: Fundamental Compute-Communication Trade-offscited by 1
- 2026FreeScale: Distributed Training for Sequence Recommendation Models with Minimal Scaling Costcited by 0
- 2026NCCLZ: Compression-Enabled GPU Collectives with Decoupled Quantization and Entropy Codingcited by 0
- 2026Maia 200: A Software Defined Dataflow System for Large-scale AI Accelerationcited by 0
- 2026The Life of a Token: from Words to Bits on the Wirecited by 0
- 2026Purlin: Separating Orchestration from the Datapath of Collectivescited by 0
- 2026T-CCL: Resource Efficient and Performant Collective Communication using Tensor Memory Acceleratorcited by 0
- 2026T-CCL: Resource Efficient and Performant Collective Communication using Tensor Memory Accelerator5 Oct 2026
- 2026Characterizing Parallelism Strategies in LLM Inference: Fundamental Compute-Communication Trade-offs4 Oct 2026
- 2026Purlin: Separating Orchestration from the Datapath of Collectives29 Sep 2026
- 2026The Life of a Token: from Words to Bits on the Wire17 Sep 2026
- 2026Maia 200: A Software Defined Dataflow System for Large-scale AI Acceleration25 Aug 2026
- 2026NCCLZ: Compression-Enabled GPU Collectives with Decoupled Quantization and Entropy Coding12 May 2026
- 2026FreeScale: Distributed Training for Sequence Recommendation Models with Minimal Scaling Cost27 Apr 2026
- 2026UCCL-Zip: Lossless Compression Supercharged GPU Communication19 Apr 2026
- 2026HetCCL: Accelerating LLM Training with Heterogeneous GPUs30 Jan 2026
- 2025Design Space Exploration of DMA based Finer-Grain Compute Communication Overlap11 Dec 2025
- 2025GPU-Initiated Networking for NCCL19 Nov 2025
- 2025Laminar: A Scalable Asynchronous RL Post-Training Framework14 Oct 2025