再正交化块经典Gram--Schmidt算法的低同步变体性能研究
The Performance of Low-Synchronization Variants of Reorthogonalized Block Classical Gram--Schmidt
AI总结:
本研究在分布式内存系统上评估了两种稳定低同步再正交化块经典Gram-Schmidt变体BCGSI+P-1S和BCGSI+P-2S的性能,验证其相比经典算法最高可获4倍和2倍加速,且稳定性优于同同步开销的其他变体,是分布式经济型QR分解的优选方案。
摘要:
Krylov子空间求解器等众多应用广泛使用块经典Gram-Schmidt(BCGS)算法及其再正交化变体来对一组向量进行正交化。对于分布式内存环境下的大规模问题,通信开销尤其是全局同步开销是主要的性能瓶颈。近年来,为减少同步点数量,研究人员提出了多种低同步BCGS变体。E. Carson与Y. Ma在近期工作(arXiv预印本2411.07077)中提出了稳定的单同步和双同步BCGS变体,即BCGSI+P-1S和BCGSI+P-2S。本研究在分布式内存系统上评估了BCGSI+P-1S与BCGSI+P-2S的性能,并与其他知名低同步BCGS变体进行对比。数值实验表明,与经典再正交化BCGS算法(BCGSI+)相比,BCGSI+P-1S和BCGSI+P-2S分别可实现最高4倍和2倍的加速,且性能与其他(稳定性稍弱的)单同步、双同步变体相当。由于BCGSI+P-1S和BCGSI+P-2S在相同同步开销下稳定性更优,因此推荐作为分布式内存系统上计算经济型QR分解的实际最优选择。
英文摘要:
Numerous applications, such as Krylov subspace solvers, make extensive use of the block classical Gram-Schmidt (BCGS) algorithm and its reorthogonalized variants for orthogonalizing a set of vectors. For large-scale problems in distributed memory settings, the communication cost, particularly the global synchronization cost, is a major performance bottleneck. In recent years, many low-synchronization BCGS variants have been proposed in an effort to reduce the number of synchronization points. The work [E. Carson, Y. Ma, arXiv preprint 2411.07077] recently proposed stable one-synchronization and two-synchronization variants of BCGS, i.e., BCGSI+P-1S and BCGSI+P-2S. In this work, we evaluate the performance of BCGSI+P-1S and BCGSI+P-2S on a distributed memory system compared to other well-known low-synchronization BCGS variants. In comparison to the classical reorthogonalized BCGS algorithm (BCGSI+), numerical experiments demonstrate that BCGSI+P-1S and BCGSI+P-2S can achieve up to 4 times and 2 times speedups, respectively, and perform similarly to other (less stable) one-synchronization and two-synchronization variants. BCGSI+P-1S and BCGSI+P-2S are therefore recommended as the best choice in practice for computing an economic QR factorization on distributed memory systems due to their superior stability when compared to other variants with the same synchronization cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。