• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2025, Vol. 47 ›› Issue (12): 2108-2118.

• High Performance Computing • Previous Articles     Next Articles

A processor power modeling accuracy improvement method based on static and dynamic sample point reconstruction

ZHONG Jiaqing,CHEN Juan,ZHOU Yichang,WU Xianyu,WANG Rui,YU Xiang   

  1. (College of Computer Science and Technology,National University of Defense Technology,Changsha 410073,China)
  • Received:2024-11-30 Revised:2024-12-29 Online:2025-12-25 Published:2026-01-06

Abstract: Establishing a high-precision, fine-grained CPU power consumption model is crucial for power management and optimization in computer systems. Addressing challenges such as the imbalance in the quantity and type distribution of modeling datasets in multi-core processor modeling, this paper proposes a method to enhance processor modeling accuracy based on the reconstruction of static and dynamic program sample points. Program samples are composed of data collected by performance monitor- ing counters (PMCs) during program execution. The static reconstruction algorithm reconstructs program sample points from three dimensions: Feature selection, time granularity refinement, and spatial redundancy reduction. As a complement to the static reconstruction algorithm, the dynamic reconstruction algorithm focuses on the behavior of programs running under various optimization techniques, such as different compilation options or varying resource loads. It selects program samples optimized with appropriate techniques to supplement the program sample points. To evaluate the impact of the static and dynamic sample point reconstruction algorithms on power modeling, this paper assesses five program benchmark suites on x86 and ARM processor platforms. The experimental results show that on two x86 platforms, when the power consumption models employ linear model, neural network model, and random forest model respectively, the average accuracy improvements are 74.80%, 65.70%, and 32.24%, as well as 61.61%, 80.44%, and 18.76%. On the ARM platform, the average accuracy improvements for linear model, neural network model, and random forest model are 22.34%, 34.63%, and 34.36%, respectively. 

Key words: sample point reconstruction, static-dynamic integration, CPU power modeling, training set optimization, high precision