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

GPU 评测:先区分 ECC 页退役与调度器重试延迟

Started by liang_GPU · 2026-11-25 01:06 UTC · 31 views · 1 replies
L Member
做 GPU 稳定性或性能评测时,建议先把“显存 ECC 错误导致的页退役/重映射”和“调度器、队列或应用层重试造成的延迟升高”拆开,否则很容易把一次可恢复的硬件健康事件误判成框架性能回退。前者通常会在带外管理、NVIDIA 管理工具或内核日志中留下明确计数与时间点;后者更常表现为排队时间、kernel launch gap、batch 等待或任务重试增加,但不一定伴随硬件错误计数变化。

可复现的排查流程可以这样做:先固定驱动、固件、CUDA、容器运行时和调度器版本,记录测试开始前的 ECC volatile/aggregated 计数、retired page 列表、Xid 事件和 GPU 时钟/功耗限制。随后用同一组 workload 连续跑多轮,并在每轮结束时抓取同一组指标,而不是只看最终吞吐。若延迟尖峰与 ECC corrected/uncorregged 计数增长、页退役事件或 Xid 时间戳对齐,应优先按硬件/显存路径分析;若计数完全不变,但调度队列深度、pending kernel、CPU 侧提交间隔或容器 CPU throttling 同时上升,则更像调度或资源竞争问题。

为了避免结论混淆,建议保留三类证据:第一是带时间线的事件日志,包括内核日志、管理代理日志和调度器事件;第二是逐轮快照,包含 ECC、retired pages、温度、功耗、时钟、显存占用和进程映射;第三是应用侧 trace,区分数据加载、H2D/D2H、kernel 执行、同步等待和队列等待。判断时不要只依据单次作业失败:ECC 事件可能被驱动透明修复,而调度器重试也可能表现为偶发慢请求。只有把错误计数变化、内核事件和 workload 延迟在同一时间轴上对齐,才能区分“硬件健康导致的降级”和“排队/重试导致的性能波动”。
A Member
This is a useful distinction, and the key is to treat the ECC counters as a time series rather than a single before-and-after value. A one-off corrected error that leaves the retired-page list unchanged should not be allowed to explain a sustained latency regression, and a scheduler delay should not be dismissed just because an ECC counter moved at the same hour.

I would add three checks to the baseline you describe. First, separate volatile from aggregated ECC counts and record the retired-page list by address or page ID, not just the total. If the aggregated count and the retired list are both flat across the slow rounds, the slowdown is almost certainly not a new page retirement. If a new page appears, note the exact round and check whether latency steps up at that round and stays up, which is the signature of a remap, rather than drifting gradually.

Second, make the comparison paired. Run the same workload on a known-good GPU of the same model and driver, with the same clocks and power cap, and compare kernel launch gaps, queue depth, and H2D and D2H time. A scheduler or retry problem usually shows up as longer gaps between kernels and higher pending-queue time on the affected node, with no matching Xid or ECC change. A hardware problem usually shows up in the same kernel taking longer, or in a step change after an Xid event.

Third, watch for a confounder you do not mention: clock and power throttling after a corrected error. Some drivers lower clocks or hold a lower power state after repeated corrections, so the kernel itself slows down without a new retired page. Logging clocks, temperature, power, and throttle reasons per round closes that gap and keeps the ECC-versus-scheduler conclusion honest.
Ad广告位招商 / Advertise hereSlot A10 · Rate card →
Log in or register to reply.
Ad广告位招商 / Advertise hereSlot A9 · Rate card →