arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.14186math.NAcs.DCcs.MScs.NA
收藏

对称本征值问题的高性能部分谱计算及SVD

High-Performance Partial Spectrum Computation for Symmetric eigenvalue problems and the SVD

D. Keyes, H. Ltaief, Y. Nakatsukasa, D. Sukkari

摘要:

当前的密集对称特征值(EIG)和奇异值分解(SVD)实现可能分别在三对角和双对角约简期间缺乏并发性。这种性能瓶颈对于双边转换来说是典型的,这是由于Level-2 BLAS内存限制调用造成的。因此,当前最先进的EIG和SVD实现可能仅实现系统的持续峰值性能的一小部分。基于QR的动态加权哈雷(QDWH)算法可用作EIG和SVD求解器的预处理步骤,同时缓解上述瓶颈。QDWH-EIG和QDWH-SVD暴露了更多的并行性,同时依赖于计算限制的矩阵运算。两者都更接近系统的持续峰值性能,但代价是执行比标准EIG和SVD算法更多的FLOPS。在本文中,我们介绍了一种新的基于QDWH的求解器计算EIG(QDWHpartial-EIG)和SVD(QDWHpartial-SVD)问题的部分谱。通过仅在频谱的期望部分中优化作为算法基础的有理函数,QDWHpartial-EIG和QDWHpartial-SVD算法有效地计算相应频谱的一部分(例如1-20%)。我们开发了高性能的实现QDWHpartial-EIG和QDWHpartial-SVD的分布式内存系统,并证明其数值鲁棒性。使用高达36 K MPI进程的实验结果显示,QDWHpartial-SVD的性能分别比ScaLAPACK和KSVD的PDGESVD提高了6倍和2倍。QDWHpartial-EIG的性能优于PDSYEVD,ScaLAPACK高达3.5倍,但与ELPA相比仍然较慢。然而,QDWHpartial-EIG通过提取比ELPA更高的持续峰值性能来实现底层硬件的更好占用,这对于基于加速器的超级计算机来说至关重要。

英文摘要:

Current dense symmetric eigenvalue (EIG) and singular value decomposition (SVD) implementations may suffer from the lack of concurrency during the tridiagonal and bidiagonal reductions, respectively. This performance bottleneck is typical for the two-sided transformations due to the Level-2 BLAS memory-bound calls. Therefore, the current state-of-the-art EIG and SVD implementations may achieve only a small fraction of the system's sustained peak performance. The QR-based Dynamically Weighted Halley (QDWH) algorithm may be used as a pre-processing step toward the EIG and SVD solvers, while mitigating the aforementioned bottleneck. QDWH-EIG and QDWH-SVD expose more parallelism, while relying on compute-bound matrix operations. Both run closer to the sustained peak performance of the system, but at the expense of performing more FLOPS than the standard EIG and SVD algorithms. In this paper, we introduce a new QDWH-based solver for computing the partial spectrum for EIG (QDWHpartial-EIG) and SVD (QDWHpartial-SVD) problems. By optimizing the rational function underlying the algorithms only in the desired part of the spectrum, QDWHpartial-EIG and QDWHpartial-SVD algorithms efficiently compute a fraction (say 1-20%) of the corresponding spectrum. We develop high-performance implementations of QDWHpartial-EIG and QDWHpartial-SVD on distributed-memory anymore systems and demonstrate their numerical robustness. Experimental results using up to 36K MPI processes show performance speedups for QDWHpartial-SVD up to 6X and 2X against PDGESVD from ScaLAPACK and KSVD, respectively. QDWHpartial-EIG outperforms PDSYEVD from ScaLAPACK up to 3.5X but remains slower compared to ELPA. QDWHpartial-EIG achieves, however, a better occupancy of the underlying hardware by extracting higher sustained peak performance than ELPA, which is critical moving forward with accelerator-based supercomputers.

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

↑