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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
For our measurements, we used release 0.0.4: https://github.com/FudanSELab/train-ticket/tree/release-0.0.4.
References
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
Apache Software Foundation: Apache JMeter. https://jmeter.apache.org, Accessed 02 Apr 2023
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
BeagleBoard.org Foundation: The BeagleBone Black Development Platform. https://beagleboard.org/black, Accessed: 11 Nov 2022
Belkhir, L., Elmeligi, A.: Assessing ICT global emissions footprint: trends to 2040 & recommendations. J. Cleaner Prod. 177, 448–463 (2018)
Brambilla, M., Cabot, J., Wimmer, M.: Model-Driven Software Engineering in Practice, 2nd edn. Springer International Publishing, Synthesis Lectures on Software Engineering (2017)
Carleton University Software Performance Research Group: layered queuing network solver. https://github.com/layeredqueuing, Accessed 23 Mar 2023
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
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
Eder, K., et al.: ENTRA: whole-systems energy transparency. Microprocessors Microsyst. 47, 278–286 (Nov2016)
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
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
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
Fudan Software Engineering Laboratory: Train Ticket Booking System. https://github.com/FudanSELab/train-ticket, Accessed 12 Apr 2023
Georgiou, K., Xavier-de Souza, S., Eder, K.: The IoT energy challenge: a software perspective. IEEE Embed. Syst. Lett. 10(3), 53–56 (2018)
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
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
Marinescu, D.C.: Cloud computing: theory and practice. Morgan Kaufmann (2022)
Monsoon Solutions: monsoon power monitor. https://www.msoon.com/, Accessed 26 Sep 2021
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)
Verdecchia, R., Lago, P., Ebert, C., De Vries, C.: Green it and green software. IEEE Software 38(6), 7–15 (2021)
WattsUp: Watts up? pro power monitor. https://github.com/isaaclino/wattsup, Accessed 05 Apr 2023
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
Woodside, M., Franks, G.: Tutorial introduction to layered modeling of software performance (2002)
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
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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)