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

Automatically discover MSRs #34

Closed
connorimes opened this issue Mar 8, 2016 · 1 comment
Closed

Automatically discover MSRs #34

connorimes opened this issue Mar 8, 2016 · 1 comment

Comments

@connorimes
Copy link
Member

If the ENERGYMON_MSRS env var is not set, energymon-msr should attempt to discover which MSRs to use. We currently just default to cpu0. Can't just use all MSRs because multiple cores will expose the same MSR.

  • Can we guarantee that a single MSR per processor socket is all that's needed? If so, that makes the task a little easier.
  • Potential options using the shell:
    • lscpu
    • numactl -H (requires numactl to be installed)
  • Can we discover processor architecture through C/POSIX functions?
@connorimes
Copy link
Member Author

Closing as wontfix. The raplcap-msr implementation introduced in v0.3.0 (over 2 years ago) provides automatic package/die detection and better Intel CPU support. Commit bb59d58 now documents this in the msr README file.

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

No branches or pull requests

1 participant