Static and Dynamic Frequency Scaling on Multicore CPUs

Author:

Bao Wenlei1,Hong Changwan1,Chunduri Sudheer2,Krishnamoorthy Sriram3,Pouchet Louis-Noël4,Rastello Fabrice5,Sadayappan P.1

Affiliation:

1. The Ohio State University, Columbus, Ohio

2. IBM Research India, S. Cass Avenue Lemont, IL

3. Pacific Northwest National Laboratory, Richland, WA

4. Colorado State University, Fort Collins, CO

5. University Grenoble Alpes, Grenoble France

Abstract

Dynamic Voltage and Frequency Scaling (DVFS) typically adapts CPU power consumption by modifying a processor’s operating frequency (and the associated voltage). Typical DVFS approaches include using default strategies such as running at the lowest or the highest frequency or reacting to the CPU’s runtime load to reduce or increase frequency based on the CPU usage. In this article, we argue that a compile-time approach to CPU frequency selection is achievable for affine program regions and can significantly outperform runtime-based approaches. We first propose a lightweight runtime approach that can exploit the properties of the power profile specific to a processor, outperforming classical Linux governors such as powersave or on-demand for computational kernels. We then demonstrate that, for affine kernels in the application, a purely compile-time approach to CPU frequency and core count selection is achievable, providing significant additional benefits over the runtime approach. Our framework relies on a one-time profiling of the target CPU, along with a compile-time categorization of loop-based code segments in the application. These are combined to determine at compile-time the frequency and the number of cores to use to execute each affine region to optimize energy or energy-delay product. Extensive evaluation on 60 benchmarks and 5 multi-core CPUs show that our approach systematically outperforms the powersave Linux governor while also improving overall performance.

Funder

U.S. Department of Energys (DOE) Office of Science

U.S. National Science Foundation

Office of Advanced Scientific Computing Research

Pacific Northwest National Laboratory

Battelle for DOE

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Cited by 26 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Energy-Aware Tile Size Selection for Affine Programs on GPUs;2024 IEEE/ACM International Symposium on Code Generation and Optimization (CGO);2024-03-02

2. CPU Clock Rate Control Based on Method Invocation in Foreground Application in Android Smartphone;Journal of Information Processing;2024

3. SYnergy: Fine-grained Energy-Efficient Heterogeneous Computing for Scalable Energy Saving;Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis;2023-11-11

4. Going Dark: A Software “Light Switch” for Internet Servers;2023 IEEE 29th International Symposium on Local and Metropolitan Area Networks (LANMAN);2023-07-10

5. Power optimization of a single-core processor using LSTM based encoder–decoder model for online DVFS;Sādhanā;2023-03-25

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3