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

通过微基准测试与多层级分析剖析NVIDIA Hopper架构

Dissecting the NVIDIA Hopper Architecture through Microbenchmarking and Multiple Level Analysis

Weile Luo, Ruibo Fan, Zeyu Li, Dayou Du, Hongyuan Liu, Qiang Wang, Xiaowen Chu

AI总结:

本研究通过微基准测试与多层级分析剖析NVIDIA Hopper GPU架构,测试其内存子系统、张量核心等组件性能,验证了其在多类场景下的显著加速效果,为计算密集型工作负载优化提供参考。

摘要:

本研究对NVIDIA Hopper GPU架构开展了全面的多层级分析,重点聚焦其性能特征与全新特性。我们对Hopper的内存子系统进行了基准测试,阐明了其与Ampere、Ada Lovelace架构相比,在L2分区缓存与全局内存访问方面的改进。对Hopper第四代张量核心的评估揭示了FP8精度与异步wgmma指令在矩阵运算中的优势。此外,我们还研究了用于动态规划的DPX指令、用于SM间通信的分布式共享内存(DSM),以及用于异步数据移动的张量内存加速器(TMA)的性能。通过多层级评估,我们发现Hopper架构在实际应用中展现出显著的加速潜力。例如,TMA支持的异步编程模型在矩阵乘法中实现了1.5倍的加速,FP8的性能几乎是FP16的两倍,DPX指令将一种计算生物学算法的速度至少提升了4.75倍。我们的研究结果为在Hopper GPU上优化从AI训练到生物信息学等计算密集型工作负载提供了可落地的见解。

英文摘要:

This study presents a comprehensive multi-level analysis of the NVIDIA Hopper GPU architecture, focusing on its performance characteristics and novel features. We benchmark Hopper's memory subsystem, highlighting improvements in the L2 partitioned cache and global memory access compared to Ampere and Ada Lovelace. The evaluation of Hopper's fourth-generation tensor cores reveals the benefits of FP8 precision and asynchronous wgmma instructions for matrix operations. Additionally, we investigate the performance of DPX instructions for dynamic programming, distributed shared memory (DSM) for inter-SM communication, and the Tensor Memory Accelerator (TMA) for asynchronous data movement. Through multi-level evaluation, we discover that the Hopper architecture demonstrates significant acceleration potential in real-world applications. For instance, the asynchronous programming model supported by TMA achieves a 1.5x speedup in matrix multiplication, FP8 delivers nearly double the performance of FP16, and DPX instructions accelerate a computational biology algorithm by at least 4.75x. Our findings provide actionable insights for optimizing compute-intensive workloads, from AI training to bioinformatics, on Hopper GPUs.

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

↑