green-coding-solutions / eco-ci-energy-estimation

Eco CI Energy estimation for Github Actions Runner VMs
MIT License
48 stars 10 forks source link

Containerized #74

Open ArneTR opened 4 weeks ago

ArneTR commented 4 weeks ago

Eco-CI containerized with new SCI calculation

github-actions[bot] commented 4 weeks ago
Old Energy Estimation Eco-CI Output: |Label|🖥 avg. CPU utilization [%]|🔋 Total Energy [Joules]|🔌 avg. Power [Watts]|Duration [Seconds]| |---|---|---|---|---| |Total Run|17.9378|187.785|46.9462|34| |Measurement #1|2.015|93.8925|46.9462|0| |Sleep #2|2.125|93.8925|46.9462|0| 📈 Energy graph: ```bash 47.00 ┼─── Watts over time ``` 🌳 CO2 Data: City: Boydton, Lat: 36.677696, Lon: -78.37471 CO₂ from energy is: .07661628000000000000 CO₂ from manufacturing (embodied carbon) is: .07661628000000000000 Carbon Intensity for this location: 408 gCO₂eq/kWh SCI: 0.076832 gCO₂eq / pipeline run emitted
github-actions[bot] commented 4 weeks ago
Old Energy Estimation Eco-CI Output: |Label|🖥 avg. CPU utilization [%]|🔋 Total Energy [Joules]|🔌 avg. Power [Watts]|Duration [Seconds]| |---|---|---|---|---| |Total Run|18.6733|187.785|46.9462|33| |Measurement #1|2.89|93.8925|46.9462|1| |Sleep #2|1.51|93.8925|46.9462|0| 📈 Energy graph: ```bash 47.00 ┼─── Watts over time ``` 🌳 CO2 Data: City: San Francisco, Lat: 37.783, Lon: -122.417 CO₂ from energy is: .01708843500000000000 CO₂ from manufacturing (embodied carbon) is: .00020936310882799981 Carbon Intensity for this location: 91 gCO₂eq/kWh SCI: 0.017298 gCO₂eq / pipeline run emitted
github-actions[bot] commented 4 weeks ago
Old Energy Estimation Eco-CI Output: |Label|🖥 avg. CPU utilization [%]|🔋 Total Energy [Joules]|🔌 avg. Power [Watts]|Duration [Seconds]| |---|---|---|---|---| |Total Run|17.575|7.07559|1.7689|35| |Measurement #1|2.895|3.53779|1.7689|0| |Sleep #2|1.515|3.53779|1.7689|1| 📈 Energy graph: ```bash 2.00 ┼─── Watts over time ``` 🌳 CO2 Data: City: Chicago, Lat: 41.8819, Lon: -87.6278 CO₂ from energy is: .00288660000000000000 CO₂ from manufacturing (embodied carbon) is: .00998598328101217181 Carbon Intensity for this location: 408 gCO₂eq/kWh SCI: 0.012873 gCO₂eq / pipeline run emitted
github-actions[bot] commented 4 weeks ago
Old Energy Estimation Eco-CI Output: |Label|🖥 avg. CPU utilization [%]|🔋 Total Energy [Joules]|🔌 avg. Power [Watts]|Duration [Seconds]| |---|---|---|---|---| |Total Run|19.78|7.07559|1.7689|32| |Measurement #1|2.015|3.53779|1.7689|22| |Sleep #2|1.51|3.53779|1.7689|2| 📈 Energy graph: ```bash 2.00 ┼─── Watts over time ``` 🌳 CO2 Data: City: Boydton, Lat: 36.677696, Lon: -78.37471 CO₂ from energy is: .00288660000000000000 CO₂ from manufacturing (embodied carbon) is: .00913004185692517771 Carbon Intensity for this location: 408 gCO₂eq/kWh SCI: 0.012017 gCO₂eq / pipeline run emitted
github-actions[bot] commented 4 weeks ago
Eco-CI Output: Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 31.0847 517.553 3.95079 168
Sleep 3s 2.755 3.58295 1.79148 27
ls -alhR /usr 32.097 508.664 4.03701 126
Sleep 3s 0.913333 5.30669 1.7689 3

📈 Energy graph:


 5.26 ┤                                           ╭╮
 4.91 ┤                                          ╭╯╰─────╮                                                    ╭╮
 4.56 ┤ ╭╮                                  ╭╮   │       │                                 ╭╮               ╭╮││
 4.21 ┤ ││╭─╮   ╭╮   ╭╮  ╭─╮   ╭─╮     ╭────╯│  ╭╯       │                                 ││             ╭─╯╰╯│          ╭─╮
 3.86 ┤ │╰╯ ╰───╯╰───╯╰──╯ ╰───╯ ╰─────╯     ╰──╯        ╰─────────────────────────────────╯╰─────────────╯    ╰──────────╯ ╰─────────╮
 3.51 ┤ │                                                                                                                             │
 3.17 ┤ │                                                                                                                             │
 2.82 ┤ │                                                                                                                             │
 2.47 ┤ │                                                                                                                             │
 2.12 ┤ │                                                                                                                             │
 1.77 ┼─╯                                                                                                                             ╰──
                                                                 Watts over time

🌳 CO2 Data: City: Boydton, Lat: 36.677696, Lon: -78.37471 CO₂ from energy is: .21633715400000000000 CO₂ from manufacturing (embodied carbon) is: .04793271974885835271 Carbon Intensity for this location: 418 gCO₂eq/kWh SCI: 0.264270 gCO₂eq / pipeline run emitted