A Simple Model for Portable and Fast Prediction of Execution Time and Power Consumption of GPU Kernels

被引:25
|
作者
Braun, Lorenz [1 ]
Nikas, Sotirios [2 ]
Song, Chen [2 ]
Heuveline, Vincent [2 ]
Froening, Holger [1 ]
机构
[1] Heidelberg Univ, Inst Comp Engn, Heidelberg, Germany
[2] Heidelberg Univ, Engn Math & Comp Lab, Heidelberg, Germany
关键词
Execution time prediction; power prediction; portable performance prediction; GPGPU; GPU computing; profiling; random forest; cross-validation; PERFORMANCE;
D O I
10.1145/3431731
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Characterizing compute kernel execution behavior on GPUs for efficient task scheduling is a non-trivial task. We address this with a simple model enabling portable and fast predictions among different GPUs using only hardware-independent features. This model is built based on random forests using 189 individual compute kernels from benchmarks such as Parboil, Rodinia, Polybench-GPU, and SHOC. Evaluation of the model performance using cross-validation yields a median Mean Average Percentage Error (MAPE) of 8.86-52.0% for time and 1.84-2.94% for power prediction across five different GPUs, while latency for a single prediction varies between 15 and 108 ms.
引用
收藏
页数:25
相关论文
共 50 条
  • [1] Neural Network Methods for Fast and Portable Prediction of CPU Power Consumption
    Gutierrez, Mario
    Rahman, Saami
    Tamir, Dan
    Qasem, Apan
    2015 SIXTH INTERNATIONAL GREEN COMPUTING CONFERENCE AND SUSTAINABLE COMPUTING CONFERENCE (IGSC), 2015,
  • [2] Path Forward Beyond Simulators: Fast and Accurate GPU Execution Time Prediction for DNNWorkloads
    Li, Ying
    Sun, Yifan
    Jog, Adwait
    56TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2023, 2023, : 380 - 394
  • [3] Evaluating execution time predictions on GPU kernels using an analytical model and machine learning techniques
    Amaris, Marcos
    Camargo, Raphael
    Cordeiro, Daniel
    Goldman, Alfredo
    Trystram, Denis
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2023, 171 : 66 - 78
  • [4] A Simple BSP-based Model to Predict Execution Time in GPU Applications
    Amaris, Marcos
    Cordeiro, Daniel
    Goldman, Alfredo
    de Camargo, Raphael Y.
    2015 IEEE 22ND INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING (HIPC), 2015, : 285 - 294
  • [5] A Versatile Software Systolic Execution Model for GPU Memory-Bound Kernels
    Chen, Peng
    Wahib, Mohamed
    Takizawa, Shinichiro
    Takano, Ryousei
    Matsuoka, Satoshi
    PROCEEDINGS OF SC19: THE INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS, 2019,
  • [6] Simple and fast dynamic model for the prediction of PV self-consumption
    Ochs, Fabian
    Dermentzis, Georgios
    BAUPHYSIK, 2022, 44 (06) : 323 - 328
  • [7] A Performance Prediction Model for Memory-intensive GPU Kernels
    Hu, Zhidan
    Liu, Guangming
    Hu, Zhidan
    2014 IEEE SYMPOSIUM ON COMPUTER APPLICATIONS AND COMMUNICATIONS (SCAC), 2014, : 14 - 18
  • [8] Investigating the effect of varying block size on power and energy consumption of GPU kernels
    Ikram, Muhammad Jawad
    Saleh, Mostafa Elsayed
    Al-Hashimi, Muhammad Abdulhamid
    Abulnaja, Osama Ahmed
    JOURNAL OF SUPERCOMPUTING, 2022, 78 (13): : 14919 - 14939
  • [9] Investigating the effect of varying block size on power and energy consumption of GPU kernels
    Muhammad Jawad Ikram
    Mostafa Elsayed Saleh
    Muhammad Abdulhamid Al-Hashimi
    Osama Ahmed Abulnaja
    The Journal of Supercomputing, 2022, 78 : 14919 - 14939
  • [10] A portable model for predicting the size and execution time of programs
    Axelsson, J
    JOURNAL OF SYSTEMS ARCHITECTURE, 1997, 43 (1-5) : 211 - 213