Skip to main content

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

  • Conference paper
  • First Online:
Computer Performance Engineering and Stochastic Modelling (EPEW 2023, ASMTA 2023)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 74.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://doi.org/10.5281/zenodo.7877782.

  2. 2.

    For our measurements, we used release 0.0.4: https://github.com/FudanSELab/train-ticket/tree/release-0.0.4.

References

  1. Ajmone Marsan, M., Meo, M.: Queueing systems to study the energy consumption of a campus WLAN. Comput. Netw. 66, 82–93 (2014). https://doi.org/10.1016/j.comnet.2014.03.012

  2. Apache Software Foundation: Apache JMeter. https://jmeter.apache.org, Accessed 02 Apr 2023

  3. Balde, F., Elbiaze, H., Gueye, B.: GreenPOD: leveraging queuing networks for reducing energy consumption in data centers. In: 2018 21st Conference on Innovation in Clouds, Internet and Networks and Workshops (ICIN). pp. 1–8 (2018). https://doi.org/10.1109/ICIN.2018.8401602

  4. BeagleBoard.org Foundation: The BeagleBone Black Development Platform. https://beagleboard.org/black, Accessed: 11 Nov 2022

  5. Belkhir, L., Elmeligi, A.: Assessing ICT global emissions footprint: trends to 2040 & recommendations. J. Cleaner Prod. 177, 448–463 (2018)

    Article  Google Scholar 

  6. Brambilla, M., Cabot, J., Wimmer, M.: Model-Driven Software Engineering in Practice, 2nd edn. Springer International Publishing, Synthesis Lectures on Software Engineering (2017)

    Book  Google Scholar 

  7. Carleton University Software Performance Research Group: layered queuing network solver. https://github.com/layeredqueuing, Accessed 23 Mar 2023

  8. Cerotti, D., Gribaudo, M., Piazzolla, P., Pinciroli, R., Serazzi, G.: Multi-class queuing networks models for energy optimization. In: Proceedings of the 8th International Conference on Performance Evaluation Methodologies and Tools. p. 98–105. VALUETOOLS ’14, ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering), Brussels, BEL (2014). https://doi.org/10.4108/icst.Valuetools.2014.258214

  9. Cruz, L., Abreu, R.: Performance-based guidelines for energy efficient mobile applications. In: 2017 IEEE/ACM 4th International Conference on Mobile Software Engineering and Systems (MOBILESoft). pp. 46–57 (2017). https://doi.org/10.1109/MOBILESoft.2017.19

  10. Eder, K., et al.: ENTRA: whole-systems energy transparency. Microprocessors Microsyst. 47, 278–286 (Nov2016)

    Google Scholar 

  11. Ekren, B.Y., Akpunar, A.: An open queuing network-based tool for performance estimations in a shuttle-based storage and retrieval system. Appl. Math. Model. 89, 1678–1695 (2021). https://doi.org/10.1016/j.apm.2020.07.055

    Article  MathSciNet  MATH  Google Scholar 

  12. Esmaeilzadeh, H., Cao, T., Yang, X., Blackburn, S., McKinley, K.: What is happening to power, performance, and software? IEEE Micro 32(3), 110–121 (2012). https://doi.org/10.1109/MM.2012.20

    Article  Google Scholar 

  13. Franks, G., Al-Omari, T., Woodside, M., Das, O., Derisavi, S.: Enhanced modeling and solution of layered queueing networks. IEEE Trans. Softw. Eng. 35(2), 148–161 (2009). https://doi.org/10.1109/TSE.2008.74

    Article  Google Scholar 

  14. Fudan Software Engineering Laboratory: Train Ticket Booking System. https://github.com/FudanSELab/train-ticket, Accessed 12 Apr 2023

  15. Georgiou, K., Xavier-de Souza, S., Eder, K.: The IoT energy challenge: a software perspective. IEEE Embed. Syst. Lett. 10(3), 53–56 (2018)

    Article  Google Scholar 

  16. Ghosh, S., Unnikrishnan, S.: Reduced power consumption in wireless sensor networks using queue based approach. In: 2017 International Conference on Advances in Computing, Communication and Control (ICAC3). pp. 1–5 (2017). https://doi.org/10.1109/ICAC3.2017.8318794

  17. Jiang, F.C., Huang, D.C., Wang, K.H.: Design approaches for optimizing power consumption of sensor node with n-policy m/g/1 queuing model. In: Proceedings of the 4th International Conference on Queueing Theory and Network Applications. QTNA ’09, Association for Computing Machinery, New York, NY, USA (2009). https://doi.org/10.1145/1626553.1626556

  18. Marinescu, D.C.: Cloud computing: theory and practice. Morgan Kaufmann (2022)

    Google Scholar 

  19. Monsoon Solutions: monsoon power monitor. https://www.msoon.com/, Accessed 26 Sep 2021

  20. Tribastone, M., Mayer, P., Wirsing, M.: Performance prediction of service-oriented systems with layered queueing networks. In: Margaria, T., Steffen, B. (eds.) Leveraging Applications of Formal Methods, Verification, and Validation, pp. 51–65. Springer, Berlin Heidelberg, Berlin, Heidelberg (2010)

    Chapter  Google Scholar 

  21. Verdecchia, R., Lago, P., Ebert, C., De Vries, C.: Green it and green software. IEEE Software 38(6), 7–15 (2021)

    Article  Google Scholar 

  22. WattsUp: Watts up? pro power monitor. https://github.com/isaaclino/wattsup, Accessed 05 Apr 2023

  23. Wohlin, C., Runeson, P., Höst, M., Ohlsson, M.C., Regnell, B., Wesslén, A.: Experimentation in Software Engineering. Springer, Berlin, Heidelberg (2012). https://doi.org/10.1007/978-3-642-29044-2

  24. Woodside, M., Franks, G.: Tutorial introduction to layered modeling of software performance (2002)

    Google Scholar 

  25. Zhang, Y., Li, W.: Modeling and energy consumption evaluation of a stochastic wireless sensor network. EURASIP J. Wireless Commun. Netw. 2012(1), 282 (2012). https://doi.org/10.1186/1687-1499-2012-282

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vincenzo Stoico .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Stoico, V., Cortellessa, V., Malavolta, I., Di Pompeo, D., Pomante, L., Lago, P. (2023). An Approach Using Performance Models for Supporting Energy Analysis of Software Systems. In: Iacono, M., Scarpa, M., Barbierato, E., Serrano, S., Cerotti, D., Longo, F. (eds) Computer Performance Engineering and Stochastic Modelling. EPEW ASMTA 2023 2023. Lecture Notes in Computer Science, vol 14231. Springer, Cham. https://doi.org/10.1007/978-3-031-43185-2_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-43185-2_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-43184-5

  • Online ISBN: 978-3-031-43185-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics