NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Data-Driven Approach to Lightweight DVFS-Aware Counter-Based Power Modeling for Heterogeneous Platforms

Sergio Mazzola, Thomas Benz, Björn Forsberg, Luca Benini · DOI

Abstract

Modern heterogeneous architectures utilize Dynamic Voltage and Frequency Scaling (DVFS) to manage power consumption in the "post-Dennard scaling" era. However, real-time power management requires fast and accurate power estimation. This paper presents an automated, data-driven framework that creates lightweight power models using internal performance counters. By employing a lookup-table (LUT) approach with linear models for specific frequencies, the framework achieves a 1.3% average energy estimation error with sub-microsecond execution times, outperforming existing black-box and expert-driven methods.

Introduction

As transistor scaling reaches its physical limits, the "dark silicon" problem has necessitated the use of heterogeneous architectures—mixing different processor types like CPUs and GPUs—and aggressive DVFS strategies. To implement effective Dynamic Power Management (DPM), systems require fine-grained, real-time power consumption data. Physical sensors are often too slow or expensive for this purpose, while traditional software models are either computationally expensive (deep learning) or difficult to scale (expert-driven bottom-up models).

This research introduces a "top-down," architecture-agnostic approach that automates the creation of power models. Unlike previous works that focus on specific components or lack automation, this framework provides a decomposable, lightweight solution suitable for diverse hardware platforms.

Comparison of the proposed framework against existing state-of-the-art power modeling techniques.

Methodology

The proposed framework automates the modeling process through a multi-stage pipeline designed for efficiency and physical accuracy.

Automated Counter Selection and Grouping

Instead of manual selection, the framework uses a statistical pipeline to profile all available Performance Monitoring Counters (PMCs). It utilizes Pearson Correlation Coefficients (PCC) to identify the most robust predictors of power consumption. To address hardware limitations on simultaneous counter tracking, an iterative algorithm finds the optimal subset of counters that can be measured in a single pass via vendor APIs.

LUT-Linear Hybrid Modeling

To handle the non-linear relationship between power and frequency without complex math, the authors utilize a Lookup Table (LUT) of linear models. For every supported frequency, a simple linear model is trained. This allows the system to switch models instantly as clock speeds change. Physical consistency is maintained using Non-Negative Least Squares (NNLS) regression, ensuring that increased activity always correlates with non-negative power consumption.

Overview of the automated power modeling framework, showing the stages from counter selection to the final combined model.

Experimental Setup

The framework was validated on an NVIDIA Jetson AGX Xavier platform. Training data was gathered using the Rodinia 3.1 benchmark suite (OpenMP for CPU, CUDA for GPU) and custom synthetic benchmarks designed to stress specific sub-units. Power measurements were collected via on-board INA3221 monitors, while activity was traced using the ARMv8 PMU and NVIDIA CUPTI.

Key Results

The framework demonstrates significant improvements over existing methodologies in several key areas:

  • Accuracy: The system-level model achieved a remarkable average energy estimation error of 1.3%, with a worst-case error of 3.1%. While the power MAPE is 7.5%, the energy accuracy is superior to many existing models.
  • Efficiency: Estimation takes between 150 ns and 500 ns, making it orders of magnitude faster than the millisecond-scale decision windows of OS power managers.
  • Robustness: The model maintains high accuracy across 29 CPU and 14 GPU frequency levels, proving its effectiveness in DVFS-heavy environments.
  • Responsiveness: By utilizing PMCs that update every clock cycle, the model can detect activity spikes faster than physical analog sensors, which are limited by electrical inertia.

Conclusion

This work proves that simple linear math, when segmented by frequency and automated through a data-driven pipeline, can outperform complex neural networks for power modeling. The decomposable nature of the model—treating CPU and GPU independently—avoids combinatorial complexity while maintaining high precision. Future work will focus on refining the model for extreme frequency imbalances and integrating the framework directly into Linux kernel governors for real-world energy savings.

Summary updated

BibTeX
@inproceedings{mazzola2022data,
  author = {Sergio Mazzola and Thomas Benz and Björn Forsberg and Luca Benini},
  title = {{A Data-Driven Approach to Lightweight DVFS-Aware Counter-Based Power Modeling for Heterogeneous Platforms}},
  booktitle = {SAMOS},
  year = {2022},
  url = {https://openreview.net/forum?id=CNA5-708xj},
}
Figure