🖥️ AI InfrastructureID:
collective-communication-nvlinkCollective Comm & NVLink Topology
集合通信与 NVLink 拓扑
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep DiveCore Def
Explain the core definition, underlying mechanism/math, and key principles of Collective Comm & NVLink Topology.
Use Cases
In production engineering, what are the primary use cases for Collective Comm & NVLink Topology and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Derive AllGather's volume: shard per rank, N ranks, each ends with and must receive new bytes — explain why it grows linearly with N while Ring-AllReduce does not.
2
Decompose AllReduce into ReduceScatter + AllGather: what is each phase's volume ( and ) and step count (N−1); verify the total by addition.
3
Why MoE expert parallelism is AllToAll, not AllGather: tokens route by expert ID, each rank sends to and receives from all ranks; compare volume under uniform load with AllReduce.
4
Recite NVLink/IB numbers: NVLink 4.0 = 900GB/s, NVLink 5.0 = 1.8TB/s, IB 800Gbps = 100GB/s, 400Gbps = 50GB/s; compute how many × NVLink 5.0 is over IB 800Gbps (≈18×) and why TP must use NVLink while DP can use IB.
5
Describe rail-optimized topology: the i-th GPU of every node plugs into one shared leaf switch forming a “rail”; what problem it solves (same-index communication, no cross-rail hotspots) and its relation to NVSwitch and leaf-spine.
📖 In-depth Guide:📄 distributed-parallelism →
Updated 2026-08-12🎯
🚀 Start Card Practice ➔Test Your Knowledge: Practice Questions for "Collective Comm & NVLink Topology"
Single choice pitfall questions with instant feedback and mistake tracking.