集合向量时钟:面向MPI的低开销透明检查点
Collective Vector Clocks: Low-Overhead Transparent Checkpointing for MPI
AI总结:
针对分布式计算中支持跨进程集合操作的快照获取难题,提出基于集合向量时钟的网络无关透明检查点方案,避免了现有方案的移植成本与额外流量问题,且支持非阻塞集合操作,实验验证其运行时开销低。
摘要:
获取分布式计算的状态快照可用于计算状态的离线分析、后续从已保存快照重启、克隆计算副本以及迁移到新集群。当需要支持跨进程的集合操作(如屏障、归约操作、散射与聚集等)时,该问题会变得更具挑战性:部分进程可能已到达屏障或其他集合操作点,而其余进程需要很长时间才能到达同一屏障或集合操作点。现有文献中至少有两种知名解决方案:(I)在检查点时刻排空传输中的网络消息,随后冻结网络;(ii)在集合操作前增加一道屏障,若所有进程未全部到位则要么完成操作,要么中止屏障。这两种方案都存在显著缺陷:第一种方案的代码在移植到更新的网络时必须进行修改;第二种方案会在每次集合操作前产生额外的屏障相关网络流量。本研究提出了第三种可同时规避上述两种缺陷的解决方案:该方案不会产生额外的屏障相关流量,且完全在网络层之上实现。本研究在并行计算的MPI(消息传递接口)库透明检查点场景下验证了该方案,前两种方案此前均已在相关系统中应用过,但都因上述缺陷被弃用。实验表明,这种全新的网络无关方法运行时开销极低。该方法还被扩展应用于非阻塞集合操作,以支持计算与通信的重叠执行。
英文摘要:
Taking snapshots of the state of a distributed computation is useful for off-line analysis of the computational state, for later restarting from the saved snapshot, for cloning a copy of the computation, and for migration to a new cluster. The problem is made more difficult when supporting collective operations across processes, such as barrier, reduce operations, scatter and gather, etc. Some processes may have reached the barrier or other collective operation, while other processes wait a long time to reach that same barrier or collective operation. At least two solutions are well-known in the literature: (I) draining in-flight network messages and then freezing the network at checkpoint time; and (ii) adding a barrier prior to the collective operation, and either completing the operation or aborting the barrier if not all processes are present. Both solutions suffer important drawbacks. The code in the first solution must be updated whenever one ports to a newer network. The second solution implies additional barrier-related network traffic prior to each collective operation. This work presents a third solution that avoids both drawbacks. There is no additional barrier-related traffic, and the solution is implemented entirely above the network layer. The work is demonstrated in the context of transparent checkpointing of MPI libraries for parallel computation, where each of the first two solutions have already been used in prior systems, and then abandoned due to the aforementioned drawbacks. Experiments demonstrate the low runtime overhead of this new, network-agnostic approach. The approach is also extended to non-blocking, collective operations in order to handle overlapping of computation and communication.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。