Microarchitectural comparison and in-core modeling of state-of-the-art CPUs: Grace, Sapphire Rapids, and Genoa
<|reference_start|>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.<|reference_end|>
@article{laukemann2024microarchitectural,
    title={Microarchitectural comparison and in-core modeling of state-of-the-art
  CPUs: Grace, Sapphire Rapids, and Genoa},
    author={Jan Laukemann, Georg Hager, Gerhard Wellein},
    journal={arXiv preprint arXiv:2409.08108},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.08108},
    primaryClass={cs.PF cs.DC}
}