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

面向负载均衡的信息分区:概念验证

Towards Informed Partitioning for Load Balancing: a Proof-of-Concept

Anthony Boulmier, Nabil Abdennadher, Bastien Chopard

摘要:

大多数并行应用程序都受到负载不平衡的影响,这是一个关键的性能下降因素。在粒子模拟中,这主要是由于处理元素之间的粒子迁移,最终聚集不均匀并造成工作负载不平衡。动态负载均衡用于各种迭代以减轻负载不平衡,采用分区方法来均匀地划分计算空间,同时最小化通信。在本文中,我们提出了一种新的分区方法称为“知情分区”。它使用基于计算演变的信息来减少负载均衡增长和负载均衡调用的数量。我们说明了知情分区提出了一个新的几何分区技术的粒子模拟。这种技术是从众所周知的递归坐标平分,并采用粒子的速度来引导平分轴。为了正确地比较我们的新方法与现有的分区技术在应用程序执行过程中的性能,我们引入了一个基于负载平衡的并行应用程序时间的理论模型的努力度量。我们提出了一个概念验证的知情分区,通过数值研究,三个N体模拟与各种粒子动力学,我们讨论了其性能对流行的几何分区技术。此外,我们表明,我们的努力度量可以用来排名分区技术的效率在任何时间点在模拟过程中。最终,这可以用来在运行中选择最佳分区。在数值研究中,我们报告说,我们的新概念增加了两个实验的三个高达76%和15%的性能,而在一个实验中只有$3\%$稍微慢。此外,我们还讨论了我们的实施的限制,知情的分区和我们的努力度量。

英文摘要:

Most parallel applications suffer from load imbalance, a crucial performance degradation factor. In particle simulations, this is mainly due to the migration of particles between processing elements, which eventually gather unevenly and create workload imbalance. Dynamic load balancing is used at various iterations to mitigate load imbalance, employing a partitioning method to divide the computational space evenly while minimizing communications. In this paper, we propose a novel partitioning methodology called ``informed partitioning''. It uses information based on the evolution of the computation to reduce the load balancing growth and the number of load balancing calls. We illustrate informed partitioning by proposing a new geometric partitioning technique for particles simulations. This technique is derived from the well-known recursive coordinate bisection and employs the velocity of the particles to guide the bisection axis. To properly compare the performance of our new method with existing partitioning techniques during application execution, we introduce an effort metric based on a theoretical model of load balanced parallel application time. We propose a proof-of-concept of informed partitioning, through a numerical study, on three N-Body simulations with various particle dynamics, and we discuss its performance against popular geometric partitioning techniques. Moreover, we show that our effort metric can be used to rank partitioning techniques by their efficiency at any time point during the simulation. Eventually, this could be used to choose the best partitioning on the fly. In the numerical study, we report that our novel concept increases the performance of two experiments out of three by up to 76% and 15%, while being marginally slower by only $3\%$ in one experiment. Also, we discuss the limitations of our implementation of informed partitioning and our effort metric.

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

↑