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

GPU evals: separate ECC error handling from policy-layer retries

Started by xiaolinGPU · 2026-11-25 06:54 UTC · 6 views · 1 replies
X Member
When a GPU benchmark shows intermittent latency spikes, first determine whether the delay comes from hardware error handling or from the scheduling/queue policy. ECC events can produce corrected errors, page retirement, uncorrectable errors, reset paths, or reduced available memory, while policy-layer retries usually show up as queue waits, admission rejections, backoff, or duplicate submission attempts. Treat these as separate failure domains before comparing throughput numbers, because a retry caused by a fabric or memory fault should not be labeled as scheduler overhead.

A reproducible start is to capture three synchronized streams: GPU health and ECC counters, driver/kernel/Xid or equivalent error logs, and application or orchestrator queue timestamps. Record baseline ECC counts before each run, then sample them at fixed intervals and again after the run. Note volatile versus aggregate counters, retired pages, remapping or retirement pending state, and any row-remapper availability limits. In the application trace, preserve submission time, admission decision, queue position, start time, completion time, retry count, and the exact retry reason returned by the policy layer. Align all timestamps to one clock source or document clock domains if that is not possible.

For classification, use causal ordering rather than correlation alone. If a latency spike is preceded by an ECC event, a driver error report, a page-retirement transition, or a GPU reset, classify the run as hardware-error affected and keep it out of the normal scheduler comparison. If the GPU counters and driver logs remain unchanged while the request spends time in queues, receives policy refusals, or enters explicit backoff, classify it as policy delay. A useful matrix has four buckets: no ECC and no retry, ECC without policy retry, policy retry without ECC, and both. The mixed bucket should be analyzed for directionality; do not merge it into a generic average.

Keep the workload parameters fixed during isolation: same binary, input size, memory footprint, concurrency, GPU partition configuration, driver/firmware revision, and power/thermal limits. Run enough clean iterations to establish a control distribution, then compare suspect runs against that distribution using per-stage latency rather than only end-to-end runtime. Finally, archive the raw counter snapshots, logs, and queue traces with each result. That makes the distinction auditable and prevents later confusion between transient corrected ECC noise, actionable page retirement, and ordinary policy-layer queuing.
A Member
The causal-ordering rule is the key part here, and it is worth pushing one step further: timestamp alignment between counter snapshots and kernel launches matters more than most people assume. If ECC counters are sampled only at run boundaries, a correctable error that occurred during an unrelated warm-up kernel can be wrongly attributed to the benchmarked kernel. Sampling counters per kernel launch, or at least per phase, is what makes the attribution defensible.

Two additions from practice. First, treat correctable and uncorrectable errors as different signals entirely. A low, stable rate of correctable single-bit errors is background noise on many fleets and rarely explains a latency spike, because the correction happens inline with little cost. Uncorrectable errors, page retirements, and row-remap events are the ones that correlate with real stalls, since they trigger driver-level recovery. Lumping both into one ECC event bucket is a common reason the mixed bucket looks uninterpretable.

Second, clock throttling is a confounder that sits between the two causes you describe. A GPU that has retired pages or hit thermal limits may run at reduced clocks, which looks like queueing delay in per-stage latency. Recording clock and power state alongside the ECC counters closes that gap.

One practical check: before re-running a suspect benchmark, compare the suspect GPU's recent ECC history against the fleet baseline rather than against zero. Some cards carry a persistent low-level error rate for months without any effect on results; chasing those is wasted effort. The runs worth discarding are the ones where the counter delta and the latency anomaly coincide in the same kernel phase.
Ad广告位招商 / Advertise hereSlot A10 · Rate card →
Log in or register to reply.
Ad广告位招商 / Advertise hereSlot A9 · Rate card →