green-coding-solutions / green-metrics-tool

Measure energy and carbon consumption of software
https://metrics.green-coding.io
GNU Affero General Public License v3.0
156 stars 20 forks source link

Rapl energy filtering check #836

Closed ArneTR closed 1 month ago

ArneTR commented 1 month ago

RAPL energy filtering register is now checked.

Mechanism is achieved through allowing requests to the hardware_info_root file which has sudoers rights

github-actions[bot] commented 1 month ago
Old Energy Estimation Eco-CI Output: |Label|🖥 avg. CPU utilization [%]|🔋 Total Energy [Joules]|🔌 avg. Power [Watts]|Duration [Seconds]| |---|---|---|---|---| |Total Run (incl. overhead)|24.7089|1617.33|3.92|413| |Measurement #1|24.6469|1617.33|3.94|411| 🌳 CO2 Data: City: Chicago, Lat: 41.8874, Lon: -87.6318 IP: 172.183.133.241 CO₂ from energy is: 0.713242530 g CO₂ from manufacturing (embodied carbon) is: 0.117834603 g Carbon Intensity for this location: 441 gCO₂eq/kWh SCI: 0.831077 gCO₂eq / pipeline run emitted
github-actions[bot] commented 1 month ago
Old Energy Estimation Eco-CI Output: |Label|🖥 avg. CPU utilization [%]|🔋 Total Energy [Joules]|🔌 avg. Power [Watts]|Duration [Seconds]| |---|---|---|---|---| |Total Run (incl. overhead)|25.3332|1702.39|3.93|433| |Measurement #1|25.2731|1702.39|3.95|431| 🌳 CO2 Data: City: Washington, Lat: 38.7095, Lon: -78.1539 IP: 20.42.51.81 CO₂ from energy is: 0.715003800 g CO₂ from manufacturing (embodied carbon) is: 0.123540879 g Carbon Intensity for this location: 420 gCO₂eq/kWh SCI: 0.838545 gCO₂eq / pipeline run emitted
github-actions[bot] commented 1 month ago
Eco-CI Output: Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run (incl. overhead) 23.1392 1700.94 3.86 441
Measurement #1 23.0976 1700.94 3.87 439

🌳 CO2 Data: City: Phoenix, Lat: 33.4475, Lon: -112.0866 IP: 20.171.99.208 CO₂ from energy is: 0.600431820 g CO₂ from manufacturing (embodied carbon) is: 0.125823389 g Carbon Intensity for this location: 353 gCO₂eq/kWh SCI: 0.726255 gCO₂eq / pipeline run emitted