arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.11385cs.DCphysics.acc-phphysics.comp-phphysics.plasm-ph
收藏

GPU加速的PIC代码中动态负载均衡的设备端计算工作的现场评估

In-Situ Assessment of Device-Side Compute Work for Dynamic Load Balancing in a GPU-Accelerated PIC Code

Michael E. Rowan, Axel Huebl, Kevin N. Gott, Jack Deslippe, Maxence Thévenet, Remi Lehe, Jean-Luc Vay

摘要:

在分布式计算模型下,保持计算负载平衡对于代码的性能行为是很重要的。这对于GPU架构尤其如此,如果负载平衡不当,可能会遭受内存超额预订。我们提出了传统的负载均衡方法的增强,并明确针对GPU架构,探索由此产生的性能。我们的增强功能的一个关键组成部分是引入了几个GPU适合评估计算工作的策略。实施这些策略并进行基准测试,以找到最佳的数据汇集方法,用于GPU计算工作的现场评估。对于支持MPI+CUDA并行的完全动力学粒子细胞代码WarpX,我们通过一个基于强缩放的性能模型研究了改进的动态负载均衡的性能,并表明,对于在Summit上运行高达6144个GPU的激光离子加速测试问题,增强的动态负载均衡实现了从62%-74(在6个GPU上运行时为88%)理论预测的最大加速比;对于96-GPU的情况,我们发现动态负载均衡相对于没有负载均衡的基线(3.8倍加速)和具有静态负载均衡的基线(1.2倍加速)提高了性能。我们的研究结果提供了重要的见解动态负载均衡和性能评估,特别是在分布式内存应用程序的GPU上运行的背景下。

英文摘要:

Maintaining computational load balance is important to the performant behavior of codes which operate under a distributed computing model. This is especially true for GPU architectures, which can suffer from memory oversubscription if improperly load balanced. We present enhancements to traditional load balancing approaches and explicitly target GPU architectures, exploring the resulting performance. A key component of our enhancements is the introduction of several GPU-amenable strategies for assessing compute work. These strategies are implemented and benchmarked to find the most optimal data collection methodology for in-situ assessment of GPU compute work. For the fully kinetic particle-in-cell code WarpX, which supports MPI+CUDA parallelism, we investigate the performance of the improved dynamic load balancing via a strong scaling-based performance model and show that, for a laser-ion acceleration test problem run with up to 6144 GPUs on Summit, the enhanced dynamic load balancing achieves from 62%--74% (88% when running on 6 GPUs) of the theoretically predicted maximum speedup; for the 96-GPU case, we find that dynamic load balancing improves performance relative to baselines without load balancing (3.8x speedup) and with static load balancing (1.2x speedup). Our results provide important insights into dynamic load balancing and performance assessment, and are particularly relevant in the context of distributed memory applications ran on GPUs.

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

↑