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

Fix cpuspeed for low loads #1618

Merged
merged 2 commits into from
May 13, 2024
Merged

Fix cpuspeed for low loads #1618

merged 2 commits into from
May 13, 2024

Conversation

steveschnepp
Copy link
Member

This contains 2 fixes for low loaded nodes that have very dynamic frequency.

Closes #1617

The CPU speed on modern hardware is very dynamic. Therefore instant measures are prone to bias due to the previous plugin runs.

This enables a small delay, in order for the CPU to relax and take a more representative measure of the actual speed without plugin runs.
Allow a 10% buffer on the minimum, such as the 10% on 
maximum from 76fe8bf.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 9064802479

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.09%) to 70.147%

Totals Coverage Status
Change from base Build 7666962758: 0.09%
Covered Lines: 1579
Relevant Lines: 2251

💛 - Coveralls

Copy link

@baranyaib90 baranyaib90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thank you very much!

@steveschnepp steveschnepp merged commit ce4738b into master May 13, 2024
3 checks passed
@steveschnepp steveschnepp deleted the steveschnepp-patch-1 branch May 13, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

cpuspeed plugin problems
3 participants