{"title":"最先进 CPU 的微架构比较和内核建模:格雷斯、蓝宝石急流和热那亚","authors":"Jan Laukemann, Georg Hager, Gerhard Wellein","doi":"arxiv-2409.08108","DOIUrl":null,"url":null,"abstract":"With Nvidia's release of the Grace Superchip, all three big semiconductor\ncompanies in HPC (AMD, Intel, Nvidia) are currently competing in the race for\nthe best CPU. In this work we analyze the performance of these state-of-the-art\nCPUs and create an accurate in-core performance model for their\nmicroarchitectures Zen 4, Golden Cove, and Neoverse V2, extending the Open\nSource Architecture Code Analyzer (OSACA) tool and comparing it with LLVM-MCA.\nStarting from the peculiarities and up- and downsides of a single core, we\nextend our comparison by a variety of microbenchmarks and the capabilities of a\nfull node. The \"write-allocate (WA) evasion\" feature, which can automatically\nreduce the memory traffic caused by write misses, receives special attention;\nwe show that the Grace Superchip has a next-to-optimal implementation of WA\nevasion, and that the only way to avoid write allocates on Zen 4 is the\nexplicit use of non-temporal stores.","PeriodicalId":501291,"journal":{"name":"arXiv - CS - Performance","volume":"27 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Microarchitectural comparison and in-core modeling of state-of-the-art CPUs: Grace, Sapphire Rapids, and Genoa\",\"authors\":\"Jan Laukemann, Georg Hager, Gerhard Wellein\",\"doi\":\"arxiv-2409.08108\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"With Nvidia's release of the Grace Superchip, all three big semiconductor\\ncompanies in HPC (AMD, Intel, Nvidia) are currently competing in the race for\\nthe best CPU. In this work we analyze the performance of these state-of-the-art\\nCPUs and create an accurate in-core performance model for their\\nmicroarchitectures Zen 4, Golden Cove, and Neoverse V2, extending the Open\\nSource Architecture Code Analyzer (OSACA) tool and comparing it with LLVM-MCA.\\nStarting from the peculiarities and up- and downsides of a single core, we\\nextend our comparison by a variety of microbenchmarks and the capabilities of a\\nfull node. The \\\"write-allocate (WA) evasion\\\" feature, which can automatically\\nreduce the memory traffic caused by write misses, receives special attention;\\nwe show that the Grace Superchip has a next-to-optimal implementation of WA\\nevasion, and that the only way to avoid write allocates on Zen 4 is the\\nexplicit use of non-temporal stores.\",\"PeriodicalId\":501291,\"journal\":{\"name\":\"arXiv - CS - Performance\",\"volume\":\"27 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-09-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Performance\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2409.08108\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Performance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.08108","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
随着 Nvidia 发布 Grace 超级芯片,HPC 领域的三大半导体公司(AMD、Intel 和 Nvidia)目前都在争夺最佳 CPU。在这项工作中,我们分析了这些最先进 CPU 的性能,并为它们的微架构 Zen 4、Golden Cove 和 Neoverse V2 建立了精确的内核性能模型,扩展了开源架构代码分析器(OSACA)工具,并与 LLVM-MCA 进行了比较。我们特别关注了 "写分配(WA)规避 "功能,该功能可以自动减少写未命中造成的内存流量;我们证明了格雷斯超级芯片拥有近乎最佳的 "WA规避 "实现,而在 Zen 4 上避免写分配的唯一方法是明确使用非时态存储。
Microarchitectural comparison and in-core modeling of state-of-the-art CPUs: Grace, Sapphire Rapids, and Genoa
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.