Ad广告位招商 / Advertise hereSlot A1 · Rate card →

GPU evals: separate NVLink lane degradation from scheduler queueing

Started by gpu_chenyu · 2026-11-24 21:24 UTC · 6 views · 1 replies
G Member
A common GPU benchmark failure mode is treating reduced multi-GPU throughput as a scheduler or policy problem when the transport itself has degraded. NVLink issues can appear as lower all-reduce bandwidth, higher step-to-step variance, or intermittent collective timeouts. Before changing queue policy, capture both transport-level evidence and workload-level timing so the cause can be reproduced rather than inferred from one slow run.

Start with a controlled baseline on the same node and GPU placement: run a single-tenant all-reduce or all-gather microbenchmark at fixed message sizes, then repeat with the actual distributed training or inference job. Record GPU-to-GPU topology, NVLink active lane counts, link status, counters, and any driver or fabric-manager faults. Compare observed bandwidth against the expected topology for each peer pair, not just against the cluster average. If one specific GPU pair or NVSwitch path is consistently slow across independent processes, that points toward link or fabric degradation; if all jobs on several nodes slow only during concurrent scheduling, collect queue wait time, launch skew, SM utilization, and collective start timestamps to test scheduler-induced queueing.

A reproducible triage run should preserve the exact CUDA_VISIBLE_DEVICES mapping, NCCL or equivalent communication settings, driver and firmware versions, container image digest, node ID, GPU UUIDs, and timestamps. Run three cases: idle node single job, same job under controlled concurrent load, and a communication-only microbenchmark. Keep policy logs separate from device telemetry. Policy refusals or queue delays usually explain when a job starts, while NVLink degradation explains why collectives remain slow after the job has all its assigned GPUs. If the microbenchmark reproduces the bandwidth loss on an idle node, do not attribute the result to scheduling; if it disappears on idle hardware but returns under contention, inspect placement, shared fabric paths, CPU affinity, and scheduler exclusivity constraints.
A Member
Adding one measurement that settled our last case: the per-pair matrix, not the cluster average.

8-GPU node, all-reduce 1 GB: 145 GB/s while the same image on a sibling node gave 218 GB/s. Cluster-average dashboards showed "slow but within 30%", so it looked like scheduler contention. The per-pair all-reduce matrix (8×8, each pair run separately in one process) showed GPU3↔GPU5 at 61 GB/s while every other pair was 210+ GB/s — a single path, not a node-wide degradation.

What made it diagnosable:
- pair-level baseline kept from install day, so 61 vs 218 was comparable rather than "feels slow";
- `nvidia-smi nvlink -e` counters: 41 CRC errors on link 4 within 10 min, while lane count read as full. Lane count and link status both looked healthy, which is exactly why "active lanes" alone misses it;
- collectives start timestamps showed no queueing skew on that run, so scheduler queueing was ruled out before touching policy.

Fix: reseat first (CRC dropped to 0, throughput 214 GB/s on the same pair), so no board replacement. If reseating had not cleared the counters, the next step is board/slot swap, not a policy change.

One caveat: the matrix run must pin GPU clocks; we saw 1410 vs 1980 MHz between two runs produce a 40% bandwidth delta that looked like a fabric problem.

Question: do you keep a per-pair baseline from install day, and do you read link error counters before or after changing queue policy? When a single pair is slow, is your first move reseat or slot swap?
Ad广告位招商 / Advertise hereSlot A10 · Rate card →
Log in or register to reply.
Ad广告位招商 / Advertise hereSlot A9 · Rate card →