TY - GEN
T1 - Learning based Memory Interference Prediction for Co-running Applications on Multi-Cores
AU - Saeed, Ahsan
AU - Mueller-Gritschneder, Daniel
AU - Rehm, Falk
AU - Hamann, Arne
AU - Ziegenbein, Dirk
AU - Schlichtmann, Ulf
AU - Gerstlauer, Andreas
N1 - Publisher Copyright:
© 2021 IEEE.
PY - 2021/8/30
Y1 - 2021/8/30
N2 - Early run-time prediction of co-running independent applications prior to application integration becomes challenging in multi-core processors. One of the most notable causes is the interference at the main memory subsystem, which results in significant degradation in application performance and response time in comparison to standalone execution. Currently available techniques for run-time prediction like traditional cycle-accurate simulations are slow, and analytical models are not accurate and time-consuming to build. By contrast, existing machine-learning-based approaches for run-time prediction simply do not account for interference. In this paper, we use a machine learning-based approach to train a model to correlate performance data (instructions and hardware performance counters) for a set of benchmark applications between the standalone and interference scenarios. After that, the trained model is used to predict the run-time of co-running applications in interference scenarios. In general, there is no straightforward one-to-one correspondence between samples obtained from the standalone and interference scenarios due to the different run-times, i.e. execution speeds. To address this, we developed a simple yet effective sample alignment algorithm, which is a key component in transforming interference prediction into a machine learning problem. In addition, we systematically identify the subset of features that have the highest positive impact on the model performance. Our approach is demonstrated to be effective and shows an average run-time prediction error, which is as low as 0.3% and 0.1% for two co-running applications.
AB - Early run-time prediction of co-running independent applications prior to application integration becomes challenging in multi-core processors. One of the most notable causes is the interference at the main memory subsystem, which results in significant degradation in application performance and response time in comparison to standalone execution. Currently available techniques for run-time prediction like traditional cycle-accurate simulations are slow, and analytical models are not accurate and time-consuming to build. By contrast, existing machine-learning-based approaches for run-time prediction simply do not account for interference. In this paper, we use a machine learning-based approach to train a model to correlate performance data (instructions and hardware performance counters) for a set of benchmark applications between the standalone and interference scenarios. After that, the trained model is used to predict the run-time of co-running applications in interference scenarios. In general, there is no straightforward one-to-one correspondence between samples obtained from the standalone and interference scenarios due to the different run-times, i.e. execution speeds. To address this, we developed a simple yet effective sample alignment algorithm, which is a key component in transforming interference prediction into a machine learning problem. In addition, we systematically identify the subset of features that have the highest positive impact on the model performance. Our approach is demonstrated to be effective and shows an average run-time prediction error, which is as low as 0.3% and 0.1% for two co-running applications.
KW - co-running
KW - interference
KW - machine learning
KW - memory interference
KW - microprocessor
KW - prediction
KW - run-time
KW - sample alignment
UR - http://www.scopus.com/inward/record.url?scp=85115720718&partnerID=8YFLogxK
U2 - 10.1109/MLCAD52597.2021.9531245
DO - 10.1109/MLCAD52597.2021.9531245
M3 - Conference contribution
AN - SCOPUS:85115720718
T3 - 2021 ACM/IEEE 3rd Workshop on Machine Learning for CAD, MLCAD 2021
BT - 2021 ACM/IEEE 3rd Workshop on Machine Learning for CAD, MLCAD 2021
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 3rd ACM/IEEE Workshop on Machine Learning for CAD, MLCAD 2021
Y2 - 30 August 2021 through 3 September 2021
ER -