Foundations of Measuring Power and Energy Consumption in Video Communication

Given the growing environmental concerns and significant resource consumption associated with video streaming on electronic devices, measuring the energy consumption is important to guide optimisation and to assess its relative environmental impact. In this paper, we provide comprehensive guidance to accurately measure the energy and power consumption in video communication technologies. We address the complexities inherent in measuring energy consumption across diverse software and hardware setups, with a focus on video communication tasks. We review current measurement techniques, identify limitations in existing practices, and propose a structured methodology that incorporates considerations for static and dynamic power consumption, appropriate sampling frequencies, and statistical rigor. Additionally, we introduce a reference workflow that is adaptable to various multimedia applications and demonstrate its applicability through a case study. By offering clear guidance and practical tools, this work aims to improve the reliability, reproducibility, and comparability of energy consumption measurements in video technologies, providing a strong foundation for the multimedia community to base decisions on.

Green LLM: Studying Key Factors Affecting Energy Consumption of Code Assistants

In recent years,Large Language Models (LLMs) have significantly improved in generating high-quality code, enabling their integration into developers’ Integrated Development Environments (IDEs) as code assistants. These assistants, such as GitHub Copilot, deliver real-time code suggestions and can greatly enhance developers’ productivity. However, the environmental impact of these tools, in particular their energy consumption, remains a key concern. This paper investigates the energy consumption of LLM-based code assistants by simulating developer interactions with GitHub Copilot and analyzing various configuration factors. We collected a dataset of development traces from 20 developers and conducted extensive software project development simulations to measure energy usage under different scenarios. Our findings reveal that the energy consumption and performance of code assistants are influenced by various factors, such as the number of concurrent developers, model size, quantization methods, and the use of streaming. Notably, a substantial portion of generation requests made by GitHub Copilot is either canceled or rejected by developers, indicating a potential area for reducing wasted computations. Based on these findings, we share actionable insights into optimizing configurations for different use cases, demonstrating that careful adjustments can lead to significant energy savings.