[Paper Review] Domain Decomposition method on GPU cluster
This paper proposes using the restricted additive Schwarz (RAS) preconditioner within a mixed-precision nested-BiCGStab solver on a low-cost GPU cluster to reduce communication bottlenecks in lattice QCD simulations. By decomposing the lattice domain and distributing computations across eight GPUs, the method achieves a factor-of-two performance improvement over non-preconditioned solvers, primarily by reducing GPU-to-GPU communication overhead despite high-latency Gigabit-Ethernet links.
Pallalel GPGPU computing for lattice QCD simulations has a bottleneck on the GPU to GPU data communication due to the lack of the direct data exchanging facility. In this work we investigate the performance of quark solver using the restricted additive Schwarz (RAS) preconditioner on a low cost GPU cluster. We expect that the RAS preconditioner with appropriate domaindecomposition and task distribution reduces the communication bottleneck. The GPU cluster we constructed is composed of four PC boxes, two GPU cards are attached to each box, and we have eight GPU cards in total. The compute nodes are connected with rather slow but low cost Gigabit-Ethernet. We include the RAS preconditioner in the single-precision part of the mixedprecision nested-BiCGStab algorithm and the single-precision task is distributed to the multiple GPUs. The benchmarking is done with the O(a)-improved Wilson quark on a randomly generated gauge configuration with the size of $32^4$. We observe a factor two improvment on the solver performance with the RAS precoditioner compared to that without the preconditioner and find that the improvment mainly comes from the reduction of the communication bottleneck as we expected.
Motivation & Objective
- To address the performance bottleneck in multi-GPU lattice QCD simulations caused by high-latency GPU-to-GPU communication over slow interconnects.
- To evaluate the effectiveness of the restricted additive Schwarz (RAS) preconditioner in reducing communication overhead in a multi-GPU environment.
- To optimize domain decomposition and task distribution across GPUs to minimize latency and maximize solver efficiency.
- To benchmark the performance of a mixed-precision nested-BiCGStab solver enhanced with RAS preconditioning on a real GPU cluster.
Proposed method
- The RAS preconditioner is applied to the single-precision phase of a mixed-precision nested-BiCGStab algorithm to accelerate convergence.
- The lattice is decomposed into non-overlapping and overlapping subdomains, with domain-restricted operators solved locally on each GPU.
- Data communication is minimized by restricting updates to non-overlapping bulk sites via the R_{\Omega_i} projection operator.
- The solver uses domain decomposition with overlapping regions (d=0,2,4) and varies the number of overlapping layers and domain inversion steps.
- The GPU cluster consists of four PCs, each with two GPUs, connected via Gigabit-Ethernet, simulating a realistic low-cost HPC setup.
- Performance is measured using a 32^4 lattice with O(a)-improved Wilson fermions and a Gaussian noise source.
Experimental results
Research questions
- RQ1Can the RAS preconditioner reduce the communication bottleneck in a multi-GPU lattice QCD solver on a low-cost cluster?
- RQ2How does domain overlapping (d=0,2,4) affect solver performance and communication overhead?
- RQ3What is the optimal configuration of RAS parameters (NRAS, N_dominv) for minimizing total solve time?
- RQ4Does the reduction in Dv operation count translate into measurable performance gains despite increased communication and computation overhead?
Key findings
- The RAS preconditioner with no domain overlap (d=0) achieves a factor-of-two speedup, reducing total solve time from 53.305 seconds to 27.977 seconds.
- The communication time dominates the total runtime, with a measured bidirectional bandwidth of approximately 300 MB/sec.
- Despite a 63% reduction in Dv operations (from 1,328 to 484), the d=2 case does not yield better performance due to increased overhead from projection and domain inversion.
- The d=4 case shows a slight reduction in Dv operations but incurs higher overhead from projection and domain inversion, resulting in no net performance gain.
- The RAS preconditioner's benefit is primarily due to reduced communication volume, not fewer operations, as communication time is the main bottleneck.
- The optimal configuration is found to be NRAS=3 and N_dominv=5, with d=0 providing the best performance.
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.