Unveiling the Energy Vampires

A Methodology for Debugging Software Energy Consumption

Conference Paper (2025)
Author(s)

Enrique Barba Roque (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Luis Cruz (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Thomas Durieux (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Research Group
Software Engineering
DOI related publication
https://doi.org/10.1109/ICSE55347.2025.00118 Final published version
More Info
expand_more
Publication Year
2025
Language
English
Research Group
Software Engineering
Pages (from-to)
2406-2418
Publisher
IEEE
ISBN (electronic)
9798331505691
Event
47th IEEE/ACM International Conference on Software Engineering, ICSE 2025 (2025-04-27 - 2025-05-03), Ottawa, Canada
Downloads counter
10
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Energy consumption in software systems is becoming increasingly important, especially in large-scale deployments. However, debugging energy-related issues remains challenging due to the lack of specialized tools. This paper presents an energy debugging methodology for identifying and isolating energy consumption hotspots in software systems. We demonstrate the methodology's effectiveness through a case study of Redis, a popular in-memory database. Our analysis reveals significant energy consumption differences between Alpine and Ubuntu distributions, with Alpine consuming up to 20.2% more power in certain operations. We trace this difference to the implementation of the memcpy function in different C standard libraries (musl vs. glibc). By isolating and benchmarking memcpy, we confirm it as the primary cause of the energy discrepancy. Our findings highlight the importance of considering energy efficiency in software dependencies and demonstrate the capability to assist developers in identifying and addressing energy-related issues. This work contributes to the growing field of sustainable software engineering by providing a systematic approach to energy debugging and using it to unveil unexpected energy behaviors in Alpine.

Files

Unveiling_the_Energy_Vampires_... (pdf)
(pdf | 2.01 Mb)
- Embargo expired in 23-12-2025
Taverne