Run-time power estimation for mobile and embedded asymmetric multi-core CPUs

Matthew Walker, Anup Das, Geoff V. Merrett, Bashir M. Al HashimiJournal of Inherited Metabolic Disease 2015

Abstract

Modern mobile devices utilize asymmetric multi-core architectures, such as ARM's big.LITTLE, to balance performance and energy efficiency. Effective Run-Time Management (RTM) requires accurate, real-time power estimation to optimize battery life. This paper evaluates two modeling approaches: one based on Hardware Performance Monitoring Counters (PMCs) and another on CPU utilization. While PMC-based models offer higher precision (3.2% error), utilization-based models provide a more practical, vendor-independent solution with sufficient accuracy (5.6–7.2% error) and the unique ability to predict power consumption for task migration between core types.

Introduction

To maximize battery life, mobile devices employ Run-Time Management (RTM) software to dynamically allocate tasks to specific cores and adjust clock speeds. A critical requirement for intelligent RTM decision-making is the ability to estimate instantaneous CPU power consumption. While desktop and server environments often leverage Hardware Performance Monitoring Counters (PMCs) for this purpose, these registers are frequently inaccessible on mobile platforms due to manufacturer restrictions or implementation hurdles. This research investigates whether simpler metrics, specifically CPU utilization, can serve as a viable proxy for PMCs in complex asymmetric processors like ARM’s big.LITTLE architecture.

Methodology

The study developed and validated two distinct modeling frameworks:

  1. PMC-Based Model: Implemented on a BeagleBoard-xM (ARM Cortex-A8). To ensure ground-truth accuracy, the researchers physically modified the hardware to measure CPU power draw directly. Multiple linear regression was used to correlate power with four key hardware events: data cache access, L1 instruction cache access, NEON (SIMD) operations, and total instructions issued.
  2. Utilization-Based Model: Implemented on an ODROID-XU+E board featuring an Exynos 5 Octa (big.LITTLE). This model utilizes a second-order linear regression based on CPU usage percentages retrieved from the Linux kernel via /proc/stat.
  3. Cross-Platform Prediction: A significant contribution of this work is the "what-if" analysis capability. The utilization model can predict the power consumption of a task if it were migrated between "little" (Cortex-A7) and "big" (Cortex-A15) cores across various frequency levels.

Experimental Setup and Datasets

The models were trained and validated using a diverse set of workloads to ensure robustness:

  • MiBench: A standard embedded benchmark suite covering office, security, and telecommunication tasks.
  • Multimedia: Real-world video playback scenarios.
  • Custom Workloads: Designed to stress specific architectural features, such as the NEON coprocessor, to prevent models from relying solely on general activity.
  • Validation: 40 "unseen" workloads were used to assess the final predictive accuracy of the models.

Results and Analysis

The PMC-based model achieved high precision with an average error of 3.2%. The utilization-based model, while slightly less precise, remained highly effective with errors of 5.6% for the Cortex-A7 and 7.2% for the Cortex-A15. Crucially, both models demonstrated high responsiveness, accurately tracking rapid power spikes and execution phase changes during real-time traces.

Comparison of measured and estimated power across various MiBench and multimedia workloads.

The utilization model also proved reliable for task migration scenarios, predicting power consumption for core-switching with an average error of 10.3%. This provides a vital "look-ahead" mechanism for scheduling algorithms.

Discussion: The big.LITTLE Trade-off

The data highlights the stark contrast between asymmetric cores. A "big" Cortex-A15 core at maximum frequency consumes approximately 28 times more power than a "little" Cortex-A7 at minimum frequency, while offering only a 4-fold increase in performance. This massive gap underscores the importance of precise power modeling for RTMs.

Relative performance, power, and energy vs. frequency, illustrating the significant power gap between LITTLE and big cores.

Furthermore, the research emphasizes the importance of accounting for coprocessors. Excluding NEON SIMD activity from power models can lead to substantial errors in media-heavy applications. While PMCs offer higher resolution, the accessibility of CPU utilization makes it a more deployable solution for consumer-grade smartphones where low-level hardware access is often restricted.

Conclusion and Future Work

While utilization-based models are practical and vendor-independent, they are inherently "blind" to sub-architectural efficiencies, such as cache miss penalties. Future research will focus on integrating these models into live, closed-loop Run-Time Managers to evaluate actual battery savings in real-world mobile environments compared to standard Linux governors.

Summary updated

BibTeX
@article{walker2015run,
  author = {Matthew Walker and Anup Das and Geoff V. Merrett and Bashir M. Al Hashimi},
  title = {{Run-time power estimation for mobile and embedded asymmetric multi-core CPUs}},
  journal = {Journal of Inherited Metabolic Disease},
  year = {2015},
}
Figure