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

Export power limit from RAPL counters #189

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

mahendrapaipuri
Copy link
Owner

  • RAPL counters expose power limit for each domain which can be treated as TDP. We can use this value as fallback when none of other energy counters are available. Power consumed by a cgroup can be estimated as TDP * CPU utilization by cgroup. So, we should only consider the long term power limit as our TDP.

  • Update test fixtures and docs

* RAPL counters expose power limit for each domain which can be treated as TDP. We can use this value as fallback when none of other energy counters are available. Power consumed by a cgroup can be estimated as TDP * CPU utilization by cgroup. So, we should only consider the long term power limit as our TDP.

* Update test fixtures and docs

Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri added the enhancement New feature or request label Oct 10, 2024
@mahendrapaipuri mahendrapaipuri merged commit 6a9233a into main Oct 10, 2024
15 checks passed
@mahendrapaipuri mahendrapaipuri deleted the rapl_power_limit_metric branch October 10, 2024 14:44
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

Successfully merging this pull request may close these issues.

1 participant