Skip to main content
QUICK REVIEW

[Paper Review] Efficient implementation of the overlap operator on multi-GPUs

Andrei Alexandru, Michael Lujan|arXiv (Cornell University)|Jun 24, 2011
Advanced Data Storage TechnologiesComputer Science11 references5 citations
TL;DR

This paper presents an efficient multi-GPU implementation of the overlap operator for lattice QCD simulations, leveraging polynomial approximation for the matrix sign function and optimized dslash routines to achieve high performance. The approach delivers a GPU-to-CPU performance equivalence of 22–35 cores per GPU, with 32 GPUs matching a 256-core CPU cluster in 3.5 hours versus 13.5 hours.

ABSTRACT

Lattice QCD calculations were one of the first applications to show the potential of GPUs in the area of high performance computing. Our interest is to find ways to effectively use GPUs for lattice calculations using the overlap operator. The large memory footprint of these codes requires the use of multiple GPUs in parallel. In this paper we show the methods we used to implement this operator efficiently. We run our codes both on a GPU cluster and a CPU cluster with similar interconnects. We find that to match performance the CPU cluster requires 20-30 times more CPU cores than GPUs.

Motivation & Objective

  • To enable large-scale lattice QCD simulations using the overlap operator on multi-GPU systems due to its high memory footprint.
  • To overcome the limitations of single-GPU memory by distributing the computation across multiple GPUs.
  • To achieve high performance and strong scaling on multi-GPU clusters for the numerically intensive overlap operator.
  • To compare GPU performance against CPU clusters and quantify the GPU-to-CPU core efficiency ratio.
  • To evaluate and optimize approximation methods for the matrix sign function in the overlap operator.

Proposed method

  • Uses polynomial approximation for the matrix sign function to compute the overlap operator, minimizing error over the spectrum of Hw.
  • Implements a highly optimized dslash routine on GPUs, with memory access patterns tuned for high bandwidth and coalescing.
  • Applies a domain decomposition strategy to partition the lattice across multiple GPUs, enabling scalable memory distribution.
  • Employs the implicitly restarted Arnoldi method to compute eigenvectors of Hw and D, storing chiral eigenvectors in half the memory.
  • Uses adaptive precision conjugate gradient solvers to compute quark propagators efficiently with dynamic precision control.
  • Employs a double-pass algorithm as a baseline for comparison, but finds polynomial approximation superior in performance and accuracy.

Experimental results

Research questions

  • RQ1How can the overlap operator be efficiently parallelized across multiple GPUs to handle its large memory footprint?
  • RQ2What approximation method—polynomial or double-pass—for the matrix sign function yields better performance and accuracy in the multi-GPU context?
  • RQ3What is the effective GPU-to-CPU core performance ratio for the dslash routine and full quark propagator computation?
  • RQ4How does the performance of multi-GPU overlap operator implementations compare to CPU clusters of comparable interconnect speed?
  • RQ5Can eigensolvers for Hw and D be efficiently offloaded to GPU memory, and what is the performance impact when vectors are moved to CPU memory?

Key findings

  • The polynomial approximation for the matrix sign function outperforms the double-pass algorithm, requiring fewer iterations and achieving better performance.
  • The dslash routine on 32 GPUs achieves a performance equivalent to 24 CPU cores, with 50% strong scaling efficiency.
  • Computing 200 Hw eigenvectors to 10^-10 precision takes 2.7 hours on 32 GPUs versus 10.6 hours on a 256-core CPU cluster, yielding a 26-core equivalence.
  • The adaptive CG method for quark propagators is 60% faster than standard CG, achieving a 35-core performance equivalence on GPUs.
  • When Arnoldi vectors are stored in CPU memory due to GPU memory limits, performance degrades by only 50–60%, confirming feasibility of hybrid memory strategies.
  • Overall, the full quark propagator computation runs in 3.5 hours on 32 GPUs versus 13.5 hours on a 256-core CPU cluster, confirming a consistent 22–35x GPU-to-CPU core performance advantage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.