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.
Integrating High Performance In-Memory Data Streaming and In-Situ Visualization in Hybrid MPI+OpenMP PIC MC Simulations Towards Exascale
KTH Royal Institute of Technology(皇家理工学院);Faculty of Mechanical Engineering, University of Ljubljana(卢布尔雅那大学机械工程学院);Max Planck Institute for Plasma Physics(马普等离子体物理研究所);Institute of Plasma Physics of the CAS(捷克科学院等离子体物理研究所);University of Oregon(俄勒冈大学);Max Planck Computing and Data Facility(马普计算与数据中心)