Skip to main content
QUICK REVIEW

[Paper Review] Evaluation of the RIKEN Post-K Processor Simulator

Yuetsu Kodama, Tetsuya Odajima|arXiv (Cornell University)|Apr 13, 2019
Parallel Computing and Optimization TechniquesComputer Science2 references10 citations
TL;DR

This paper presents the RIKEN Post-K processor simulator, built on gem5 to enable early application development for the A64FX-based Post-K supercomputer. By extending gem5 with cycle-accurate out-of-order execution modeling and detailed parameter tuning for the A64FX's unique architecture—including SVE support, multi-core CMG configuration, and memory hierarchy—the simulator achieves 90% accuracy in execution cycle estimation compared to real test chips, enabling reliable application tuning before hardware availability.

ABSTRACT

For the purpose of developing applications for Post-K at an early stage, RIKEN has developed a post-K processor simulator. This simulator is based on the general-purpose processor simulator gem5. It does not simulate the actual hardware of a post-K processor. However, we believe that sufficient simulation accuracy can be obtained since it simulates the instruction pipeline of out-of-order execution with cycle-level accuracy along with performing detailed parameter tuning of out-of-order resources and function expansion of cache/memory hierarchy. In this simulator, we aim to estimate the execution cycles of one node application on a post-K processor with accuracy that enables relative evaluation and application tuning. In this paper, we show the details of the implementation of this simulator and verify its accuracy compared with that of a post-K test chip.

Motivation & Objective

  • Enable early application development for the Post-K supercomputer before physical hardware is available.
  • Provide accurate cycle-level performance estimation for single-node applications on the A64FX processor.
  • Overcome limitations of generic simulators by extending gem5 with A64FX-specific features such as SVE, multi-core CMG organization, and enhanced memory hierarchy modeling.
  • Achieve simulation accuracy sufficient for relative performance evaluation and application tuning.
  • Support wider adoption of the simulator through RIST, expanding access beyond initial project users.

Proposed method

  • Extended gem5's O3 CPU model to natively support the Armv8.2-A SVE (Scalable Vector Extension) instruction set, initially implementing a custom O3 model before migrating to the Arm Research-provided SVE O3 model.
  • Configured the simulator with detailed A64FX processor parameters, including 13-core CMGs, 8 MiB L2 cache per CMG, HBM2 memory (8 GiB per CMG), and 6.8 GB/s network links.
  • Implemented a multi-threaded simulation environment with 12 threads per CMG, modeling the A64FX's four reservation stations (memory, arithmetic, branch) and crossbar interconnects.
  • Used the gem5 Classic memory model for L1/L2 caches and memory subsystems, with performance tuned to match A64FX specifications.
  • Conducted comparative evaluation using 28 kernel benchmarks and Stream Triad workloads to validate simulation accuracy against real A64FX test chip measurements.
  • Identified and prioritized missing features such as L2 hardware prefetching and fairness mechanisms for thread scheduling, with ongoing implementation.

Experimental results

Research questions

  • RQ1Can a gem5-based simulator achieve sufficient accuracy to support relative performance evaluation and application tuning for the Post-K A64FX processor?
  • RQ2How does the simulator's execution cycle estimation compare to actual measurements on an A64FX test chip across diverse workloads?
  • RQ3What are the key architectural modeling challenges in simulating the A64FX's unique out-of-order pipeline and memory hierarchy?
  • RQ4To what extent do missing features like L2 hardware prefetching affect simulation accuracy, especially under multi-threaded workloads?
  • RQ5Can the simulator support scalable performance evaluation across varying thread counts, and how does it compare to real hardware?

Key findings

  • For 23 out of 28 kernel programs (82%), the simulation's execution cycle estimation differed from the A64FX test chip by 10% or less, demonstrating high accuracy for relative performance evaluation.
  • In multi-threaded Stream Triad benchmarks, the simulator achieved scalable memory throughput up to 12 threads, matching the expected behavior of the A64FX.
  • The execution time difference between simulator and test chip exceeded 60% when the number of threads was low (e.g., 1–2 threads) for L2-sized data, primarily due to the absence of L2 hardware prefetching.
  • The simulator's crossbar interconnect model limits performance scaling under high thread counts, as it cannot support simultaneous transfers to multiple destinations from a single source, unlike the A64FX.
  • The memory throughput observed in the simulator (640 GB/s for a single CMG) was lower than the theoretical peak (830 GB/s), reflecting application-level bandwidth rather than raw memory capacity.
  • Ongoing work to implement L2 hardware prefetching and fairness mechanisms for thread scheduling is expected to significantly reduce execution time discrepancies, especially for low-thread-count workloads.

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.