salty-ivy / green-metrics-tool

Green Metrics tool to measure resource usage of software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests Status - Main

Energy Used (This is the energy cost of running our CI-Pipelines on Github. Find out more about Eco-CI)

Introduction

The Green Metrics Tool is a developer tool is indented for measuring the energy consumption of software and doing life-cycle-analysis.

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

It can orchestrate Docker containers according to a given specificaion in a usage_scenario.yml file.

These containers will be setup on the host system and the testing specification in the usage_scenario.yml will be run by sending the commands to the containers accordingly.

During this process the performance metrics of the containers are read through different metric providers like:

  • CPU / DRAM energy (RAPL)
  • System energy (IMPI / PowerSpy2 / Machine-Learning-Model / SDIA Model)
  • container CPU utilization
  • container memory utilization
  • etc.

This repository contains the command line tools to schedule and run the measurement report as well as a web interface to view the measured metrics in some nice charts.

Frontend

To see the frontend in action and get an idea of what kind of metrics the tool can collect and display go to out Green Metrics Frontend

Documentation

To see the the documentation and how to install and use the tool please go to Green Metrics Tool Documentation

Screenshots

Web Flow Demo with CPU measurement provider

Web Flow Demo with CPU measurement provider

Web Flow Demo with energy measurement provider

Web Flow Demo with energy measurement provider

About

Green Metrics tool to measure resource usage of software

License:GNU Affero General Public License v3.0


Languages

Language:Python 52.5%Language:JavaScript 17.5%Language:C 16.4%Language:HTML 10.4%Language:Shell 2.1%Language:CSS 0.8%Language:Makefile 0.2%Language:Dockerfile 0.0%