NCA NVIDIA Networking & Interconnects 5 — Questions and Answers
Question 1: What is the primary purpose of NVIDIA's NCCL (NCCL Collective Communications Library) in distributed AI training?
- GPU memory management across nodes
- Optimized collective communication primitives leveraging NVLink, InfiniBand, and RoCE (Correct answer)
- CPU-to-GPU data transfer scheduling
- Container network namespace management
Correct answer: Optimized collective communication primitives leveraging NVLink, InfiniBand, and RoCE
NCCL provides highly optimized AllReduce, Broadcast, and other collective operations that automatically use the fastest available interconnect.
Question 2: In InfiniBand terminology, what is the difference between a CA (Channel Adapter) and a switch?
- CAs route packets; switches terminate connections
- CAs are end-node devices that initiate/terminate communication; switches forward packets between CAs (Correct answer)
- CAs operate at layer 3; switches operate at layer 2
- CAs provide storage connectivity; switches provide compute connectivity
Correct answer: CAs are end-node devices that initiate/terminate communication; switches forward packets between CAs
A Channel Adapter is the InfiniBand NIC installed in a compute node, while switches forward packets between CAs across the fabric.
Question 3: What is the significance of the 'rail-optimized' topology in NVIDIA's DGX SuperPOD architecture?
- Each rail provides dedicated storage access
- Each NIC on a server connects to a separate top-of-rack switch rail for maximum all-reduce bandwidth (Correct answer)
- Rails provide separate management and data planes
- Each rail handles a different AI framework's traffic
Correct answer: Each NIC on a server connects to a separate top-of-rack switch rail for maximum all-reduce bandwidth
Rail-optimized topology assigns each of the server's NICs to a separate network switch, so all-reduce traffic distributes evenly across all rails.
Question 4: Which NVIDIA technology enables a single GPU kernel to directly initiate RDMA communication without CPU involvement?
- GPUDirect Async (Correct answer)
- CUDA Unified Memory
- NVLink P2P
- cuDNN distributed
Correct answer: GPUDirect Async
GPUDirect Async allows CUDA kernels to trigger RDMA operations on ConnectX NICs directly, enabling communication-compute overlap without CPU wake-ups.
Question 5: What does the InfiniBand IBTA specification define as the maximum MTU for HDR/NDR links?
- 2048 bytes
- 4096 bytes (Correct answer)
- 8192 bytes
- 16384 bytes
Correct answer: 4096 bytes
The InfiniBand specification defines a maximum MTU of 4096 bytes for packet payloads on HDR and NDR links.
Question 6: How does NVIDIA's Spectrum-4 Ethernet switch accelerate AI workloads compared to a generic Ethernet switch?
- By using InfiniBand protocols internally
- By implementing RoCE-aware adaptive routing and per-packet telemetry for congestion visibility (Correct answer)
- By bypassing the Ethernet standard entirely
- By running NCCL on the switch CPU
Correct answer: By implementing RoCE-aware adaptive routing and per-packet telemetry for congestion visibility
Spectrum-4 combines hardware-based adaptive routing with granular telemetry that gives operators visibility into per-flow congestion for AI traffic optimization.
Question 7: In an NVIDIA Quantum-2 InfiniBand fabric, what is the maximum number of switch ports available in a single switch chassis?
- 40 ports
- 64 ports (Correct answer)
- 80 ports
- 256 ports
Correct answer: 64 ports
The NVIDIA Quantum-2 QM9700 switch provides 64 ports of NDR (400 Gb/s) InfiniBand connectivity in a single 1U chassis.
What is the primary purpose of NVIDIA's NCCL (NCCL Collective Communications Library) in distributed AI training?