Skip to main content
QUICK REVIEW

[Paper Review] Solving the Klein-Gordon equation using Fourier spectral methods: A benchmark test for computer performance

Samar Aseeri, Oleg Batrasev|arXiv (Cornell University)|Jan 19, 2015
Numerical Methods and AlgorithmsComputer Science27 references6 citations
TL;DR

This paper benchmarks the performance of Fourier spectral methods for solving the 3D cubic Klein-Gordon equation using the 2DECOMP&FFT library across 13 diverse supercomputing systems. It demonstrates strong scaling behavior and identifies key performance variations due to interconnect latency and processor architecture, offering a practical, real-world benchmark for HPC systems and numerical methods in PDE solvers.

ABSTRACT

The cubic Klein-Gordon equation is a simple but non-trivial partial differential equation whose numerical solution has the main building blocks required for the solution of many other partial differential equations. In this study, the library 2DECOMP&FFT is used in a Fourier spectral scheme to solve the Klein-Gordon equation and strong scaling of the code is examined on thirteen different machines for a problem size of 512^3. The results are useful in assessing likely performance of other parallel fast Fourier transform based programs for solving partial differential equations. The problem is chosen to be large enough to solve on a workstation, yet also of interest to solve quickly on a supercomputer, in particular for parametric studies. Unlike other high performance computing benchmarks, for this problem size, the time to solution will not be improved by simply building a bigger supercomputer.

Motivation & Objective

  • To evaluate the strong scaling performance of a Fourier spectral method for solving the 3D cubic Klein-Gordon equation on a wide range of high-performance computing systems.
  • To assess how different computer architectures and interconnects impact the performance of FFT-based PDE solvers, particularly for moderate problem sizes like 512³.
  • To establish a practical, real-world benchmark for HPC systems that reflects the computational demands of complex PDE simulations beyond synthetic or synthetic-like workloads.
  • To guide the selection of optimal hardware and software stacks for future simulations of nonlinear PDEs, especially in parametric studies requiring high throughput.
  • To explore the potential of this benchmark as a supplement or update to existing HPC rankings such as the Linpack or NAS Parallel Benchmarks.

Proposed method

  • The cubic Klein-Gordon equation is solved using a Fourier spectral spatial discretization with a pseudo-spectral approach on a 512³ Cartesian grid.
  • The 2DECOMP&FFT library is employed for parallel FFTs, relying on MPI_Alltoallv or MPI_Alltoall for inter-processor communication in a 2D block-cyclic decomposition.
  • Strong scaling experiments are conducted across 13 heterogeneous HPC systems, including leadership-class supercomputers and workstations, to measure time-to-solution and efficiency.
  • Performance is analyzed in terms of floating-point operations per second, communication bandwidth, and interconnect latency, with results compared across different processor types and network topologies.
  • The study focuses on a problem size large enough for supercomputers but small enough to allow local post-processing on workstations, enabling parametric studies.
  • The benchmark is designed to reflect real-world PDE simulation workloads, including time-stepping, nonlinear term evaluation, and FFT-based spectral transforms.

Experimental results

Research questions

  • RQ1How does the strong scaling performance of a Fourier spectral method for the 3D Klein-Gordon equation vary across diverse HPC architectures with different interconnects and processor types?
  • RQ2To what extent do interconnect latency and memory bandwidth differences affect the performance of FFT-based PDE solvers on modern supercomputers?
  • RQ3Can this benchmark serve as a meaningful alternative or complement to existing HPC benchmarks like Linpack or NAS Parallel Benchmarks for evaluating real-world PDE simulation performance?
  • RQ4How do newer Intel processors compare to older or alternative architectures (e.g., PowerPC, AMD) in terms of performance for FFT-based PDE solvers at a fixed problem size?
  • RQ5What insights can be drawn about the portability and performance portability of FFT-based spectral methods across heterogeneous HPC systems?

Key findings

  • The performance of the Fourier spectral solver varies significantly across systems, even with similar peak floating-point performance, due to differences in interconnect latency and bandwidth.
  • Vedur shows significantly worse performance than Hector despite identical compute chips, indicating that interconnect latency is a major performance bottleneck.
  • Newer Intel processors on systems like Beacon, Hornet, Marenostrum, and Stampede outperform older architectures (PowerPC, AMD, legacy Intel) due to higher floating-point throughput and better memory controllers.
  • The observed performance differences cannot be fully predicted by bandwidth and MPI_Alltoall performance alone, highlighting the importance of microarchitectural characteristics such as FLOP/cycle and memory controller efficiency.
  • The benchmark reveals that simply building a larger supercomputer does not improve time-to-solution for this problem size, indicating a performance plateau beyond which algorithmic and architectural choices dominate.
  • The study provides a practical, real-world benchmark for HPC systems that reflects the computational demands of parametric simulations of nonlinear PDEs, especially those relying on spectral methods and FFTs.

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.