[Paper Review] A Hermite-like basis for faster matrix-free evaluation of interior penalty discontinuous Galerkin operators
This paper introduces a Hermite-like basis for high-order discontinuous Galerkin methods that reduces neighbor data access by limiting stencil width to one function value and one derivative per face, enabling faster matrix-free operator evaluation. The basis combines Hermite and Jacobi-based nodal functions via tensor products and sum factorization, achieving up to 2× higher performance than nodal bases in MPI parallelization for polynomial degrees 5–10, with basis transformations hidden behind memory bandwidth on modern hardware.
This work proposes a basis for improved throughput of matrix-free evaluation of discontinuous Galerkin symmetric interior penalty discretizations on hexahedral elements. The basis relies on ideas of Hermite polynomials. It is used in a fully discontinuous setting not for higher order continuity but to minimize the effective stencil width, namely to limit the neighbor access of an element to one data point for the function value and one for the derivative. The basis is extended to higher orders with nodal contributions derived from roots of Jacobi polynomials and extended to multiple dimensions with tensor products, which enable the use of sum factorization. The beneficial effect of the reduced data access on modern processors is shown. Furthermore, the viability of the basis in the context of multigrid solvers is analyzed. While a plain point-Jacobi approach is less efficient than with the best nodal polynomials, a basis change via sum-factorization techniques enables the combination of the fast matrix-vector products with effective multigrid constituents. The basis change is essentially for free on modern hardware because these computations can be hidden behind the cost of the data access.
Motivation & Objective
- Address the high memory bandwidth cost of matrix-free discontinuous Galerkin methods due to wide stencils in high-order schemes.
- Reduce neighbor data access in matrix-free DG by minimizing the effective stencil width to one function and one derivative per face.
- Develop a basis that enables fast matrix-vector products via sum factorization while maintaining consistency with standard integration.
- Enable efficient multigrid solvers by combining fast matrix-free evaluation with a basis change for effective smoothers.
- Ensure the basis change is computationally hidden behind memory access on modern hardware with high FLOP/Byte ratios.
Proposed method
- Propose a Hermite-like basis for hexahedral elements that enforces continuity of function values and first derivatives at specific points, minimizing neighbor coupling.
- Construct the basis using roots of Jacobi polynomials for nodal degrees of freedom and combine them with Hermite-type functions to minimize data access.
- Extend the basis to multiple dimensions via tensor products to preserve the structure required for sum factorization.
- Apply sum factorization to achieve O(pd+1) complexity per cell, reducing arithmetic operations to O(p) per degree of freedom.
- Implement a basis change from the Hermite-like basis to a nodal basis (e.g., Gauss–Lobatto) for use in smoothers, with the transformation hidden behind memory bandwidth.
- Use Chebyshev iterations with point-Jacobi and block-Jacobi preconditioners to evaluate performance in multigrid solvers.
Experimental results
Research questions
- RQ1Can a Hermite-like basis reduce neighbor data access in matrix-free DG discretizations without sacrificing accuracy or consistency?
- RQ2Does the proposed basis enable faster matrix-vector products compared to standard nodal bases in high-order DG methods?
- RQ3Can the basis change required for effective multigrid smoothers be hidden behind memory bandwidth on modern processors?
- RQ4How does the performance of the Hermite-like basis compare to nodal bases in OpenMP and MPI parallelizations for polynomial degrees 5–10?
- RQ5What is the impact of the reduced stencil width on cache efficiency and memory bandwidth utilization in matrix-free DG solvers?
Key findings
- The Hermite-like basis reduces neighbor data access to one function value and one derivative per face, significantly limiting the effective stencil width.
- For polynomial degrees 5–10, the basis achieves up to 2× higher performance in MPI-only parallelization compared to nodal bases.
- In OpenMP parallelization, the basis delivers an 8–20% performance increase over nodal bases for the same polynomial degrees.
- The basis change for preconditioning is nearly free on modern hardware, as it can be hidden behind memory transfer costs in the Chebyshev iteration loop.
- The throughput reaches 5.0 GDoF/s per iteration for p=8 in the fully merged Chebyshev iteration, compared to 3.6 GDoF/s when matrix-vector product is separated.
- The performance gain is most pronounced in memory-bandwidth-limited regimes, where reduced data access directly translates to higher effective throughput.
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.