GPU 内核幂等性的微秒级动态验证
Microsecond-scale Dynamic Validation of Idempotency for GPU Kernels
AI总结:
针对 GPU 条件幂等内核的分类缺陷,论文提出首个实例级幂等性验证系统 PICKER,通过启动参数动态验证并优化至微秒级,兼具高准确率与低延迟,可有效提升容错与调度系统性能。
摘要:
我们发现,GPU 内核可根据输入不同同时存在幂等与非幂等实例,这类内核被称为条件幂等内核,在实际 GPU 应用中十分普遍(来自 6 个应用的 547 个内核中有 490 个属于此类)。因此,此前将 GPU 内核简单划分为幂等或非幂等的研究,会严重损害基于幂等性的系统的正确性或效率。本文提出 PICKER,这是首个实现实例级幂等性验证的系统。PICKER 利用 GPU 内核实例的启动参数,在其执行前动态验证幂等性。论文提出多项优化,将验证延迟大幅降至微秒级。采用代表性 GPU 应用(共 547 个内核、18217 个实例)的评估结果显示,PICKER 识别幂等实例无误报,漏报率为 18.54%,且所有实例的验证均可在 5 微秒内完成。此外,通过集成 PICKER,容错系统可将检查点开销降至 4% 以下,调度系统可将抢占延迟降低 84.2%。
英文摘要:
We discovered that a GPU kernel can have both idempotent and non-idempotent instances depending on the input. These kernels, called conditionally-idempotent, are prevalent in real-world GPU applications (490 out of 547 from six applications). Consequently, prior work that classifies GPU kernels as either idempotent or non-idempotent can severely compromise the correctness or efficiency of idempotence-based systems. This paper presents PICKER, the first system for instance-level idempotency validation. PICKER dynamically validates the idempotency of GPU kernel instances before their execution, by utilizing their launch arguments. Several optimizations are proposed to significantly reduce validation latency to microsecond-scale. Evaluations using representative GPU applications (547 kernels and 18,217 instances in total) show that PICKER can identify idempotent instances with no false positives and a false-negative rate of 18.54%, and can complete the validation within 5 us for all instances. Furthermore, by integrating PICKER, a fault-tolerant system can reduce the checkpoint cost to less than 4% and a scheduling system can reduce the preemption latency by 84.2%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。