Skip to main content
QUICK REVIEW

[Paper Review] Energy of Computing on Multicore CPUs: Predictive Models and Energy Conservation Law

Arsalan Shahid, Muhammad Fahad|arXiv (Cornell University)|Jul 5, 2019
Parallel Computing and Optimization TechniquesComputer Science30 references5 citations
TL;DR

This paper proposes a theory of energy of computing based on energy conservation principles, introducing a formal model-theoretic framework that identifies additivity of performance monitoring counters (PMCs) as critical for accurate energy prediction. By enforcing energy conservation constraints—such as zero intercept and positive coefficients in linear regression—prediction accuracy improves from 31% to 18%, and using non-additive PMCs can lead to energy optimization losses of up to 67%.

ABSTRACT

Energy is now a first-class design constraint along with performance in all computing settings. Energy predictive modelling based on performance monitoring counts (PMCs) is the leading method used for prediction of energy consumption during an application execution. We use a model-theoretic approach to formulate the assumed properties of existing models in a mathematical form. We extend the formalism by adding properties, heretofore unconsidered, that account for a limited form of energy conservation law. The extended formalism defines our theory of energy of computing. By applying the basic practical implications of the theory, we improve the prediction accuracy of state-of-the-art energy models from 31% to 18%. We also demonstrate that use of state-of-the-art measurement tools for energy optimisation may lead to significant losses of energy (ranging from 56% to 65% for applications used in experiments) since they do not take into account the energy conservation properties.

Motivation & Objective

  • To formalize the assumptions behind existing PMC-based energy predictive models using a model-theoretic approach.
  • To identify and incorporate unconsidered energy conservation properties into energy modeling, particularly additivity of PMCs.
  • To improve prediction accuracy of state-of-the-art energy models by enforcing physical consistency with energy conservation.
  • To demonstrate that current tools like Intel RAPL may cause significant energy loss (56–65%) due to ignoring energy conservation principles.
  • To guide the selection of PMCs for energy modeling by prioritizing those that are additive and physically meaningful.

Proposed method

  • Formalize existing energy models using a model-theoretic framework to express assumed properties mathematically.
  • Introduce new formal properties based on the universal energy conservation law, particularly the additivity of PMCs.
  • Define a theory of energy of computing that includes constraints: zero intercept and positive coefficients in linear regression models.
  • Apply an additivity test to evaluate PMCs using a 5% tolerance threshold on compound applications.
  • Construct seven linear regression models with varying PMCs, enforcing energy conservation constraints.
  • Compare model accuracy against system-level physical measurements from HCLWattsUp, using strict experimental methodology on an Intel multicore CPU.

Experimental results

Research questions

  • RQ1How do energy conservation principles, particularly additivity of PMCs, affect the accuracy of energy predictive models?
  • RQ2To what extent do non-additive PMCs degrade the prediction accuracy of energy models?
  • RQ3Can enforcing energy conservation constraints (zero intercept, positive coefficients) improve model accuracy?
  • RQ4What is the impact of using inaccurate measurement tools like Intel RAPL on energy optimization outcomes?
  • RQ5How does the number of cores affect PMC additivity and energy model reliability?

Key findings

  • The prediction accuracy of state-of-the-art energy models improved from 31% to 18% by enforcing energy conservation constraints.
  • All six PMCs tested failed the additivity test at a 5% tolerance, with some showing non-additivity errors as high as 3075%.
  • ModelE, using only the two most additive PMCs, achieved the best average prediction accuracy, outperforming models with more non-additive PMCs.
  • ModelF, despite using the single most additive PMC, performed poorly due to poor linear fit, highlighting the danger of relying solely on correlation without physical consistency.
  • Intel RAPL’s prediction accuracy was equivalent to the baseline model (ModelA), but its use in optimization led to energy losses of up to 67%.
  • Energy optimization using non-conservative tools like RAPL can result in significant energy waste due to failure to respect energy conservation principles.

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.