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

Better RAM estimation #717

Open
2 of 6 tasks
LuisBlanche opened this issue Nov 22, 2024 · 4 comments
Open
2 of 6 tasks

Better RAM estimation #717

LuisBlanche opened this issue Nov 22, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@LuisBlanche
Copy link
Contributor

LuisBlanche commented Nov 22, 2024

  • Assess current method and limitations

  • Research solutions for better measurement on different platforms
    Implement solutions and test them :

  • Add RAPL support for RAM measures

  • Add PowerMetrics support for RAM Measures

  • Add solution (TBD) for Windows RAM Measures

  • Formulate and implement calibration tests

@LuisBlanche LuisBlanche self-assigned this Nov 22, 2024
@LuisBlanche
Copy link
Contributor Author

See #439

@LuisBlanche LuisBlanche added the enhancement New feature or request label Nov 22, 2024
@LuisBlanche
Copy link
Contributor Author

#629

@benoit-cty
Copy link
Contributor

See also #751

@benoit-cty
Copy link
Contributor

benoit-cty commented Jan 14, 2025

Looking to better understand RAPL I find out a way to read DRAM consumption with RAPL : https://github.com/mlco2/codecarbon/blob/use-cpu-load/examples/intel_rapl_show.py

It doesn't work with every CPU supported by RAPL, only some of them.

On a multi-CPU computer there is two DRAM counter despite memory is shared accros the two CPU, so we need to investigate what it mean.

Here is the output with a dual Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz:

Domain 'intel-rapl:1/package-1' as a power consumption of 7.33 Watts
Domain 'intel-rapl:0:0/dram' as a power consumption of 1.19 Watts
Domain 'intel-rapl:0/package-0' as a power consumption of 8.72 Watts
Domain 'intel-rapl:1:0/dram' as a power consumption of 1.23 Watts

Useful doc : https://hubblo-org.github.io/scaphandre-documentation/explanations/rapl-domains.html

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

No branches or pull requests

2 participants