CARTAD: Compiler-Assisted Reinforcement Learning for Thermal-Aware Task Scheduling and DVFS on Multicores

Di Liu, Shi-Gui Yang, Zhenli He, Mingxiong Zhao, Weichen Liu · IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · 2021

As the power density of modern CPUs is gradually increasing, thermal management has become one of the primary concerns for multicore systems, where task scheduling and dynamic voltage/frequency scaling (DVFS) play a pivotal role in effectively managing the system temperature. In this article, we proposeCARTAD, a new reinforcement learning (RL)-based task scheduling and DVFS method for temperature minimization and latency guarantee on multicore systems. The novelty ofCARTADframework is that we exploit the machine learning technique to analyze the applications’ intermediate representations (IRs) generated by a compiler and identify an important feature which is critical for predicting the application’s performance. With the newly explored feature, we construct an RL-based scheduler with the more effective state representation and reward function such that the system temperature can be minimized while guaranteeing applications’ latency. We implement and evaluateCARTADon real platforms in comparison with the state-of-the-art approaches. Experimental results showCARTADcan reduce the maximum temperature by up to 16 °C and the average temperature by up to 10 °C.

Read the paper · More papers on PaperTik