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
- tool is primarily designed to measure containerized applications
- uses runtime metrics from every container to measure, performance metrics and some metrics retrieved on a system level (like CPU energy or DRAM energy)
- uses the concept Standard Usage Scenario introduced by the team from Blauer Engel fΓΌr Software to be able to understand how an application would typically behave under real-world use cases
- for the purpose of reproducibility and open data the team provide a central repository for all measurements they make to compare measurements on a prepared fixed machine: Green Metrics Frontend
- Attribution of network traffic: GMT assumes that all traffic is with external services. If that's not the case, the energy consumption is greatly overestimated
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).
- XGBoost Spec
devcontainers.json
π References
Green Metrics Tool helps developers measuring & optimizing software power consumption - CNX Software