{"id":{"repo_id":"texas-state","oai_identifier":"oai:digital.library.txst.edu:10877/20760"},"canonical_url":"https://search.ndltd.org/etd/texas-state/oai:digital.library.txst.edu:10877/20760","repository":{"repo_id":"texas-state","name":"Texas State University","base_url":"https://digital.library.txst.edu/server/oai/request"},"display":{"title":"Enhancing Energy-Efficiency in Cloud Computing and Green Software Design through Accurate Power Measurement for Heterogeneous Hardware","abstract":"The 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.","abstract_html":"The 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&#x27;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.","abstract_has_math":false,"creators":["Nasrin, Amina"],"institution":"Texas State University","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Zong, Ziliang"],"committee_chairs":[],"committee_members":["Islam, Tanzima","Lee, Chul-Ho"],"year":2025,"date_issued":"2025-05","date_published":"2025-05","updated_at":"2026-11-20T16:09:14Z","subjects":["green computing","energy efficiency","sustainability","power measurement","energy optimization","ML","cloud computing","green cloud"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["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]."],"render_values":[{"text":"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].","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10877/20760","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10877/20760","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Atexas-state%3Aoai%3Adigital.library.txst.edu%3A10877%2F20760","prefix":"oai_dc"},"source_record":{"url":"https://digital.library.txst.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adigital.library.txst.edu%3A10877%2F20760","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Zong, Ziliang"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Islam, Tanzima","Lee, Chul-Ho"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:creator","label":"Author","values":["Nasrin, Amina"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-04-30T16:54:40Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-05"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Texas State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["green computing","energy efficiency","sustainability","power measurement","energy optimization","ML","cloud computing","green cloud"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["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]."]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10877/20760"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["The 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."]},{"key":"dc:format","label":"Dc Format","values":["Text"]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["87 pages"]},{"key":"dc:format.medium","label":"Dc Format Medium","values":["1 file (.pdf)"]},{"key":"dc:title","label":"Title","values":["Enhancing Energy-Efficiency in Cloud Computing and Green Software Design through Accurate Power Measurement for Heterogeneous Hardware"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Zong, Ziliang"],"dc:contributor.committeemember":["Islam, Tanzima","Lee, Chul-Ho"],"dc:contributor.department":["Computer Science"],"dc:creator":["Nasrin, Amina"],"dc:date.accessioned":["2025-04-30T16:54:40Z"],"dc:date.issued":["2025-05"],"dc:description.abstract":["The 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."],"dc:format":["Text"],"dc:format.extent":["87 pages"],"dc:format.medium":["1 file (.pdf)"],"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]."],"dc:identifier.uri":["https://hdl.handle.net/10877/20760"],"dc:language.iso":["en"],"dc:subject":["green computing","energy efficiency","sustainability","power measurement","energy optimization","ML","cloud computing","green cloud"],"dc:title":["Enhancing Energy-Efficiency in Cloud Computing and Green Software Design through Accurate Power Measurement for Heterogeneous Hardware"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Texas State University"]},"updated_at":"2026-11-20T16:09:14Z"}