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

Implement CPU throttling #12

Closed
dfbag7 opened this issue Feb 17, 2020 · 2 comments
Closed

Implement CPU throttling #12

dfbag7 opened this issue Feb 17, 2020 · 2 comments

Comments

@dfbag7
Copy link

dfbag7 commented Feb 17, 2020

This is a feature request.

I'd suggest to implement CPU throttling like it is implemented in BES
As far as I understand, to throttle CPU usage, BES puts the controlled process on sleep for short periods of time. Implementing a similar functionality in Process Governor would be a big deal.

@lowleveldesign
Copy link
Owner

Thanks for the suggestion. I will look into it.

@lowleveldesign
Copy link
Owner

I finally found a moment to work on it. The new option is -e or --cpurate. If you set both the CPU rate and the CPU affinity, the rate value will be updated accordingly (more in README).

New release is here.

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

2 participants