Reading algbw instead of busbw
busbw reflects true hardware link utilization adjusted for the collective algorithm factor (2*(n-1)/n for ring AllReduce).
Operator task guide
NVIDIA nccl-tests (all_reduce_perf, all_gather_perf, alltoall_perf) isolates collective communication performance from PyTorch and dataloader noise. Always evaluate bus bandwidth (busbw) at large message sizes (1 GB to 8 GB) against your theoretical fabric ceiling before launching a multi-node run.
If single-node NVLink busbw is healthy but multi-node busbw drops to Ethernet speeds or hangs, NCCL fell back to Socket instead of NET/IB or hit a degraded InfiniBand/RoCE port. Inspect NCCL_DEBUG=INFO startup lines alongside ibstat and port error counters.
Reviewed . Reference guidance is not a diagnosis of your workload.
Compile NVIDIA/nccl-tests against the exact MPI, CUDA, and NCCL libraries used by your training image, or use an NGC PyTorch container that includes prebuilt nccl-tests.
git clone https://github.com/NVIDIA/nccl-tests.git
cd nccl-tests
make MPI=1 MPI_HOME=/usr/lib/x86_64-linux-gnu/openmpi CUDA_HOME=/usr/local/cudaVerify full intra-node NVLink/PCIe bandwidth on one node first before testing cross-node InfiniBand links.
./build/all_reduce_perf -b 8 -e 8G -f 2 -g 8Launch across allocated Slurm or MPI nodes and verify NCCL reports NET/IB GPUDirect RDMA rather than NET/Socket.
NCCL_DEBUG=INFO srun --nodes=4 --ntasks-per-node=8 --gpus-per-node=8 \
./build/all_reduce_perf -b 8 -e 8G -f 2 -g 1If 16-node busbw drops below expected InfiniBand throughput, run pairwise 2-node all_reduce_perf sweeps and inspect perfquery / ethtool error counters on the slowest pair.
ibstat
perfquery -x | grep -iE 'XmtWait|RcvErrors|LinkDowned|SymbolError'| Signal | What it means | Next action |
|---|---|---|
| Single-node busbw matches spec, multi-node drops to ~1 to 10 GB/s | NCCL fell back to TCP Socket or hit unconfigured RDMA. | Check NCCL_DEBUG=INFO for NET/IB vs NET/Socket and verify IB/RoCE HCA bindings. |
| AllReduce hangs in nccl-tests across specific nodes | Fabric routing, firewall, or physical port/transceiver issue. | Run ib_write_bw pairwise and check switch/port counters. |
| Out-of-bounds or numerical check error in nccl-tests (# wrong) | Silent data corruption or bad link integrity. | Drain involved nodes immediately and inspect ECC and NVLink/IB CRC errors. |
| alltoall_perf degrades much worse than all_reduce_perf | Incast congestion or ECN/PFC tuning issue on MoE/EP traffic. | Inspect RoCEv2 PFC/ECN or IB adaptive routing configuration. |
busbw reflects true hardware link utilization adjusted for the collective algorithm factor (2*(n-1)/n for ring AllReduce).
Small messages measure latency; saturate 1 GB to 8 GB payloads to test real NVLink and InfiniBand bandwidth.
Any non-zero value in # wrong indicates transport corruption that will poison training weights.
Compare fabric failure modes, ECN/PFC drops, and NCCL behavior.
Estimate expected collective ring bandwidth and latency.
Catch slow nodes before burning an expensive multi-node allocation.
Inspect algorithm, protocol, and buffer overrides safely.
algbw is raw data size divided by time. busbw scales algbw by the collective algorithm communication factor so you can compare measured throughput directly against physical NVLink or InfiniBand hardware bandwidth.
For one process managing 8 GPUs, pass -g 8. When launching 1 MPI rank or srun task per GPU, pass -g 1 with -b 8 -e 8G -f 2.
Run alltoall_perf across all nodes, because Expert Parallelism relies heavily on AllToAll exchanges that expose congestion and tail-latency hotspots missed by ring AllReduce.
A single degraded InfiniBand transceiver, miswired rail, or asymmetric NUMA-to-NIC pinning throttles the synchronous collective for the entire job. Pairwise 2-node tests isolate the slow link.
Get the likely cause, supporting evidence, and next safe steps with the same cloud reasoning used by paid plans. A crash the engine recognizes is answered in seconds, then checked by an independent AI review that updates this page when it finishes. A crash it does not recognize waits for the AI's own answer, which can take a few minutes. No account, card, or installation. Logs are masked at Denpex API ingress and are not saved to account history.
Before uploading, review cloud data handling and local options.
Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.
No credit card. No automatic subscription. See whether Denpex helps with an incident you already understand.
Up to 50 diagnoses a day for 30 days. Verify your work email to activate an eligible company evaluation, then replay a resolved incident and compare the evidence and next steps with your team's confirmed cause.
Use the three free diagnoses to review your error and relevant evidence. Keep reference guidance separate from the cause and recovery status of your own workload.
Diagnose your incident