Back to Search Start Over

Empirical Evaluation of Two Best-Practices for Energy-Efficient Software Development

Authors :
Patricia Lago
Giuseppe Procaccianti
Hector Fernandez
Software and Sustainability (S2)
Network Institute
Software & Services
Source :
Journal of Systems and Software, 117(July 2016), 185-198. Elsevier, Procaccianti, G, Fernandez, H J & Lago, P 2016, ' Empirical Evaluation of Two Best-Practices for Energy-Efficient Software Development ', Journal of Systems and Software, vol. 117, no. July 2016, pp. 185-198 . https://doi.org/10.1016/j.jss.2016.02.035
Publication Year :
2016

Abstract

We empirically studied the energy impact of two best practices for energy-efficient software.We applied the practices on two widely used software applications, MySQL Server and Apache Webserver.Each practice successfully reduced the energy consumption of our test environment.The hardware resource usage of the modified applications is more energy-proportional.Software design and implementation choices significantly affect energy efficiency. Background. Energy efficiency is an increasingly important property of software. A large number of empirical studies have been conducted on the topic. However, current state-of-the-Art does not provide empirically-validated guidelines for developing energy-efficient software.Aim. This study aims at assessing the impact, in terms of energy savings, of best practices for achieving software energy efficiency, elicited from previous work. By doing so, it identifies which resources are affected by the practices and the possible trade-offs with energy consumption.Method. We performed an empirical experiment in a controlled environment, where we applied two different Green Software practices to two software applications, namely query optimization in MySQL Server and usage of "sleep" instruction in the Apache web server. We then performed a comparison of the energy consumption at system-level and at resource-level, before and after applying the practice.Results. Our results show that both practices are effective in improving software energy efficiency, reducing consumption up to 25%. We observe that after applying the practices, resource usage is more energy-proportional i.e., increasing CPU usage increases energy consumption in an almost linear way. We also provide our reflections on empirical experimentation in software energy efficiency.Conclusions. Our contribution shows that significant improvements in software energy efficiency can be gained by applying best practices during design and development. Future work will be devoted to further validate best practices, and to improve their reusability.

Details

Language :
English
ISSN :
01641212
Volume :
117
Database :
OpenAIRE
Journal :
Journal of Systems and Software
Accession number :
edsair.doi.dedup.....d50b8be615e6aabac462abddef1f11b2
Full Text :
https://doi.org/10.1016/j.jss.2016.02.035