arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.13337physics.comp-phcs.DC
收藏

JUWELS集群上通过块张量-矩阵乘法实现3D-DFT的可扩展性

Scalability of 3D-DFT by block tensor-matrix multiplication on the JUWELS Cluster

Nitin Malapally, Viacheslav Bolnykh, Estela Suarez, Paolo Carloni, Thomas Lippert, Davide Mandelli

AI总结:

本文针对分布式3D-FFT全对全通信扩展性差的问题,实现基于Cannon算法变体和点对点通信的S3DFT库,并在JUWELS集群上评估其性能与可扩展性。

摘要:

三维离散傅里叶变换(DFT)是一种用于解决不同领域问题的技术。如今,普遍采用的3D-DFT实现源自快速傅里叶变换(FFT)算法。然而,有证据表明,分布式内存3D-FFT算法由于使用全对全通信而无法良好扩展。本文基于Sedukhin等人的工作[Proceedings of the 30th International Conference on Computers and Their Applications, CATA 2015 pp. 193-200 (01 2015)],重新审视了通过使用一种采用点对点通信的替代方法来改善3D-DFT扩展性的可能性,尽管该方法具有更高的算术复杂度。新算法通过三种特别适配的Cannon算法变体,在体积分解的域上利用张量-矩阵乘法。该算法在此已被实现为一个名为S3DFT的C++库,并在于利希超级计算中心的JUWELS集群上进行了测试。我们的共享内存张量-矩阵乘法实现达到了理论单节点峰值性能的88%。分布式内存张量-矩阵乘法的一种变体表现出优异的扩展性,而另外两种变体表现出较差的性能,这可归因于它们固有的通信模式。S3DFT与Intel MKL和FFTW3库的比较表明,目前iMKL总体表现最好,其次依次是FFTW3和S3DFT。随着算法的进一步改进和/或在使用更高延迟网络连接的集群上运行时(例如在云平台上),这种情况可能会改变。

英文摘要:

The 3D Discrete Fourier Transform (DFT) is a technique used to solve problems in disparate fields. Nowadays, the commonly adopted implementation of the 3D-DFT is derived from the Fast Fourier Transform (FFT) algorithm. However, evidence indicates that the distributed memory 3D-FFT algorithm does not scale well due to its use of all-to-all communication. Here, building on the work of Sedukhin \textit{et al}. [Proceedings of the 30th International Conference on Computers and Their Applications, CATA 2015 pp. 193-200 (01 2015)], we revisit the possibility of improving the scaling of the 3D-DFT by using an alternative approach that uses point-to-point communication, albeit at a higher arithmetic complexity. The new algorithm exploits tensor-matrix multiplications on a volumetrically decomposed domain via three specially adapted variants of Cannon's algorithm. It has here been implemented as a C++ library called S3DFT and tested on the JUWELS Cluster at the Jülich Supercomputing Center. Our implementation of the shared memory tensor-matrix multiplication attained 88\% of the theoretical single node peak performance. One variant of the distributed memory tensor-matrix multiplication shows excellent scaling, while the other two show poorer performance, which can be attributed to their intrinsic communication patterns. A comparison of S3DFT with the Intel MKL and FFTW3 libraries indicates that currently iMKL performs best overall, followed in order by FFTW3 and S3DFT. This picture might change with further improvements of the algorithm and/or when running on clusters that use network connections with higher latency, e.g. on cloud platforms.

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

↑