Accurate Energy and Performance Prediction for Frequency-Scaled GPU Kernels
Faculty of Electrical Engineering and Computer Science, Technische Universität Berlin, Einsteinufer 17-6.0G, 10587 Berlin, Germany
Computation, 8(2), 37, 2020
@article{fan2020accurate,
title={Accurate Energy and Performance Prediction for Frequency-Scaled GPU Kernels},
author={Fan, Kaijie and Cosenza, Biagio and Juurlink, Ben},
journal={Computation},
volume={8},
number={2},
pages={37},
year={2020},
publisher={Multidisciplinary Digital Publishing Institute}
}
Energy optimization is an increasingly important aspect of today’s high-performance computing applications. In particular, dynamic voltage and frequency scaling (DVFS) has become a widely adopted solution to balance performance and energy consumption, and hardware vendors provide management libraries that allow the programmer to change both memory and core frequencies manually to minimize energy consumption while maximizing performance. This article focuses on modeling the energy consumption and speedup of GPU applications while using different frequency configurations. The task is not straightforward, because of the large set of possible and uniformly distributed configurations and because of the multi-objective nature of the problem, which minimizes energy consumption and maximizes performance. This article proposes a machine learning-based method to predict the best core and memory frequency configurations on GPUs for an input OpenCL kernel. The method is based on two models for speedup and normalized energy predictions over the default frequency configuration. Those are later combined into a multi-objective approach that predicts a Pareto-set of frequency configurations. Results show that our approach is very accurate at predicting extema and the Pareto set, and finds frequency configurations that dominate the default configuration in either energy or performance.
May 10, 2020 by hgpu