Unveiling the Energy Vampires: A Methodology for Debugging Software Energy Consumption
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper2
- SustainDiffusion: Optimising the Social and Environmental Sustainability of Stable Diffusion ModelsGiordano d’Aloisio, Tosin Fadahunsi, Jay Choy, Rebecca Moussa 等ICSE 2026
- Generating Energy-Efficient Code via Large-Language Models - Where are we now?Radu Apsan, Vincenzo Stoico, Michel Albonico, Rudra Dhar 等ICSE 2026
它引用的 Paper1
相关 Paper
- Automatic Energy-Hotspot Detection and Elimination in Real-Time Deeply Embedded SystemsMohsen Shekarisaz, Lothar Thiele, Mehdi KargahiRTSS 2021 · 4 次引用
- Twins or False Friends? A Study on Energy Consumption and Performance of Configurable SoftwareMax Weber, Christian Kaltenecker, Florian Sattler, Sven Apel 等ICSE 2023 · 16 次引用
- Detecting and diagnosing energy issues for mobile applicationsXueliang Li, Yuming Yang, Yepang Liu, John P. Gallagher 等ISSTA 2020 · 18 次引用
- NLP Libraries, Energy Consumption and Runtime: An Empirical StudyRajrupa Chattaraj, Sridhar ChimalakondaFSE 2025 · 1 次引用
- LDB: An Efficient Latency Profiling Tool for Multithreaded ApplicationsInho Cho, Seo Jin Park, Ahmed Saeed, Mohammad Alizadeh 等NSDI 2024 · 4 次引用
