Comments (2)
The tool in its current form on Github does orchestrate the software in Docker containers and pulls their metrics via a stream from docker stats
.
This approach is just chosen for the prototype. As you pointed out correctly it does not measure energy directly and a problem with this approach is:
- The resolution of 1s is pretty low
- Docker stats gives sometime out different value than top / /proc/stat depending on your OS configuration
- It does not directly translate into energy without an appropriate transfer model.
Scaphandre I know, but since it uses RAPL it has problems of its own like the limitation to Intel CPUs and also a known strong bias and very off dynamic to the real input
power signal (https://www.mdpi.com/1996-1073/12/11/2204)
So at the moment this is just our outward facing prototype and we are currently in the process of doing the needed research on our Test-Systems where we setup an electrical
measurement directly on the ATX rails of a Blauer Engel for Software compatible machine to create a software transfer model that can
either directly translate from sensors / performance metrics to energy values or allow other folks to measure on our system directly (Similar to the Marcher System from Greensoft, only with a docker setup instead of a function base approach (https://greensoft.cs.txstate.edu/index.php/category/documentation/marcher/))
I updated the readme to make the docker step and the current problems more obivious. Thanks for taking the time to have a look at the tool.
I also wrote you an email with some further questions.
from green-metrics-tool.
Hey Chris,
Update: We are not using docker-stats anymore, but now have separate reporters that live in https://github.com/green-coding-berlin/green-metrics-tool/tree/integration-tests-initial-pipeline-testing/tools/metric_providers
Their resolution is up to 1 ms, which should suffice for at least all projects I know of :)
In regards to energy measurement: Our energy reporters use Intel RAPL now.
Internally we also have DC measurements using a Pico HRDL ADC-24 (https://www.picotech.com/data-logger/adc-20-adc-24/precision-data-acquisition)
We do have measurements with the data from it online:
- Example #1: https://metrics.green-coding.org/stats.html?id=ad9becb9-2a32-4247-b5e8-60e0264442aa
- Example #2: https://metrics.green-coding.org/stats.html?id=782621c8-96cb-46b1-b91f-adfb6120728d
However, since it runs on a separate machine for now we have no possibilty to make it available through our Measuring Service on https://metrics.green-coding.org/request.html
But we are working on it ... :)
Our new documentation is also only at https://docs.green-coding.org/ which will hopefully clear up more questions.
I am closing the comment and hope everything was answered. If not please feel free to open a new issue.
from green-metrics-tool.
Related Issues (20)
- Tests are not always using test containers HOT 5
- Enable testing on Mac HOT 5
- Pytest must be stopped when not triggered in subdir
- Tests have race condition with random path HOT 1
- Add Formbricks to energy-id
- Add configured metric providers to status page
- Restricted user rights for cluster
- Green Coding Puppeteer Container not running headless browser HOT 4
- Constant value for network transmission energy calculation HOT 9
- API endpoint /compare does not work anymore HOT 6
- Feature request: Allow comparisons of different usage scenarios and commits
- Add error reporting for frontend HOT 1
- Feature request: support named volumes HOT 4
- Make the carbonDB_add deduplication function faster HOT 3
- Update to the new Ubuntu 24.04 LTS version HOT 1
- HTML escaping inefficient and inconsistent
- Cluster timing checks HOT 1
- Adding a no-backend option for checking a site HOT 2
- cgroupfs support HOT 2
- CentOS support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from green-metrics-tool.