Comparative Benchmarking of the First Generation of HPC-Optimised Arm Processors on Isambard

Simon McIntosh‐Smith, James Price, Tom Deakin, Andrei PoenaruExplore 2018

TL;DR

This paper benchmarks the first generation of HPC-optimized Arm processors (Cavium ThunderX2) on the Isambard supercomputer against mainstream Intel CPUs. The results show Arm's competitive performance, particularly in memory-bandwidth-bound applications, and highlight its compelling price-performance advantage, signaling a significant milestone for Arm in the HPC landscape.

What Problem Does This Paper Address?

The high-performance computing (HPC) world has historically been dominated by x86 processors. However, the rapid development and widespread adoption of Arm processors in mobile devices have spurred efforts to create Arm-based CPUs optimized for HPC workloads. The challenge has been to assess whether these new Arm processors can deliver competitive performance for scientific computing tasks and to understand their strengths and weaknesses compared to established x86 architectures. This paper addresses this by providing a comprehensive benchmark of the first generation of these HPC-optimized Arm CPUs on a real-world supercomputer, Isambard.

Methods

The researchers conducted node-level performance benchmarks using a variety of mini-applications and real-world scientific applications. They compared the Cavium ThunderX2 processors against Intel's Broadwell, Skylake, and Xeon Phi processors. A key aspect of their methodology was evaluating the performance across three different software toolchains for Arm: Cray's CCE, Arm's LLVM-based compiler, and GNU. They focused on single-node, dual-socket performance and analyzed results in terms of raw performance and performance per dollar.

Datasets

The paper utilizes a suite of established mini-applications and real-world scientific applications.

Mini-applications: * STREAM: Measures sustained memory bandwidth. * CloverLeaf: A hydrodynamics mini-app for compressible fluid dynamics. * TeaLeaf: A heat diffusion mini-app. * SNAP: A proxy application for discrete ordinates transport codes. * Neutral: A Monte Carlo neutral particle transport mini-app.

Real Applications: These were selected from the top ten most used codes on the UK's ARCHER supercomputer:

  • CP2K: Ab-initio electronic structure and molecular dynamics.
  • GROMACS: Molecular dynamics package.
  • NAMD: Molecular dynamics simulation program.
  • NEMO: Ocean modelling framework.
  • OpenFOAM: Computational fluid dynamics solver.
  • OpenSBLI: Solver for compressible Navier-Stokes equations.
  • Unified Model: Atmosphere simulation code.
  • VASP: Vienna Ab initio Simulation Package for materials modeling.

No new benchmarks were introduced; instead, the paper leverages existing, widely-used benchmarks to provide a relevant comparison.

Key Insights and Ideas

  • Arm's Memory Bandwidth Prowess: The ThunderX2's eight memory channels per socket provide a significant advantage in memory-bandwidth-bound applications, leading to substantial speedups in benchmarks like STREAM, CloverLeaf, and TeaLeaf.
  • Compute-Bound vs. Memory-Bound: While Arm excels in memory-bound tasks, it shows limitations in compute-bound applications due to narrower vector units compared to x86 processors.
  • Software Toolchain Matters: The choice of compiler significantly impacts Arm performance, with different compilers excelling on different benchmarks. This highlights the ongoing maturation of the Arm software ecosystem.
  • Compelling Price-Performance: When factoring in the cost of the CPUs, the ThunderX2 offers a highly competitive, and often superior, performance-per-dollar ratio compared to its x86 counterparts, especially for the mini-apps.
  • Future Potential with SVE: The upcoming Scalable Vector Extension (SVE) for Arm is anticipated to address current limitations in floating-point throughput and cache bandwidth, paving the way for even greater performance.

Key Results

  • STREAM: ThunderX2 achieved a 1.92x speedup over Broadwell, demonstrating its superior memory bandwidth.
  • CloverLeaf & TeaLeaf: These memory-bandwidth-bound mini-apps showed performance improvements on ThunderX2 consistent with STREAM.
  • CP2K: Despite some floating-point routines being faster on Broadwell, ThunderX2 achieved a ~15% speedup due to its higher core count and memory bandwidth.
  • GROMACS & VASP: These compute-bound applications showed ThunderX2 performing around 20% slower than Broadwell, highlighting the impact of narrower vector units.
  • Performance per Dollar: For mini-apps, ThunderX2 offered a compelling advantage, with its RRP of $1,795 providing a significant uplift compared to more expensive Intel CPUs. For real applications, ThunderX2 also showed a strong price-performance benefit, often achieving 2x or more advantage over cost-conscious Skylake SKUs.

Limitations and Future Work

  • Early Silicon and Toolchains: The benchmarks were run on early-access nodes with beta silicon and relatively new compiler toolchains for Arm. This means performance might improve as hardware and software mature.
  • Single-Node Focus: The study primarily focuses on single-node performance. Future work will involve evaluating at-scale performance on the full Isambard system, including the Cray Aries interconnect.
  • Energy Efficiency Not Addressed: The paper explicitly states that energy efficiency was not evaluated, though preliminary observations suggest it's in the same ballpark as x86 CPUs.
  • Cache Interaction: The exact nature of how algorithms interact with cache hierarchies, particularly for applications like SNAP and Neutral, requires further investigation.
  • Future Work: The authors anticipate that the upcoming Scalable Vector Extension (SVE) will significantly enhance Arm's performance in compute-bound scenarios, and they plan to evaluate SVE-enabled processors in the future. They also aim to evaluate production applications at scale on the full Isambard system.

Summary updated

BibTeX
@inproceedings{mcintoshsmith2018comparative,
  author = {Simon McIntosh‐Smith and James Price and Tom Deakin and Andrei Poenaru},
  title = {{Comparative Benchmarking of the First Generation of HPC-Optimised Arm Processors on Isambard}},
  booktitle = {Explore},
  year = {2018},
}
Figure