arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.12155cs.DC
收藏

使用多个GPU加速高阶连续介质动力学等离子体模拟

Accelerating high-order continuum kinetic plasma simulations using multiple GPUs

Andrew Ho, Genia Vogman

AI总结:

针对高维连续介质动力学等离子体模拟计算成本高的问题,开发了多GPU加速的Vlasov-Poisson求解器VCK-GPU,通过优化通信边界实现最高54倍时间步加速和341倍吞吐量提升,支持1024个GPU弱扩展,并应用于以往计算不可行的精细物理现象探索。

摘要:

动力学等离子体模拟通过求解 Vlasov-Poisson 或 Vlasov-Maxwell 方程,来演化位置-速度相空间中的标量变量分布函数以及物理空间中的矢量变量电磁场。演化高维变量的计算成本通常限制了连续介质动力学模拟的实用性,并在准确模拟真实世界物理现象时带来了挑战。为了应对这一挑战,我们开发了能够加速并最小化可扩展 Vlasov-Poisson 求解器所需计算工作量的技术。我们提出了求解四阶有限体积 Vlasov-Poisson 系统所需的理论硬件计算与通信边界。随后,利用这些边界来指导和评估多图形处理器(GPU)加速版 Vlasov-Poisson 求解器 VCK-CPU 的性能可移植算法设计。我们证明了多 GPU Vlasov 求解器实现 VCK-GPU 在最小化所需进程间数据传输的同时,也受限于机器网络性能极限,几乎没有理论性能提升的空间。这最终实现了每个时间步高达 40 倍(三维相空间,一个位置坐标和两个速度坐标)和 54 倍(四维相空间,两个位置坐标和两个速度坐标)的总体强扩展加速,并且 GPU 加速代码相对于现有 CPU 代码的模拟吞吐量提升了 341 倍。该 GPU 代码还能弱扩展至 256 个计算节点和 1024 个 GPU。随后,我们展示了如何利用提升后的计算性能来探索以往计算上不可行的配置,例如解析精细尺度的分布函数丝化和具有真实电子-质子质量比的多物种动力学。

英文摘要:

Kinetic plasma simulations solve the Vlasov-Poisson or Vlasov-Maxwell equations to evolve scalar-variable distribution functions in position-velocity phase space and vector-variable electromagnetic fields in physical space. The computational cost of evolving high-dimensional variables often limits the utility of continuum kinetic simulations and presents a challenge when it comes to accurately simulating real-world physical phenomena. To address this challenge, we developed techniques that accelerate and minimize the computational work required for a scalable Vlasov-Poisson solver. We present theoretical hardware compute and communication bounds required for solving a fourth-order finite-volume Vlasov-Poisson system. These bounds are then used to inform and evaluate the design of performance portable algorithms for a multiple graphics processing unit (GPU) accelerated version of the Vlasov-Poisson solver VCK-CPU. We demonstrate that the multi-GPU Vlasov solver implementation VCK-GPU simultaneously minimizes required inter-process data transfer while also being bounded by the machine network performance limits, leaving minimal room for theoretical performance improvements. This resulted in an overall strong scaling speedup per timestep of up to 40x in three-dimensional phase space (one position, two velocity coordinates) and 54x in four dimensional phase space (two position, two velocity coordinates) and a 341x increase in simulation throughput of the GPU accelerated code over the existing CPU code. The GPU code is also able to weak scale up to 256 compute nodes and 1024 GPUs. We then demonstrate how the improved compute performance can be used to explore configurations which were previously computationally infeasible such as resolving fine-scale distribution function filamentation and multi-species dynamics with realistic electron-proton mass ratios.

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

↑