Back to Search Start Over

Automated Instruction Stream Throughput Prediction for Intel and AMD Microarchitectures

Authors :
Laukemann, Jan
Hammer, Julian
Hofmann, Johannes
Hager, Georg
Wellein, Gerhard
Publication Year :
2018

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. 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.<br />Comment: 11 pages, 4 figures, 7 tables

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.1809.00912
Document Type :
Working Paper
Full Text :
https://doi.org/10.1109/PMBS.2018.8641578