Why One Degraded InfiniBand Link Slows the Whole All-Reduce
Last updated: November 29, 2026
Quick Overview
A customer reports their 512-GPU training step time jumped 40% overnight and diagnostics show one node's InfiniBand port negotiated at a lower rate. Explain, with a cost model, why a single slow link affects the entire job and how you would confirm and fix it.
Fluidstack
November 29, 20260
0
0 solved
A customer reports their 512-GPU training step time jumped 40% overnight and diagnostics show one node's InfiniBand port negotiated at a lower rate. Explain, with a cost model, why a single slow link affects the entire job and how you would confirm and fix it.
Fluidstack runs the InfiniBand fabric under customers' NCCL workloads, so its infrastructure engineers must explain collective-communication behaviour to ML teams and localise faults fast. The interviewer is probing whether you understand ring and tree all-reduce, synchronous training, and practical fabric debugging.
What the Interviewer Expects
- Explain synchronous data-parallel training and why every step waits for the slowest rank
- Give the ring all-reduce cost model and show the bottleneck link sets throughput
- Describe how to localise the bad link (per-port counters, nccl-tests, bisection)
- Propose remediation: drain or cordon the node, reseat or replace optics, reroute
- Mention tree or hierarchical algorithms and why they still suffer
Key Topics to Cover
How to Approach This
- Apply SOLID principles. Single Responsibility makes code testable, Open/Closed makes it extensible.
- Choose data structures based on access patterns, not familiarity.
- Prefer immutable data and message passing over shared mutable state for concurrency.
- Design APIs with RESTful conventions, versioning, meaningful errors, and pagination from day one.
Possible Follow-up Questions
- Why does the 40% slowdown not equal the link's bandwidth drop exactly?
- How would you catch this before the customer does?
- How do NVLink inside a node and InfiniBand across nodes split the work in hierarchical all-reduce?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Restate: a large synchronous job, one port degraded (for example a 400 Gb/s NDR link training down to a lower speed or with rising symbol errors). The question is why one link matters to 512 GPUs, how...
High-Level Design
In data-parallel training every rank computes gradients, then an all-reduce sums them, and no rank can start the next step until the collective finishes. In a ring all-reduce over ranks each rank ...