OS-Level PMC-Based Runtime Thermal Control for ARM Mobile CPUs
Abstract
In order to improve performance and avoid overheating on mobile devices, precise thermal control with low overhead is crucial. To achieve this, we propose incorporating a performance monitoring counter (PMC)-based power model into thermal control, which enables a more accurate evaluation of the CPU’s power consumption. We demonstrate the plausibility of this approach using polynomial regression based on Moore’s Law. Additionally, we introduce a lightweight PMC sampling method that can collect multiple PMCs at once in the kernel space, reducing sampling overhead. By replacing the utilization-based model in the original the intelligent power allocation (IPA) with a PMC-based power model, we realize the PMC-based IPA governor can be ported to real mobile devices. After updating the thermal control governor in the Linux kernel, we perform tests on our PMC-based IPA using a mobile phone device. We compare it with Stepwise and IPA, which are commonly used in current mobile phone systems. We choose the CPU-intensive workbench, I/O-intensive workbench, and CPU and I/O-intensive hybrid workbench as workloads. The results show that PMC-based IPA effectively reduces energy consumption while improving performance. In particular, during the CPU and I/O-intensive hybrid experiment, where CPU-intensive and I/O-intensive tasks are executed alternately, PMC-based IPA reduces the running time by 10.0% and energy consumption by 16.6% compared to the original IPA. In order to verify the benefits of PMC-based IPA, mobile phone testing software AI Bench and Antutu are utilized. The results show that our scheme is able to control temperature more precisely than IPA and achieves a better score while consuming less energy, particularly during AI computing. These experiment results suggest that PMC-based IPA is valuable for practical use.
BibTeX
@article{che2024os,
author = {Nan Che and Weihua Chen and Puning Zhao and Fei Yu and Zhijun Li and Xing Gao and Yuandi Li and Xiaogang Cui and Jie Cheng},
title = {{OS-Level PMC-Based Runtime Thermal Control for ARM Mobile CPUs}},
journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
year = {2024},
url = {https://openreview.net/forum?id=JmiyQO0QpZ},
}Ask Althea to put this paper to the test.
Loading related content...