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

大规模分布式存储平台上的分层并行矩阵乘法

Hierarchical Parallel Matrix Multiplication on Large-Scale Distributed Memory Platforms

Jean-Noel Quintin, Khalid Hasanov, Alexey Lastovetsky

摘要:

矩阵乘法是一个非常重要的计算内核,它本身就是许多科学应用的构建块,也是其他科学应用的流行代表。1969年提出的Cannon算法是第一个有效的并行矩阵乘法算法,它提供了理论上最优的通信开销。然而,该算法需要平方数量的处理器。在20世纪90年代中期,SUMMA算法被引入。SUMMA克服了Cannon算法的缺点,因为它也可以用于非平方数的处理器上。从那时起,HPC平台中的处理器数量增加了两个数量级,使得通信在总执行时间中的贡献更加显着。因此,应重新审视现有的并行矩阵乘法算法,以进一步降低通信成本。本文介绍了一种新的并行矩阵乘法算法--分层SUMMA(HSUMMA),它是对SUMMA的重新设计。我们的算法减少了通信成本的SUMMA通过引入一个两级的虚拟层次结构的二维安排的处理器。在IBM BlueGene-P上的实验表明,在2048核和16384核上,通信成本分别降低了2.08倍和5.89倍。

英文摘要:

Matrix multiplication is a very important computation kernel both in its own right as a building block of many scientific applications and as a popular representative for other scientific applications. Cannon algorithm which dates back to 1969 was the first efficient algorithm for parallel matrix multiplication providing theoretically optimal communication cost. However this algorithm requires a square number of processors. In the mid 1990s, the SUMMA algorithm was introduced. SUMMA overcomes the shortcomings of Cannon algorithm as it can be used on a non-square number of processors as well. Since then the number of processors in HPC platforms has increased by two orders of magnitude making the contribution of communication in the overall execution time more significant. Therefore, the state of the art parallel matrix multiplication algorithms should be revisited to reduce the communication cost further. This paper introduces a new parallel matrix multiplication algorithm, Hierarchical SUMMA (HSUMMA), which is a redesign of SUMMA. Our algorithm reduces the communication cost of SUMMA by introducing a two-level virtual hierarchy into the two-dimensional arrangement of processors. Experiments on an IBM BlueGene-P demonstrate the reduction of communication cost up to 2.08 times on 2048 cores and up to 5.89 times on 16384 cores.

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

↑