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

为MPI实现实用的透明检查点:一种拓扑排序方法

Enabling Practical Transparent Checkpointing for MPI: A Topological Sort Approach

Yao Xu, Gene Cooperman

AI总结:

本文提出基于拓扑排序确定安全未来同步点的MPI透明检查点方法,解决低运行时开销问题,并在微基准及含VASP在内的五个实际应用中验证其有效性与可扩展性。

摘要:

MPI是在计算机集群上进行并行计算的事实标准。检查点是任何软件弹性策略以及必须通过将有时间限制的资源分配链接在一起来执行的长时间运行作业的重要组成部分。本工作解决了一个长期存在的问题:一种实用且通用的MPI透明检查点算法,既高效,又兼容大多数最新网络软件。透明检查点因其通用性以及对大多数MPI应用开发者而言易于使用而具有吸引力。十年前早期在MPI透明检查点方面的努力存在两个难题:(i)依赖于与特定网络技术绑定的特定MPI实现;以及(ii)未能展示足够低的运行时开销。问题(i)(网络依赖)已在2019年由MANA引入的拆分进程解决。问题(ii)(高效的运行时开销)在本工作中得到解决。本文介绍了一种避免这些限制的方法,采用新颖的拓扑排序,以算法方式确定一个安全的未来同步点。该算法对MPI中的阻塞式和非阻塞式集合通信均有效。我们通过微基准测试和五个实际MPI应用程序展示了本方法的有效性和可扩展性,其中尤其包括广泛使用的VASP(Vienna Ab initio Simulation Package,维也纳从头算模拟软件包),它占劳伦斯伯克利国家实验室Perlmutter超级计算机上11%的工作负载。VASP此前被认为是检查点方面的一项特殊挑战,部分原因在于其多算法代码。

英文摘要:

MPI is the de facto standard for parallel computing on a cluster of computers. Checkpointing is an important component in any strategy for software resilience and for long-running jobs that must be executed by chaining together time-bounded resource allocations. This work solves an old problem: a practical and general algorithm for transparent checkpointing of MPI that is both efficient and compatible with most of the latest network software. Transparent checkpointing is attractive due to its generality and ease of use for most MPI application developers. Earlier efforts at transparent checkpointing for MPI, one decade ago, had two difficult problems: (i) by relying on a specific MPI implementation tied to a specific network technology; and (ii) by failing to demonstrate sufficiently low runtime overhead. Problem (i) (network dependence) was already solved in 2019 by MANA's introduction of split processes. Problem (ii) (efficient runtime overhead) is solved in this work. This paper introduces an approach that avoids these limitations, employing a novel topological sort to algorithmically determine a safe future synchronization point. The algorithm is valid for both blocking and non-blocking collective communication in MPI. We demonstrate the efficacy and scalability of our approach through both micro-benchmarks and a set of five real-world MPI applications, notably including the widely used VASP (Vienna Ab Initio Simulation Package), which is responsible for 11% of the workload on the Perlmutter supercomputer at Lawrence Berkley National Laboratory. VASP was previously cited as a special challenge for checkpointing, in part due to its multi-algorithm codes.

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

↑