Multi-node training is far slower than expected, and you suspect inter-node GPU traffic is going through host memory instead of directly between GPUs and network adapters. What is a sound first step?
- Exam domain
- Troubleshooting and Optimization23% of the exam
- Difficulty
- Hard
- In this mock
- 12 questions on this domainPractise this domain
Why the exam asks this
Troubleshooting and Optimization (23% of the exam).
Objective in the exam guide: Troubleshoot Magnum IO components.
Magnum IO problems show up as slow communication.
Why D is the answer
Run with NCCL debug logging enabled (NCCL_DEBUG) and check which transports and paths NCCL selected, including whether GPUDirect RDMA is used
NCCL debug output shows the transports it chose; GPUDirect RDMA provides a direct path between GPUs and network adapters.
How it works
NCCL chooses transports for GPU-to-GPU communication.
NCCL_DEBUG logging shows what it chose.
GPUDirect RDMA gives a direct path between GPUs and network adapters.
Clues in the question
The words that point to the answer, and what each one tells you.
- Through host memory instead of directly
- Direct path not used.
In detail
- GPUDirect RDMA is part of the Magnum IO stack.
- Topology and drivers affect whether the direct path is used.
Side by side with look-alikes
| Step | Sound first step? |
|---|---|
| NCCL debug logging | Yes |
| Reinstall OS | No |
| Lower learning rate | No |
| Disable adapters | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Reinstall the operating system on every nodeWrongMost tempting
Reinstalling without evidence wastes time.
Why it tempts: It resets software. But it is slow and does not show the cause.
B. Lower the learning rateWrong
Learning rate does not affect transport.
C. Disable the InfiniBand adaptersWrong
Disabling adapters makes it worse.
D. Run with NCCL debug logging enabled (NCCL_DEBUG) and check which transports and paths NCCL selected, including whether GPUDirect RDMA is usedRight
NCCL debug output shows the transports it chose; GPUDirect RDMA provides a direct path between GPUs and network adapters.
In practice
- Compare NCCL test bandwidth before and after the fix.