论文标题
使用分析性能建模的最佳MPI集体算法的准确运行时选择
Accurate runtime selection of optimal MPI collective algorithms using analytical performance modelling
论文作者
论文摘要
自MPI出现以来,集体运营的表现一直是一个关键问题。每个MPI集体操作都提出了许多算法,但在所有情况下都没有证明它们是最佳的。不同的算法根据平台,消息大小,过程数量等表现出卓越的性能。MPI实现在经验上执行集体算法的选择,执行简单的运行时决策功能。虽然有效,但这种方法不能保证最佳选择。作为更准确但同样有效的替代方案,提出了和研究集体算法的分析性能模型。不幸的是,以前朝这个方向的尝试尚未成功。我们重新审视了基于分析模型的方法,并提出了两项创新,它们显着提高了分析模型的选择性准确性:(1)我们从实现算法的代码中得出分析模型,而不是从其高级数学定义中得出。这导致了更详细的模型。 (2)我们为每个集体算法分别估计模型参数,并将该算法的执行包括在相应的通信实验中。我们通过开放的MPI广播并收集算法和Grid5000群集在实验中证明了方法的准确性和效率。
The performance of collective operations has been a critical issue since the advent of MPI. Many algorithms have been proposed for each MPI collective operation but none of them proved optimal in all situations. Different algorithms demonstrate superior performance depending on the platform, the message size, the number of processes, etc. MPI implementations perform the selection of the collective algorithm empirically, executing a simple runtime decision function. While efficient, this approach does not guarantee the optimal selection. As a more accurate but equally efficient alternative, the use of analytical performance models of collective algorithms for the selection process was proposed and studied. Unfortunately, the previous attempts in this direction have not been successful. We revisit the analytical model-based approach and propose two innovations that significantly improve the selective accuracy of analytical models: (1) We derive analytical models from the code implementing the algorithms rather than from their high-level mathematical definitions. This results in more detailed models. (2) We estimate model parameters separately for each collective algorithm and include the execution of this algorithm in the corresponding communication experiment. We experimentally demonstrate the accuracy and efficiency of our approach using Open MPI broadcast and gather algorithms and a Grid5000 cluster.