[论文解读] Performance Portable Monte Carlo Particle Transport on Intel, NVIDIA, and AMD GPUs
本文展示了在 Intel、NVIDIA 和 AMD GPU 上,利用 OpenMP 目标端卸载实现 OpenMC 的性能可移植性,在 Frontier、Polaris 和 Aurora 上实现强规模化,并优于 CPU 基线和若干 GPU 平台。
OpenMC is an open source Monte Carlo neutral particle transport application that has recently been ported to GPU using the OpenMP target offloading model. We examine the performance of OpenMC at scale on the Frontier, Polaris, and Aurora supercomputers, demonstrating that performance portability has been achieved by OpenMC across all three major GPU vendors (AMD, NVIDIA, and Intel). OpenMC's GPU performance is compared to both the traditional CPU-based version of OpenMC as well as several other state-of-the-art CPU-based Monte Carlo particle transport applications. We also provide historical context by analyzing OpenMC's performance on several legacy GPU and CPU architectures. This work includes some of the first published results for a scientific simulation application at scale on a supercomputer featuring Intel's Max series "Ponte Vecchio" GPUs. It is also one of the first demonstrations of a large scientific production application using the OpenMP target offloading model to achieve high performance on all three major GPU platforms.
研究动机与目标
- 展示 OpenMC 在 AMD、NVIDIA 和 Intel GPU 间通过 OpenMP 目标端卸载实现的性能可移植性。
- 评估在 GPU 加速的超级计算机上,使用 MPI 域复制的 OpenMC 的多节点可扩展性。
- 将 GPU 加速的 OpenMC 性能与 CPU 基线以及其他最先进的蒙特卡罗代码进行比较。
- 描述蒙特卡罗传输应用中GPU与CPU性能的历史趋势。
提出的方法
- 在单一代码库中,使用 OpenMC 与 OpenMP 目标端卸载,在 AMD、NVIDIA 与 Intel 的 GPU 上运行。
- 在 GPU 采用基于事件的并行,在 CPU 采用基于历史的并行进行粒子传输。
- 通过按材料类型和能量对粒子进行排序,以提高截面查找核的效率,使用厂商排序库。
- 调整在飞粒子数量上限和批次大小,以最大化 GPU 内存和吞吐量。
- 对每个 GPU 使用多个 MPI rank 以在流之间实现并发,并为排序与内存操作使用厂商特定配置(CUDA Thrust、ROC Thrust、Intel oneDPL)。
- 利用 OpenMC 的 MPI 域复制来研究大规模基于 GPU 的系统的可扩展性。
实验结果
研究问题
- RQ1使用 OpenMP 目标端卸载的 OpenMC 是否能够在 AMD、NVIDIA 与 Intel GPU 上实现真正的性能可移植性?
- RQ2在使用 MPI 域复制的多 GPU、跨多节点系统(Frontier、Polaris、Aurora)中,OpenMC 的可扩展性如何?
- RQ3最大化 OpenMC GPU 性能的关键架构优化是什么(基于事件的并行、排序、在飞粒子调优)?
- RQ4对于耗竭的 SMR 小芯问题,GPU 性能与 CPU 基线及其他最先进蒙特卡罗代码的比较如何?
主要发现
- OpenMC 在 GPU 相对 CPU 提供显著加速,在 A100、MI250X 和 PVC GPU 上实现每节点性能提升。
- 在 Aurora、Polaris 和 Frontier 的弱放大效率分别为 97%、96% 和 99%,针对大规模运行。
- 研究表明,OpenMC 在 Titan 基线上的加速超过 50×,仅需 325 Aurora 节点或 1024 Frontier 节点。
- 在耗竭燃料情景的大规模 GPU 运行中,OpenMC 大约达到每秒十亿粒子的性能。
- Intel Ponte Vecchio PVC GPU 在测试问题上分别比 NVIDIA A100、NVIDIA GH200 和 AMD MI250X 快约 2.3×、1.2×、1.8×。
- 在单个 NVIDIA 基础的 GPU 节点(Aurora)上,OpenMC 比先进的 96 核 Sapphire Rapids CPU 节点快超过 17×。
- OpenMC 成功展示了在三个主要 GPU 供应商之间,使用 OpenMP 目标端卸载模型的性能可移植性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。