[Paper Review] Petascale elliptic solvers for anisotropic PDEs on GPU clusters
This paper presents a petascale, multi-GPU implementation of two algorithmically optimal iterative solvers—Conjugate Gradient (CG) and tensor-product geometric multigrid—for anisotropic elliptic PDEs arising in atmospheric modeling. The solvers achieve up to 0.78 PFLOPs on 16,384 GPUs, solving systems with 0.55 trillion unknowns, with the multigrid method converging in under one second for half a trillion unknowns due to superior iteration count and efficient memory access patterns on GPU clusters.
Memory bound applications such as solvers for large sparse systems of equations remain a challenge for GPUs. Fast solvers should be based on numerically efficient algorithms and implemented such that global memory access is minimised. To solve systems with up to one trillion ($10^{12}$) unknowns the code has to make efficient use of several million individual processor cores on large GPU clusters. We describe the multi-GPU implementation of two algorithmically optimal iterative solvers for anisotropic elliptic PDEs which are encountered in atmospheric modelling. In this application the condition number is large but independent of the grid resolution and both methods are asymptotically optimal, albeit with different absolute performance. We parallelise the solvers and adapt them to the specific features of GPU architectures, paying particular attention to efficient global memory access. We achieve a performance of up to 0.78 PFLOPs when solving an equation with $0.55\cdot 10^{12}$ unknowns on 16384 GPUs; this corresponds to about $3\%$ of the theoretical peak performance of the machine and we use more than $40\%$ of the peak memory bandwidth with a Conjugate Gradient (CG) solver. Although the other solver, a geometric multigrid algorithm, has a slightly worse performance in terms of FLOPs per second, overall it is faster as it needs less iterations to converge; the multigrid algorithm can solve a linear PDE with half a trillion unknowns in about one second.
Motivation & Objective
- To develop a massively parallel, GPU-accelerated solver for large-scale anisotropic elliptic PDEs arising in atmospheric modeling.
- To overcome the memory bandwidth bottleneck in GPU-based sparse linear solvers by optimizing global memory access patterns.
- To achieve petascale performance (10^15 floating-point operations per second) on systems with up to 10^12 unknowns using multi-GPU clusters.
- To compare the performance of algorithmically optimal solvers—preconditioned CG and tensor-product geometric multigrid—on GPU architectures.
- To demonstrate weak and strong scaling on the Titan supercomputer using up to 16,384 GPUs.
Proposed method
- Implement a multi-GPU, distributed-memory version of the tensor-product geometric multigrid solver tailored for vertically anisotropic PDEs in atmospheric models.
- Optimize memory access patterns by aligning data layouts with GPU coalescing requirements and minimizing global memory transactions.
- Use a hybrid CPU-GPU task distribution strategy, offloading fine-level computations to GPUs and coarser levels to CPUs to reduce data movement.
- Apply asynchronous halo exchanges to overlap communication with computation, improving efficiency on GPU clusters.
- Employ a parallel tridiagonal solver (e.g., cyclic reduction or substructuring) on coarse multigrid levels to increase thread-level parallelism.
- Use double-precision arithmetic on Kepler GK110 GPUs and benchmark performance against theoretical peak and CPU-based implementations.
Experimental results
Research questions
- RQ1Can a multi-GPU implementation of geometric multigrid and preconditioned CG solvers achieve petascale performance on systems with up to 10^12 unknowns?
- RQ2How does the performance of the multigrid solver compare to CG in terms of convergence speed and FLOP/s efficiency on GPU clusters?
- RQ3To what extent can memory bandwidth limitations be mitigated through algorithmic and architectural optimizations on GPUs?
- RQ4What is the weak and strong scaling behavior of the solvers on 16,384 GPUs of the Titan supercomputer?
- RQ5Can overlapping communication with computation and increasing parallelism on coarse levels improve GPU utilization and overall performance?
Key findings
- The CG solver achieved 0.78 PFLOPs on 16,384 GPUs when solving a system with 0.55×10^12 unknowns, reaching 3% of the theoretical peak performance.
- The CG solver utilized more than 40% of the peak memory bandwidth, demonstrating efficient memory access despite high arithmetic intensity.
- The tensor-product geometric multigrid solver solved a linear system with 0.5×10^12 unknowns in approximately one second, outperforming CG due to fewer iterations.
- The multigrid method exhibited slightly lower FLOP/s performance than CG but achieved faster convergence due to its optimal iteration count.
- Preliminary experiments with asynchronous halo exchange and parallel tridiagonal solvers showed potential for speedups of up to a factor of two on coarse multigrid levels.
- The GPU implementation was approximately four times faster than the CPU-based code on the HECToR supercomputer, highlighting the advantage of GPU acceleration for this class of problems.
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.