Measurement-based experiments are a common solution for assessing the energy consumption of complex software systems. Since energy consumption is a metric that is sensitive to several factors, data collection must be repeated to reduce variability. Moreover, additional rounds of measurements are required to evaluate the energy consumption of the system under different experimental conditions. Hence, accurate measurements are often unaffordable because they are time-consuming. In this study, we propose a model-based approach to simplify the energy profiling process and reduce the time spent performing it. The approach uses Layered Queuing Networks (LQN) to model the scenario under test and examine the system behavior when subject to different workloads. The model produces performance estimates that are used to derive energy consumption values in other scenarios. We have considered two systems while serving workloads of different sizes. We provided 2K, 4K, and 8K images to a Digital Camera system, and we supplied bursts of 75 to 500 customers for a Train Ticket Booking System. We parameterized the LQN with the data obtained from short experiment and estimated the performance and energy in the cases of heavier workloads. Thereafter, we compared the estimates with the measured data. We achieved, in both cases, good accuracy and saved measurement time. In case of the Train Ticket Booking System, we reduced measurement time from 5 h to 35 min by exploiting our model, this reflected in a Mean Absolute Percentage Error of 9.24% in the estimates of CPU utilization and 8.72% in energy consumption predictions.

An Approach Using Performance Models for Supporting Energy Analysis of Software Systems

Stoico V.;Cortellessa V.;Malavolta I.;Di Pompeo D.;Pomante L.;
2023-01-01

Abstract

Measurement-based experiments are a common solution for assessing the energy consumption of complex software systems. Since energy consumption is a metric that is sensitive to several factors, data collection must be repeated to reduce variability. Moreover, additional rounds of measurements are required to evaluate the energy consumption of the system under different experimental conditions. Hence, accurate measurements are often unaffordable because they are time-consuming. In this study, we propose a model-based approach to simplify the energy profiling process and reduce the time spent performing it. The approach uses Layered Queuing Networks (LQN) to model the scenario under test and examine the system behavior when subject to different workloads. The model produces performance estimates that are used to derive energy consumption values in other scenarios. We have considered two systems while serving workloads of different sizes. We provided 2K, 4K, and 8K images to a Digital Camera system, and we supplied bursts of 75 to 500 customers for a Train Ticket Booking System. We parameterized the LQN with the data obtained from short experiment and estimated the performance and energy in the cases of heavier workloads. Thereafter, we compared the estimates with the measured data. We achieved, in both cases, good accuracy and saved measurement time. In case of the Train Ticket Booking System, we reduced measurement time from 5 h to 35 min by exploiting our model, this reflected in a Mean Absolute Percentage Error of 9.24% in the estimates of CPU utilization and 8.72% in energy consumption predictions.
2023
978-3-031-43184-5
978-3-031-43185-2
File in questo prodotto:
Non ci sono file associati a questo prodotto.
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11697/221771
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact