arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.20032cs.DCcs.PF
收藏

LEO:通过跨厂商反向切片追溯GPU停滞的根本原因

LEO: Tracing GPU Stall Root Causes via Cross-Vendor Backward Slicing

Rice University(莱斯大学)

Yuning Xia, John Mellor-Crummey

AI总结:

本文提出LEO,一种跨NVIDIA、AMD和Intel GPU的根因分析工具,通过反向切片追踪停滞指令,揭示性能瓶颈,实验表明其优化可提升1.73至1.82倍,展示不同GPU架构需不同优化策略。

摘要:

超过一半的TOP500超级计算机使用GPU作为加速器。在GPU加速平台上,开发者面临关键诊断缺口:性能分析工具显示停滞发生的位置,但无法解释原因。此外,相同内核在不同GPU上可能有不同停滞和根本原因。本文提出LEO,一种根因分析器,通过反向切片停滞指令,考虑寄存器依赖和厂商特定同步机制,将GPU停滞归因于源指令,以解释这些低效性的根本原因。在21个工作负载上三个GPU平台上,LEO引导的优化提供了几何平均1.73倍至1.82倍的加速。我们的案例研究显示,(1)相同内核可能需要不同的优化以适应不同GPU架构,(2)LEO的结构化诊断相对于纯代码和原始停滞计数基线,提高了大型语言模型的代码优化效果。

英文摘要:

More than half of the Top 500 supercomputers employ GPUs as accelerators. On GPU-accelerated platforms, developers face a key diagnostic gap: profilers show source lines where stalls occur, but not why they occur. Furthermore, the same kernel may have different stalls and underlying causes on different GPUs. This paper presents LEO, a root-cause analyzer for NVIDIA, AMD, and Intel GPUs that performs backward slicing from stalled instructions, considering dependencies arising from registers as well as vendor-specific synchronization mechanisms. LEO attributes GPU stalls to source instructions with the goal of explaining root causes of these inefficiencies. Across 21 workloads on three GPU platforms, LEO-guided optimizations deliver geometric-mean speedups of 1.73$\times$--1.82$\times$. Our case studies show that (1) the same kernel may require different optimizations for different GPU architectures, and (2) LEO's structured diagnostics improve code optimization with large language models relative to code-only and raw-stall-count baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑