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 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.