Automated Instruction Stream Throughput Prediction for Intel and AMD Microarchitectures

Jan Laukemann, Julian Hammer, Johannes Hofmann, Georg Hager, Gerhard Wellein
9/4/2018
62 citations
cs.PFcs.SE

Official code: RRZE-HPC/OSACA (385 stars, Jupyter Notebook, AGPL-3.0, last commit 2026-10-13). 1 more implementation below.

Abstract

An accurate prediction of scheduling and execution of instruction streams is a necessary prerequisite for predicting the in-core performance behavior of throughput-bound loop kernels on out-of-order processor architectures. Such predictions are an indispensable component of analytical performance models, such as the Roofline and the Execution-Cache-Memory (ECM) model, and allow a deep understanding of the performance-relevant interactions between hardware architecture and loop code.

Show full abstract

We present the Open Source Architecture Code Analyzer (OSACA), a static analysis tool for predicting the execution time of sequential loops comprising x86 instructions under the assumption of an infinite first-level cache and perfect out-of-order scheduling. We show the process of building a machine model from available documentation and semi-automatic benchmarking, and carry it out for the latest Intel Skylake and AMD Zen micro-architectures. To validate the constructed models, we apply them to several assembly kernels and compare runtime predictions with actual measurements. Finally we give an outlook on how the method may be generalized to new architectures.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
RRZE-HPC/OSACAOfficial385Jupyter NotebookAGPL-3.02026-10-13
RRZE-HPC/pmbs2018-paper-artifactOfficial2Assembly–2018-10-21
RRZE-HPC/OSACAOfficial100%
AGPL-3.0

Open Source Architecture Code Analyzer

38530Jupyter Notebook, PythonMar 2, 20171 months agoAGPL-3.0
aarch64arm64v8assemblyavxavx2+15 more

Artifact Repository for PMBS 2018 Paper "Automated Instruction Stream Throughput Prediction for Intel and AMD Microarchitectures"

21Assembly, ShellAug 22, 20188 years ago

Similar Papers

Cite this paper

@article{laukemann2018automated,
  title  = {Automated Instruction Stream Throughput Prediction for Intel and AMD Microarchitectures},
  author = {Jan Laukemann and Julian Hammer and Johannes Hofmann and Georg Hager and Gerhard Wellein},
  year   = {2018},
  eprint = {1809.00912},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.00912}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.00912.svg)](https://codeofpaper.com/paper/1809.00912)

Discussion