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

预测负载不平衡对并行应用程序性能优化的好处

On the Benefits of Anticipating Load Imbalance for Performance Optimization of Parallel Applications

Anthony Boulmier, Franck Raynaud, Nabil Abdennadher, Bastien Chopard

摘要:

在并行迭代应用中,计算效率对于解决大型问题至关重要。负载不平衡是影响并行应用性能的主要因素之一。因此,在处理元素(PE)之间巧妙地、尽可能均匀地分配工作负载可以最大限度地提高应用程序的性能。到目前为止,标准的负载均衡方法在于在PE之间均匀地分配工作负载,并且当出现负载不平衡时,将额外的负载从过载的PE重新分配到欠载的PE。然而,这并没有预测到在下一个迭代中可能继续的负载不平衡增长。在本文中,我们提出了一个新的哲学的负载均衡,卸载的PE,将在不久的将来超载,让应用程序重新平衡自己通过自己的动态的第一步。在这里,我们提出了一个正式的定义,我们的新方法使用一个简单的数学模型,并讨论其优势相比,标准的负载均衡方法。除了理论研究,我们将我们的方法的应用程序,再现计算的流体模型与非均匀侵蚀。性能验证了预期负载不平衡的好处。我们观察到,与标准的负载均衡方法相比,性能提高了16%。

英文摘要:

In parallel iterative applications, computational efficiency is essential for addressing large problems. Load imbalance is one of the major performance degradation factors of parallel applications. Therefore, distributing, cleverly, and as evenly as possible, the workload among processing elements (PE) maximizes application performance. So far, the standard load balancing method consists in distributing the workload evenly between PEs and, when load imbalance appears, redistributing the extra load from overloaded PEs to underloaded PEs. However, this does not anticipate the load imbalance growth that may continue during the next iterations. In this paper, we present a first step toward a novel philosophy of load balancing that unloads the PEs that will be overloaded in the near future to let the application rebalance itself via its own dynamics. Herein, we present a formal definition of our new approach using a simple mathematical model and discuss its advantages compared to the standard load balancing method. In addition to the theoretical study, we apply our method to an application that reproduces the computation of a fluid model with non-uniform erosion. The performance validates the benefit of anticipating load imbalance. We observed up to 16% performance improvement compared to the standard load balancing method.

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

↑