[Paper Review] A block Recycled GMRES method with investigations into aspects of solver performance
This paper introduces a block Recycled GMRES method that accelerates convergence for sequences of large, sparse, non-Hermitian linear systems with multiple right-hand sides by combining block Krylov recycling with deflation. It demonstrates that block operations improve data movement efficiency and cache reuse, but orthogonalization costs can reduce gains; the method is implemented in Trilinos and shown to outperform standard methods in convergence and performance metrics on large-scale problems.
We propose a block Krylov subspace version of the GCRO-DR method proposed in [Parks et al.; SISC 2005], which is an iterative method allowing for the efficient minimization of the the residual over an augmented Krylov subspace. We offer a clean derivation of our proposed method and discuss methods of selecting recycling subspaces at restart as well as implementation decisions in the context of high-performance computing. Numerical experiments are split into those demonstrating convergence properties and those demonstrating the data movement and cache efficiencies of the dominant operations of the method, measured using processor monitoring code from Intel.
Motivation & Objective
- Address the challenge of solving sequences of large, sparse, non-Hermitian linear systems efficiently, especially when multiple right-hand sides are present.
- Improve convergence and computational efficiency by combining block Krylov methods with subspace recycling techniques.
- Investigate the performance of block recycling methods beyond convergence, focusing on data movement and cache efficiency in high-performance computing environments.
- Evaluate the trade-offs between block operations and orthogonalization costs in recycling algorithms, particularly in the context of projected operators.
- Provide a clean derivation and implementation guidance for block Recycled GMRES, with code available in Trilinos and MATLAB.
Proposed method
- Propose a block Krylov subspace version of the GCRO-DR method, enabling recycling of deflated invariant subspaces across sequences of linear systems.
- Use a block Arnoldi process to generate a block Krylov subspace, augmented with recycled deflation subspaces to accelerate convergence.
- Apply a projection operator $(\mathbf{I} - \mathbf{P})$ to the system matrix to enforce orthogonality to the recycled subspace, ensuring residual minimization in the deflated space.
- Implement the method using Householder-based block storage and application strategies to maintain cache efficiency during orthogonalization and matrix-vector products.
- Use Intel processor monitoring tools to measure data movement and cache miss counts, evaluating performance of matrix-vector products and orthogonalization routines.
- Compare block operations (applied to full blocks of vectors) with column-wise application to assess cache efficiency trade-offs, especially under projection.
Experimental results
Research questions
- RQ1To what extent does combining block Krylov methods with recycling improve convergence for sequences of linear systems with multiple right-hand sides?
- RQ2How does the performance of block operations in matrix-vector products compare to column-wise operations in terms of data movement and cache efficiency?
- RQ3What is the impact of applying a projector to the system matrix on the cache efficiency of matrix-vector operations in block recycling methods?
- RQ4How do orthogonalization routines (e.g., modified Gram-Schmidt vs. multiple-pass classical Gram-Schmidt) affect performance and cache utilization in block recycled GMRES?
- RQ5Can block recycling methods achieve better overall runtime performance despite potential inefficiencies in orthogonalization, especially when total search space dimensions are matched to standard block GMRES?
Key findings
- Block Recycled GMRES achieves steeper convergence curves than standard block GMRES and non-block recycling methods, particularly on large-scale problems with multiple right-hand sides.
- For unprojected operators, block matrix-vector products show significant cache efficiency gains, with up to 2–3× reduction in cache misses and improved timing compared to column-wise application.
- When a projector is applied to the system matrix, the performance advantage of block operations is diminished, with some cases showing worse performance than column-wise application due to reduced data locality.
- The ratio of time to apply the projected matrix to a block versus a single vector exceeds 2× for several matrices, indicating a substantial performance penalty in the projected case.
- Orthogonalization routines such as modified Gram-Schmidt and multiple-pass classical Gram-Schmidt show similar performance characteristics, but block orthogonalization does not consistently outperform column-wise methods in terms of cache efficiency.
- The C++ implementation of the algorithm is available in the Belos package of Trilinos, and a MATLAB version is publicly accessible, supporting reproducibility and integration into existing HPC workflows.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.