Affiliation:
1. Institute of Software, Chinese Academy of Sciences, China and University of Chinese Academy of Sciences, China
2. Institute of Software, Chinese Academy of Sciences, China and State Key Laboratory of Computer Science, China
3. Institute of Software, Chinese Academy of Sciences, China
Abstract
Fast Fourier transform (FFT) is widely used in computing applications in large-scale parallel programs, and data communication is the main performance bottleneck of FFT and seriously affects its parallel efficiency. To tackle this problem, we propose a new large-scale FFT framework, MFFT, which optimizes parallel FFT with a new mixed-precision optimization technique, adopting the “high precision computation, low precision communication” strategy. To enable “low precision communication”, we propose a shared-exponent floating-point number compression technique, which reduces the volume of data communication, while maintaining higher accuracy. In addition, we apply a two-phase normalization technique to further reduce the round-off error. Based on the mixed-precision MFFT framework, we apply several optimization techniques to improve the performance, such as streaming of GPU kernels, MPI message combination, kernel optimization, and memory optimization. We evaluate MFFT on a system with 4,096 GPUs. The results show that shared-exponent MFFT is 1.23 × faster than that of double-precision MFFT on average, and double-precision MFFT achieves performance 3.53× and 9.48× on average higher than open source library 2Decomp&FFT (CPU-based version) and heFFTe (AMD GPU-based version), respectively. The parallel efficiency of double-precision MFFT increased from 53.2% to 78.1% compared with 2Decomp&FFT, and shared-exponent MFFT further increases the parallel efficiency to 83.8%.
Funder
National Key R&D Program of China
GHfund D
Publisher
Association for Computing Machinery (ACM)
Subject
Hardware and Architecture,Information Systems,Software
Reference52 articles.
1. 2018. NVIDIA APEX.https://github.com/NVIDIA/apex.
2. 2019. CUFFT library. https://docs.nvidia.com/pdf/CUFFT_Library.pdf.
3. 2021. rocFFT Documentation. https://rocfft.readthedocs.io/en/rocm-4.2.0/.
4. 2022. heFFTe.https://bitbucket.org/icl/heffte.
5. 2022. Large-scale atomic/molecular massively parallel simulator. https://lammps.sandia.gov/.
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献