-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Setting max CPU consumption #24
Comments
It's decrease, 75% decrease. Based on this code: Line 10 in f397525
Lines 286 to 287 in b73f837
Lines 346 to 353 in b73f837
It's a 100ms-sliced timer and a rule of = n means "sleep n cycles for every one work cycle", making 50% the least possible decrease, unfortunately.
|
Gotcha. Thanks. Close if you like 👍 |
For a finer grained slice control (e.g. percent), tho alternatives are, on Linux, cgroups, or running a |
Given the default max consumption is 100%, does giving a value of 3 mean the program will use max 75% CPU, or max 25% CPU?
I would like to limit my browser to a max of 80% CPU consumption (on whatever core its grinding away on...)
The text was updated successfully, but these errors were encountered: