[Paper Review] A performance evaluation of CCS QCD Benchmark on the COMA (Intel(R) Xeon Phi$^{TM}$, KNC) system
This paper evaluates the performance of the CCS QCD Benchmark on the COMA system equipped with Intel Xeon Phi (KNC) co-processors, optimizing a single-precision BiCGStab solver with overlapped Restricted Additive Schwarz preconditioning using reverse offloading and SCIF communication. It achieves ~190 GFlops sustained for Wilson-Clover hopping matrix multiplication on a $24^3 \times 96$ lattice, demonstrating effective communication-computation overlap and strong weak scaling beyond $24^3 \times 32$ lattice sizes.
The most computationally demanding part of Lattice QCD simulations is solving quark propagators. Quark propagators are typically obtained with a linear equation solver utilizing HPC machines. The CCS QCD Benchmark is a benchmark program solving the Wilson-Clover quark propagator, and is developed at the Center for Computational Sciences (CCS), University of Tsukuba. We optimized the benchmark program for a \Intel \XeonPhi (Knights Corner, KNC) system named "COMA (PACS-IX)" at CCS Tsukuba under the Intel Parallel Computing Center program. A single precision BiCGStab solver with the overlapped Restricted Additive Schwarz (RAS) preconditioner was implemented using SIMD intrinsics, OpenMP and MPI in the offload mode. With the reverse-offloading technique, we could reduce the communication and offloading overheads. We observed a performance of $\sim 200$ GFlops sustained for the Wilson-Clover hopping matrix multiplication on the lattice sizes larger than $24^3 imes 32$ on a sinlge card of the COMA system. A good weak scaling perofmace was observed on the local lattice sizes larger than $24^3 imes 32$.
Motivation & Objective
- To evaluate and optimize the CCS QCD Benchmark for performance on the COMA system with Intel Xeon Phi (KNC) co-processors.
- To reduce communication and offloading overheads in the offload mode by implementing reverse offloading with a host proxy server.
- To achieve high sustained performance in single-precision Wilson-Clover quark matrix multiplication using SIMD, OpenMP, and MPI.
- To enable communication-computation overlapping via task separation in the hopping matrix multiplication kernel.
- To demonstrate strong weak scaling behavior on large local lattice sizes (> $24^3 \times 32$).
Proposed method
- Implemented a single-precision BiCGStab solver with overlapped Restricted Additive Schwarz (RAS) preconditioner using SIMD intrinsics, OpenMP, and MPI in offload mode.
- Employed reverse offloading to minimize offloading overheads by offloading MPI communication requests to a host CPU proxy via the Symmetric Communications InterFace (SCIF).
- Split the hopping matrix multiplication into three stages: pre-processing (MULT_PRE), interior site computation (MULT_IN), and surface site computation (MULT_PST) to eliminate conditional branches.
- Used non-blocking SCIF calls to enable communication-computation overlap, hiding communication latency behind computation.
- Applied standard KNC optimization techniques including prefetching, threading, and vectorization to the computational kernels.
- Measured performance across varying local lattice sizes and parallel decompositions to assess weak scaling.
Experimental results
Research questions
- RQ1Can reverse offloading and SCIF-based communication reduce offloading overheads in MPI-based HPC applications on Xeon Phi (KNC) systems?
- RQ2What performance can be achieved in single-precision Wilson-Clover hopping matrix multiplication on the COMA system using optimized kernels?
- RQ3To what extent can communication-computation overlap be achieved in the BiCGStab solver using task separation and non-blocking communication?
- RQ4How does weak scaling performance vary with increasing lattice size and parallel decomposition on the COMA system?
- RQ5What is the minimum local lattice size required to effectively hide communication latency in the solver?
Key findings
- The optimized single-precision BiCGStab solver achieved ~200 GFlops sustained on a single KNC card for lattice sizes larger than $24^3 \times 32$.
- At a local lattice size of $24^3 \times 96$, the Wilson-Clover hopping matrix multiplication achieved ~190 GFlops sustained performance.
- Communication hiding was effective only for local lattice sizes $N_S \geq 24$, where the gap between filled and open symbols in weak scaling tests diminished.
- Good weak scaling was observed for three-dimensional parallel decompositions, with performance remaining stable across increasing process counts.
- The reverse offloading technique successfully reduced offloading overheads and enabled non-blocking communication via SCIF.
- The performance gain was attributed to effective overlap of communication and computation through task separation in the MULT kernel.
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.