Green Metrics Tool

Purpose:: Measure energy consumption of containerized applications
Website:: https://www.green-coding.io/projects/green-metrics-tool/
Docs:: https://docs.green-coding.berlin/
Source Code:: https://github.com/green-coding-berlin/green-metrics-tool
Known by:: Green Coding Solutions

Description

The Green Metrics Tool is a developer tool indented for measuring the energy and CO2 consumption of software through a software life cycle analysis (SLCA).

It is designed to re-use existing infrastructure and testing files as much as possible to be easily integratable into every software repository and create transparency around software energy consumption.

Methodology

GCB Measurement Cluster

Dashboard: https://metrics.green-coding.berlin/

API: https://api.green-coding.berlin/docs

XGBoost

https://docs.green-coding.io/docs/measuring/metric-providers/psu-energy-xgboost-machine/

ThinkPad T14s

AMD Ryzen 5 PRO 7540U Prozessor

CPUChips: 1
HW_CPUFreq: 3200
CPUCores: 6
CPUThreads: 12
TDP: 15
HW_MemAmountGB: 32
Hardware_Availability_Year: 2023

Usage with GitHub Codespaces

GitHub Codespaces is using per default Ubuntu 20.04.6 LTS (as of 2024-07-08).

See https://github.com/green-coding-solutions/green-metrics-tool/blob/codespaces/.devcontainer/splash.md

Upgrade to glib 2.68 as documented is not required, because g_string_replace is only required for the metric provider lm-sensors (temperatures).

πŸ”— References

Green Metrics Tool helps developers measuring & optimizing software power consumption - CNX Software

FOSDEM 2023 - Green software engineering

Baselines and Bottlenecks: Measuring Sorting Algorithms with the Green Metrics Tool | by Brendan Kamp | Dec, 2023 | The Green Coder

Automated SCI Measurements with the Green Metrics Tool - A Use Case for Assessing Software Carbon Footprint