Coder Social home page Coder Social logo

Comments (2)

ArneTR avatar ArneTR commented on August 26, 2024

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.

ArneTR avatar ArneTR commented on August 26, 2024

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:

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.