Skip to main content
QUICK REVIEW

[Paper Review] The Energy/Frequency Convexity Rule: Modeling and Experimental Validation on Mobile Devices

Karel De Vogeleer, Gérard Memmi|arXiv (Cornell University)|Jan 19, 2014
Green IT and SustainabilityEngineering12 references6 citations
TL;DR

This paper proposes the Energy/Frequency Convexity Rule, demonstrating through experimental measurements and an analytical model that CPU energy consumption per computation unit on mobile devices exhibits a convex curve with a distinct minimum between 0.2 GHz and 1.6 GHz. The model, validated on a Samsung Galaxy SII using a high-resolution power gauge, shows that energy efficiency peaks at a non-extremal frequency due to the quadratic dependence of dynamic power on voltage and frequency, offering a foundation for runtime energy optimization in mobile systems.

ABSTRACT

This paper provides both theoretical and experimental evidence for the existence of an Energy/Frequency Convexity Rule, which relates energy consumption and CPU frequency on mobile devices. We monitored a typical smartphone running a specific computing-intensive kernel of multiple nested loops written in C using a high-resolution power gauge. Data gathered during a week-long acquisition campaign suggest that energy consumed per input element is strongly correlated with CPU frequency, and, more interestingly, the curve exhibits a clear minimum over a 0.2 GHz to 1.6 GHz window. We provide and motivate an analytical model for this behavior, which fits well with the data. Our work should be of clear interest to researchers focusing on energy usage and minimization for mobile devices, and provide new insights for optimization opportunities.

Motivation & Objective

  • To establish empirical and theoretical evidence for a convex relationship between CPU energy consumption and operating frequency on mobile devices.
  • To model the energy consumption of compute-intensive workloads on smartphones under Dynamic Voltage and Frequency Scaling (DVFS).
  • To identify the existence of an optimal frequency that minimizes energy usage per computation unit, distinct from maximum or minimum frequency.
  • To provide a parametric analytical model that fits experimental data with over 6% accuracy and accounts for hardware-specific and temperature-dependent factors.
  • To enable future optimization of mobile application energy efficiency through runtime frequency selection based on the identified convexity rule.

Proposed method

  • Measured energy consumption on a Samsung Galaxy SII smartphone using a high-resolution power gauge during execution of Gold-Rader’s bit-reverse algorithm across multiple CPU frequencies.
  • Developed an analytical energy model based on dynamic power $ P_{\text{dynamic}} = \eta \alpha C f V^2 $, incorporating leakage power and voltage-frequency scaling.
  • Fitted the model to experimental data using five key parameters: $ \beta $, $ cc_k $, $ m_1 $, $ \gamma $, and temperature-dependent $ \gamma $.
  • Derived the optimal frequency $ f_{\text{opt}} $ by setting the first derivative of energy with respect to frequency to zero and confirming a positive second derivative for convexity.
  • Validated the model’s accuracy by comparing predicted energy consumption with measured values across input sizes from $ 2^6 $ to $ 2^{16} $.
  • Used linear voltage-frequency approximation $ V = m_1 f + m_2 $ to link voltage and frequency in the Linux kernel DVFS framework.

Experimental results

Research questions

  • RQ1Does energy consumption per computation unit exhibit a convex relationship with CPU frequency on mobile devices?
  • RQ2What is the optimal CPU frequency that minimizes energy usage for a given compute-intensive workload?
  • RQ3How do hardware parameters such as $ \beta $, $ cc_k $, $ m_1 $, and $ \gamma $ influence the location of the energy minimum?
  • RQ4To what extent does temperature affect the optimal frequency and minimum energy consumption?
  • RQ5Can an analytical model accurately predict energy consumption across a range of frequencies and input sizes?

Key findings

  • Energy consumption per input element exhibits a clear convex curve with a minimum in the 0.2 GHz to 1.6 GHz frequency range on the tested smartphone.
  • The optimal frequency $ f_{\text{opt}} $ for minimum energy consumption is approximately 700 MHz, not at the maximum or minimum frequency.
  • The analytical model fits the experimental data with an average accuracy exceeding 6%.
  • The model’s convexity is confirmed by a positive second derivative and a single global minimum, validating the Energy/Frequency Convexity Rule.
  • The optimal frequency $ f_{\text{opt}} $ increases with decreasing $ \beta $ or $ cc_k $, and decreases with lower $ m_1 $ or $ \gamma $.
  • Temperature increases lead to higher $ \gamma $, which in turn increases both $ f_{\text{opt}} $ and $ E_{\text{CPU,min}} $, indicating temperature dependence of the optimal operating point.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.