多通道通信的集合分解
Decomposing Collectives for Exploiting Multi-lane Communication
摘要:
许多现代高性能系统通过提供多于单个通信网络和/或通过具有到网络的多个连接来增加累积的节点带宽。用于集体操作的有效算法和实现,例如,MPI必须明确设计用于这种多通道功能。我们讨论了多通道算法的设计模型,特别是给出了一个配方转换成一个多通道算法,可以有效地使用$k$通道同时任何标准的,单端口的,(流水线)通信树算法。我们首先从\emph{self-consistent performance guidelines}的角度来研究这个问题,并给出简单的,\emph{full-lane, mock-up implementations}的MPI广播,减少,扫描,收集,分散,allgather和alltoall操作,只使用类似的操作,给定的MPI库本身的方式,可以利用多通道的能力。这些实现依赖于将通信域分解为节点和通道的通信器,是MPI集合的成熟且易于使用的实现。与预期相反,在许多情况下,在小型36节点双插槽双通道英特尔OmniPath集群上使用不同的MPI库时,模型实现显示出令人惊讶的性能改进,这表明本机MPI库实现存在严重问题。在许多情况下,我们的全通道实现比相应的MPI集合快两倍以上。我们在更大的维也纳科学集群VSC-3上看到了类似的结果。这些实验表明当前库中MPI集合的改进有相当大的空间,包括更有效地使用多通道通信。
英文摘要:
Many modern, high-performance systems increase the cumulated node-bandwidth by offering more than a single communication network and/or by having multiple connections to the network. Efficient algorithms and implementations for collective operations as found in, e.g., MPI must be explicitly designed for such multi-lane capabilities. We discuss a model for the design of multi-lane algorithms, and in particular give a recipe for converting any standard, one-ported, (pipelined) communication tree algorithm into a multi-lane algorithm that can effectively use $k$ lanes simultaneously. We first examine the problem from the perspective of \emph{self-consistent performance guidelines}, and give simple, \emph{full-lane, mock-up implementations} of the MPI broadcast, reduction, scan, gather, scatter, allgather, and alltoall operations using only similar operations of the given MPI library itself in such a way that multi-lane capabilities can be exploited. These implementations which rely on a decomposition of the communication domain into communicators for nodes and lanes are full-fledged and readily usable implementations of the MPI collectives. The mock-up implementations, contrary to expectation, in many cases show surprising performance improvements with different MPI libraries on a small 36-node dual-socket, dual-lane Intel OmniPath cluster, indicating severe problems with the native MPI library implementations. Our full-lane implementations are in many cases considerably more than a factor of two faster than the corresponding MPI collectives. We see similar results on the larger Vienna Scientific Cluster, VSC-3. These experiments indicate considerable room for improvement of the MPI collectives in current libraries including more efficient use of multi-lane communication.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。