arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.06277math.NAcs.NA
收藏

利用网格结构提高多重网格求解鞍点问题的性能

Exploiting mesh structure to improve multigrid performance for saddle point problems

Lukas Spies, Luke Olson, Scott MacLachlan

摘要:

近年来,求解线性或线性化鞍点问题的有限元离散化,如斯托克斯方程和Oseen方程,已经得到很好的建立。有两类主要的预处理器为这样的系统:那些基于块分解的方法和那些基于单片多重网格。这两类预处理器在其组成中有几个关键的选择,如选择一个合适的松弛方案单片多重网格。从现有的研究中,可以获得一些关于低性能计算环境中哪些选项更可取的见解,但文献中很少有这些方法的公平比较,特别是对于现代架构,如GPU。在本文中,我们进行了比较块三角形预处理和单片多重网格方法与三个最常见的选择松弛计划- Braess-Sarazin,Vanka和Schur-Uzawa。我们开发了一个高性能的Vanka松弛算法的结构网格离散化,它利用了在这种设置的内存效率。我们详细介绍了各种CUDA内核的多重网格松弛计划的行为,并评估其各自的算术强度,性能和运行时间。使用这些预处理器运行斯托克斯方程的预处理FGMRES求解器,使我们能够在实际设置中比较它们的效率。我们发现单片多重网格可以优于块三角形预处理,使用Vanka或Braess-Sarazin松弛是最有效的。尽管Vanka松弛的多重网格在CPU上表现出较低的性能(比Braess-Sarazin慢$100\%$),但它在GPU上的性能超过Braess-Sarazin $20\%$,使其成为一种有竞争力的算法,特别是考虑到有效的Braess-Sarazin松弛需要大量的算法调整。

英文摘要:

In recent years, solvers for finite-element discretizations of linear or linearized saddle-point problems, like the Stokes and Oseen equations, have become well established. There are two main classes of preconditioners for such systems: those based on block-factorization approach and those based on monolithic multigrid. Both classes of preconditioners have several critical choices to be made in their composition, such as the selection of a suitable relaxation scheme for monolithic multigrid. From existing studies, some insight can be gained as to what options are preferable in low-performance computing settings, but there are very few fair comparisons of these approaches in the literature, particularly for modern architectures, such as GPUs. In this paper, we perform a comparison between a block-triangular preconditioner and a monolithic multigrid method with the three most common choices of relaxation scheme - Braess-Sarazin, Vanka, and Schur-Uzawa. We develop a performant Vanka relaxation algorithm for structured-grid discretizations, which takes advantage of memory efficiencies in this setting. We detail the behavior of the various CUDA kernels for the multigrid relaxation schemes and evaluate their individual arithmetic intensity, performance, and runtime. Running a preconditioned FGMRES solver for the Stokes equations with these preconditioners allows us to compare their efficiency in a practical setting. We show monolithic multigrid can outperform block-triangular preconditioning, and that using Vanka or Braess-Sarazin relaxation is most efficient. Even though multigrid with Vanka relaxation exhibits reduced performance on the CPU (up to $100\%$ slower than Braess-Sarazin), it is able to outperform Braess-Sarazin by more than $20\%$ on the GPU, making it a competitive algorithm, especially given the high amount of algorithmic tuning needed for effective Braess-Sarazin relaxation.

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

↑