arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.19337cs.DC
收藏

POLAR-PIC:一种面向矩阵化PIC的综合框架,实现计算、布局和通信的协同设计

POLAR-PIC: A Holistic Framework for Matrixized PIC with Co-Designed Compute, Layout, and Communication

Sun Yat-Sen University(中山大学);Institute of Plasma Physics, Chinese Academy of Sciences(中国科学院等离子体物理研究所)

Yizhuo Rao, Xingjian Cui, Shangzhi Pang, Jiabin Xie, Guangnan Feng, Jinhui Wei, Ziyan Zhang, Languang Gao, Zhenyu Wang, Zhiguang Chen, Yutong Lu

AI总结:

POLAR-PIC通过重新设计场插值、维护物理有序粒子布局和重叠粒子通信与沉积,提升了大规模PIC模拟的效率,其在均匀等离子体和真实激光-离子加速场景中分别实现了10.9倍和4.4倍的加速。

摘要:

粒子-网格(PIC)模拟在等离子体物理中至关重要,但受限于粒子-网格交互瓶颈和粒子重新分布成本,扩展性有限。具体而言,粒子-网格交互计算未充分利用新兴的矩阵处理单元(MPUs),粒子运动引入了不规则内存访问,而同步重分布进一步破坏了长期数据局部性,限制了并行效率。为解决这些低效问题,我们提出了POLAR-PIC,一种针对大规模PIC模拟的协同设计框架,其(i)将场插值重新公式化为MPU友好的外积形式,(ii)保持物理有序的粒子布局以维持内存连续性,(iii)将粒子通信与沉积重叠以隐藏重分布开销。在试点系统上的评估表明,与LX2上的原生WarpX参考流水线相比,POLAR-PIC在均匀等离子体中将整个粒子处理阶段加速了10.9倍,在真实世界激光-离子加速场景中加速了4.4倍。消融研究显示,插值和沉积分别实现了8.0倍和13.2倍的加速,异步通信设计维持了99.1%的重叠比率。在跨平台比较中,POLAR-PIC在CPU基于的LS系统上实现了13.2%的理论峰值效率,而WarpX在NVIDIA A800 GPU上实现了9.6%。值得注意的是,可扩展性评估显示,POLAR-PIC在超过200万个核心下维持了67.5%的弱扩展效率,突显了未来以矩阵为中心的HPC系统中综合协同设计的重要性。

英文摘要:

Particle-in-Cell (PIC) simulations are fundamental to plasma physics but often suffer from limited scalability due to particle-grid interaction bottlenecks and particle redistribution costs. Specifically, the particle-grid interaction computations have not taken full advantage of the emerging Matrix Processing Units (MPUs), the particle motion introduces irregular memory accesses, and the bulk-synchronous redistribution further destroys long-term data locality thereby limiting parallel efficiency. To address these inefficiencies, we present POLAR-PIC, a co-designed framework for large-scale PIC simulations that (i) reformulates Field Interpolation into an MPU-friendly outer-product form, (ii) maintains a physically ordered particle layout to preserve memory contiguity, and (iii) overlaps particle communication with Deposition to hide redistribution overhead. The evaluation on the pilot system of an Exascale supercomputer demonstrates that POLAR-PIC accelerates the entire particle-processing phase by up to 10.9x in uniform plasma and 4.4x in real-world laser-ion acceleration scenarios compared to the native WarpX reference pipeline on LX2. Ablation studies reveal that the speedups achieved by Interpolation and Deposition are 8.0x and 13.2x, respectively, and the asynchronous communication design sustains a 99.1% overlap ratio. In cross-platform comparisons, POLAR-PIC achieves 13.2% of theoretical peak efficiency on the CPU-based LS system, while WarpX reaches 9.6% on NVIDIA A800 GPUs. Notably, the scalability evaluation demonstrates that POLAR-PIC maintains 67.5% weak scaling efficiency on over 2 million cores under high-migration dynamic workloads, highlighting the importance of holistic co-design for future matrix-centric HPC systems.

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

↑