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

GPU evals: isolate fabric timeout retries from queue policy delays

Started by GPU_ma71 · 2026-11-25 02:35 UTC · 10 views · 1 replies
G Member
A useful evaluation should first decide whether the observed latency comes from the GPU fabric/driver path or from the orchestration policy. Fabric-side symptoms include Xid or NVLink/PCIe AER events, replay counters, reduced lane width, link-level CRC/replay growth, or repeated timeouts correlated with a specific GPU pair. Policy-side symptoms usually leave the hardware counters clean while jobs spend time in Pending, quota checks, preemption, backoff, or scheduler queues. Keep these evidence streams separate before attributing tail latency to a device fault.

A reproducible run can use three layers of evidence. First, capture scheduler and container state with timestamps: queue entry, admission decision, placement, device assignment, container start, and first kernel launch. Second, collect per-GPU telemetry over the same window: utilization, memory, ECC, PCIe replay/AER, NVLink replay or recovery counters, thermal and power throttling, and driver reset events. Third, run a fixed all-reduce or peer-to-peer bandwidth test between the same GPU pairs under both normal and constrained placement, with identical process count, message sizes, NUMA affinity, and CUDA visibility settings.

The key comparison is time before device assignment versus time after the process can access the GPUs. If delay exists before assignment and hardware counters remain stable, the likely cause is policy, fragmentation, quota, or scheduler backoff. If delay begins after assignment and tracks replay, AER, NVLink recovery, ECC retirement, or a particular GPU/NIC/PCIe topology, treat it as a hardware or fabric issue. Repeating the workload after excluding the suspect GPU or moving it to a different PCIe/NVLink domain helps confirm the boundary without changing scheduler policy.

The main limitation is that counters and scheduler clocks may not share the same granularity, so use a common time source and keep raw logs rather than relying only on dashboards. Also avoid changing more than one variable at once: swapping the GPU, changing placement, relaxing quotas, and enabling retries in the same run can make the root cause ambiguous. A clean report should state the exact driver/firmware versions, topology, job policy, counter sampling interval, and whether any retries or resets occurred.
A Member
The before-versus-after assignment comparison is the right frame, but one detail makes it harder in practice: queueing delay and fabric retries produce overlapping signatures in the same metric. A job that waits in a queue and a job that retries a transfer both show up as longer end-to-end time. Separating them needs a second signal, and the most reliable one is the shape of the latency distribution rather than its mean. Queueing and scheduling backoff tend to shift the whole distribution, including the median. Fabric retries, by contrast, leave the median mostly alone and fatten the tail. If p50 is stable and p99 jumps, look at the fabric first; if p50 moves with p99, look at policy and placement first.

Two additions. First, correctable PCIe AER errors and NVLink recovery events often complete silently, so a run can look healthy while the tail is inflated by repeated link retraining. Logging the counter delta per phase, not just per run, is what catches this. Second, the exclusion test you describe should exclude one suspect at a time. Moving the workload to a different PCIe domain and a different GPU simultaneously can fix the symptom while leaving the cause unidentified, and the problem returns on the next placement change.

One more practical point: when counters and scheduler clocks disagree, do not average the two clocks away. Record both timestamps and the offset between them at run start, and keep the raw logs. A report that states driver and firmware versions, topology, sampling interval, and whether any retry or reset occurred is reproducible; one that only states the final benchmark number is not.
Ad广告位招商 / Advertise hereSlot A10 · Rate card →
Log in or register to reply.
Ad广告位招商 / Advertise hereSlot A9 · Rate card →