Skip to main content
QUICK REVIEW

[Paper Review] Multi-block/multi-core SSOR preconditioner for the QCD quark solver for K computer

Taisuke Boku, Ken-Ichi Ishikawa|arXiv (Cornell University)|Oct 28, 2012
Quantum Chromodynamics and Particle InteractionsPhysics and Astronomy1 references11 citations
TL;DR

This paper presents a multi-block/multi-core SSOR preconditioner for the QCD quark solver on the K computer, optimizing the Lüscher’s SAP preconditioned nested BiCGStab solver using single-precision SIMD intrinsics on SPARC64 VIIIfx CPUs. It achieves ideal weak scaling from 16 to 4096 nodes and sustained performance exceeding 50% efficiency for key kernels, with the single-precision BiCGStab solver reaching ~26% efficiency across all tested lattice sizes.

ABSTRACT

We study the algorithmic optimization and performance tuning of the Lattice QCD clover-fermion solver for the K computer. We implement the Lüscher's SAP preconditioner with sub-blocking in which the lattice block in a node is further divided to several sub-blocks to extract enough parallelism for the 8-core CPU SPARC64$^{\mathrm{TM}}$ VIIIfx of the K computer. To achieve a better convergence property we use the symmetric successive over-relaxation (SSOR) iteration with {\it locally-lexicographical} ordering for the sub-blocks in obtaining the block inverse. The SAP preconditioner is included in the single precision BiCGStab solver of the nested BiCGStab solver. The single precision part of the computational kernel are solely written with the SIMD oriented intrinsics to achieve the best performance of the \SPARC on the K computer. We benchmark the single precision BiCGStab solver on the three lattice sizes: $12^3 imes 24$, $24^3 imes 48$ and $48^3 imes 96$, with fixing the local lattice size in a node at $6^3 imes 12$. We observe an ideal weak-scaling performance from 16 nodes to 4096 nodes. The performance of a computational kernel exceeds 50% efficiency, and the single precision BiCGstab has $\sim26% susutained efficiency.

Motivation & Objective

  • To optimize and tune the O(a)-improved Wilson quark solver for the K computer’s multi-core, SIMD-architected SPARC64 VIIIfx CPUs.
  • To improve convergence and parallelism in the SAP preconditioner by applying sub-blocking and symmetric successive over-relaxation (SSOR) with lexicographical ordering.
  • To achieve high performance in single-precision arithmetic for the inner BiCGStab solver using low-level SIMD intrinsic functions.
  • To evaluate weak-scaling behavior and performance efficiency across large lattice sizes (12³×24 to 48³×96) on up to 4096 nodes.

Proposed method

  • Implement Lüscher’s SAP preconditioner with sub-blocking, dividing each node’s local lattice (6³×12) into smaller sub-blocks (3⁴) to enhance multi-core parallelism.
  • Use symmetric successive over-relaxation (SSOR) with locally lexicographical ordering to compute the block inverse in the SAP preconditioner for improved convergence.
  • Write the single-precision computational kernels using SIMD-optimized intrinsics to maximize performance on the SPARC64 VIIIfx architecture.
  • Integrate the SAP preconditioner into a nested BiCGStab solver, using single-precision arithmetic for the inner solver while preserving double-precision accuracy in the final solution.
  • Fix the local lattice size per node at 6³×12 and benchmark three lattice sizes: 12³×24, 24³×48, and 48³×96.
  • Use the K computer’s Tofu network and Fujitsu’s compiler profiler to measure performance, SIMD utilization, and weak-scaling efficiency.

Experimental results

Research questions

  • RQ1How can the SSOR preconditioner with sub-blocking improve parallelism and convergence in the QCD quark solver on the K computer’s 8-core SPARC64 VIIIfx CPUs?
  • RQ2What performance gains can be achieved by using SIMD-optimized single-precision kernels in the BiCGStab solver on the K computer?
  • RQ3To what extent does the solver exhibit ideal weak-scaling behavior across 16 to 4096 nodes with fixed local lattice size?
  • RQ4Why is the performance efficiency of the A_EE kernel lower than that of D_EE, and what are the contributing factors?
  • RQ5What is the impact of redundant floating-point operations (e.g., SU(3) reconstruction, FMAD for spin projection) on measured performance, and how should it be corrected?

Key findings

  • The single-precision BiCGStab solver achieves ~26% sustained performance efficiency across all tested lattice sizes, indicating effective use of the K computer’s compute resources.
  • The D_EE kernel reaches over 50% efficiency, with 90% SIMD utilization when using intrinsic functions, demonstrating high hardware utilization.
  • The A_EE kernel achieves only 35% efficiency due to load imbalance among threads and lower computational density in its loop body compared to D_EE.
  • Weak-scaling performance is ideal from 16 to 4096 nodes, with both kernel performance and efficiency remaining stable across the scale.
  • The gap between theoretical peak and observed performance for D_EE is attributed to conditional branches distinguishing bulk and surface sites, suggesting further optimization potential.
  • After excluding redundant operations (e.g., SU(3) reconstruction, FMAD), the effective performance is estimated to be ~80% of measured values, indicating room for further tuning.

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.