最新CPU的微架构比较与核内建模:Grace、Sapphire Rapids与Genoa
Microarchitectural comparison and in-core modeling of state-of-the-art CPUs: Grace, Sapphire Rapids, and Genoa
AI总结:
本研究对比Grace、Sapphire Rapids、Genoa三款最新HPC CPU的微架构,扩展OSACA工具构建核内性能模型并与LLVM-MCA对比,重点分析写分配规避特性,揭示不同架构的实现差异与性能特点。
摘要:
随着Nvidia推出Grace Superchip,高性能计算(HPC)领域的三大半导体巨头(AMD、Intel、Nvidia)目前正围绕最优CPU展开竞争。本研究分析了这些最新CPU的性能,为其Zen 4、Golden Cove和Neoverse V2微架构构建了精确的核内性能模型,扩展了开源架构代码分析器(Open Source Architecture Code Analyzer, OSACA)工具,并将其与LLVM-MCA进行对比。我们从单核的特性及优缺点出发,通过各类微基准测试和整节点能力拓展了比较范围。“写分配(write-allocate, WA)规避”特性可自动减少写未命中引发的内存流量,本研究对其进行了重点分析:结果表明Grace Superchip的WA规避实现接近最优,而在Zen 4上避免写分配的唯一方式是显式使用非临时存储指令。
英文摘要:
With Nvidia's release of the Grace Superchip, all three big semiconductor companies in HPC (AMD, Intel, Nvidia) are currently competing in the race for the best CPU. In this work we analyze the performance of these state-of-the-art CPUs and create an accurate in-core performance model for their microarchitectures Zen 4, Golden Cove, and Neoverse V2, extending the Open Source Architecture Code Analyzer (OSACA) tool and comparing it with LLVM-MCA. Starting from the peculiarities and up- and downsides of a single core, we extend our comparison by a variety of microbenchmarks and the capabilities of a full node. The "write-allocate (WA) evasion" feature, which can automatically reduce the memory traffic caused by write misses, receives special attention; we show that the Grace Superchip has a next-to-optimal implementation of WA evasion, and that the only way to avoid write allocates on Zen 4 is the explicit use of non-temporal stores.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。