Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Green Software Foundation SCI calculation #451

Open
ArneTR opened this issue Sep 5, 2023 · 0 comments
Open

[Improvement] Green Software Foundation SCI calculation #451

ArneTR opened this issue Sep 5, 2023 · 0 comments

Comments

@ArneTR
Copy link
Member

ArneTR commented Sep 5, 2023

Currently the SCI calculation in the Green Metrics Tool has some limitations:

  • The SCI is only calculated for the total [RUNTIME] phase
    • This should be improved to have it separately for every phase
  • It is not immediately visible which variables have been used to derive the score. They are all present in the interface, but in various and undocumented locations
    • The I, M etc. parameters are under the Machine Tab
    • The R values are in the logs tab. Which is also deleted after a certain retention period (TBD: in the future)
    • See screenshots for both locations as example
  • Technically the SCI is currently handed over internally as variable. It would however be more consistent if the SCI is an actual reporter that would depend on a machine energy reporter and a CO2-grid-intensity reporter to be present
  • The R-Values have to come from the application itself though. Currently we use a buffered output stream from the container to the host OS which is then parsed for the variables. It would be better however to have a pre-defined output location inside of the container, something like /tmp/green-metrics-tool/sci/R.log that the user can send these values in the instrumented application to. The gain here is that the stdout is not overloaded and the unnecessary noise is not captured on top.

Screenshots of SCI and location

Screenshot 2023-09-05 at 5 19 10 PM
Screenshot 2023-09-05 at 5 17 41 PM
Screenshot 2023-09-05 at 5 17 58 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant