Texas State University
Enhancing Energy-Efficiency in Cloud Computing and Green Software Design through Accurate Power Measurement for Heterogeneous Hardware
Abstract
dc:description.abstractThe growing energy demands of modern computing, from software development to expansive cloud platforms, necessitate accurate power measurement tools to optimize energy usage and address environmental concerns. Although a variety of frameworks and methodologies have been developed to measure power consumption of software, respective inherent limitations of each of these methods make those unsuitable and, in many cases, inapplicable for deployment environments. Technologies relying on methods like Thermal Design Power (TDP) fall short due to their large inaccuracies. Whereas Running Average Power Limit (RAPL) is restricted by its administrative access requirements despite its high precision [1]. It is leaving developers, users, and software-based service providers without practical means to measure or optimize energy usage. To bridge such technology gaps, we leverage ML-based methodologies to propose precise and convenient real-time power consumption estimation technology which is capable of performing irrespective of deployment environments or host specifications. We have taken a novel approach of combining the decision tree algorithm with a multi-variable regression model to adapt to the host environment and capture power trends with precision in the highly heterogeneous computer ecosystems to-date. Our proposed GreenCode-PowerMeter (GCPM) is integrated within the popular platform of VS Code to let its 14 million users estimate power consumption across diverse programming languages and hardware configurations directly within the IDE with a mean absolute percentage error of only 0.075%. This enables developers to adopt energy-efficient coding practices without the complexity of accessing administrative privileges. Meanwhile, cloud computing's rapid expansion since the end of the past century has raised significant energy consumption and environmental concerns. Accurate power measurement is crucial in addressing such concerns, as precise data helps both cloud providers and consumers to optimize usage by enabling informed resource allocation to meet sustainability goals. Complementing the effectiveness of GreenCode-PowerMeter, we extend the ML-based approach for addressing the challenges of providing an accurate power consumption method in diverse cloud environments where administrative access is unattainable. We propose Cloud Power Meter (CPM) which is trained on 34 cloud instances from providers like AWS, Microsoft Azure, and Google Cloud Platform. CPM achieves a mean absolute percentage error of 0.31% while tested on the dataset that is constructed from the real-world cloud processors’ power measurements based on the CPU benchmarks from SPEC (Standard Performance Evaluation Corporation). The decision tree guarantees performance capacity across heterogeneous cloud environments by locating the ‘CPM Instance’. To demonstrate its efficacy, we perform and present an analysis on 2.7 million Virtual Machines (VMs) traces on Microsoft Azure, identifying a significant 25,000 kWh energy-saving scopes from 17% inefficient allocations in a month. Both GCPM and CPM outperform the widely deployed TDP-based methods and closely align with the RAPL. Together, GCPM and CPM provide scalable, accurate, and accessible solutions for power measurement in modern computing environments. By addressing inefficiencies and enabling informed decision-making, these tools empower developers and cloud providers to optimize resource allocation, reduce carbon footprints, and contribute to sustainable computing practices.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor
- Texas State University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Nasrin, Amina
- Advisor dc:contributor.advisor
-
- Zong, Ziliang
- Committee members dc:contributor.committeemember
-
- Islam, Tanzima
- Lee, Chul-Ho
Subjects
dc:subject × 8Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Dc Identifier Citation
- Nasrin, A. (2025). Enhancing energy-efficiency in cloud computing and green software design through accurate power measurement for heterogeneous hardware. [Master's thesis, Texas State University].