arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.17063cs.DCcs.PL
收藏

高效且最终一致的集体操作

Efficient and Eventually Consistent Collective Operations

Roman Iakymchuk, Amandio Faustino, Andrew Emerson, Joao Barreto, Valeria Bartsch, Rodrigo Rodrigues, Jose C. Monteiro

摘要:

集体操作是在高性能(HPC)和机器/深度学习(ML/ DL)应用中经常使用的并行编程模型的常见特征。在强伸缩性场景中,集体操作可能会对整体应用程序性能产生负面影响:随着核心数量的增加,每个等级的负载减少,而集体操作所花费的时间则会增加。在这篇文章中,我们提出了一种适合ML/ DL计算的最终一致集体的设计,通过减少广播和Reduce中的通信,以及探索Allreduce集体的Stale Synchronous Parallel(SSP)同步模型。此外,我们还使用经常使用的经典/一致的集体操作丰富了GASPI生态系统--例如用于大消息的Allreduce和用于HPC代码的AlltoAll。我们的实现显示出有希望的初步结果与显着的改进,特别是Allreduce和AlltoAll相比,供应商提供的MPI替代品。

英文摘要:

Collective operations are common features of parallel programming models that are frequently used in High-Performance (HPC) and machine/ deep learning (ML/ DL) applications. In strong scaling scenarios, collective operations can negatively impact the overall application performance: with the increase in core count, the load per rank decreases, while the time spent in collective operations increases logarithmically. In this article, we propose a design for eventually consistent collectives suitable for ML/ DL computations by reducing communication in Broadcast and Reduce, as well as by exploring the Stale Synchronous Parallel (SSP) synchronization model for the Allreduce collective. Moreover, we also enrich the GASPI ecosystem with frequently used classic/ consistent collective operations -- such as Allreduce for large messages and AlltoAll used in an HPC code. Our implementations show promising preliminary results with significant improvements, especially for Allreduce and AlltoAll, compared to the vendor-provided MPI alternatives.

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

↑