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

7.22.0 CPU usage FULL THROTTLE on macOS Ventura.2 #5072

Closed
Chamiu opened this issue Jan 24, 2023 · 7 comments · Fixed by #5073 or #5186
Closed

7.22.0 CPU usage FULL THROTTLE on macOS Ventura.2 #5072

Chamiu opened this issue Jan 24, 2023 · 7 comments · Fixed by #5073 or #5186

Comments

@Chamiu
Copy link

Chamiu commented Jan 24, 2023

Describe the bug
The CPU usage rate set by the web server cannot be reflected, and the CPU usage rate becomes full throttle.

Steps To Reproduce

  1. upgrade to 7.22.0 from 7.20.4
  2. launch

Expected behavior
It works according to the CPU usage rate set on the web server.

System Information

  • OS: macOS Ventura.2
  • BOINC Version: 7.22.0
@CharlieFenton
Copy link
Contributor

@davidpanderson @AenBleidd I can confirm this and see several major problems:

  • Whether using web preferences or local preferences, the client does no throttling. Even with local prefs set to use 10% of CPU time both when computer is in use and when it is not in use, all the tasks use one second of CPU time every second. I see this on Einstein, WCG and Rosetta, so it is not specific to any one project.
  • Since none of these projects have added the new version of web preferences which distinguishes between in-use and not-in-use values, it is logical to assume that the values should apply to both situations. Especially, if the user has selected "suspend when compute is in use" in web prefs, then the values should apply when the computer is not in use. But when using web prefs, if you open the Manager's Computing Preferences dialog, you see the default values: 75% of CPUS and 100% of CPU time for when the computer is not in use. If you then turn off the "suspend while in use" checkbox, you see that the web preference values have been applied to "when the computer is in use." This is backwards.
  • For projects that don't distinguish between in-use and not-in-use, the correct implementation of web prefs should be to use those same values for both in-use and not-in-use.
  • Thee is a situation where the client forgets your local settings: When setting local prefs, set values for both in-use and not-in-use (with "suspend when in use" off) and then turn "suspend when in use" on and click save. Open the dialog again and set "suspend when in use" off again. Your earlier when in-use settings are lost and replaced by the defaults of 75% of CPUS and 100% of CPU time. It should instead remember your previous settings.

I am quite certain that these problems (including the one in the title of this issue) will occur on all platforms, and are not specific to MacOS.

@CharlieFenton
Copy link
Contributor

I confirmed that the throttling works correctly under BOINC 7.20.4 for MacOS, honoring both web prefs and local prefs.

@CharlieFenton
Copy link
Contributor

I have removed BOINC 7.22.0 from the download pages (versions.inc) and from the alpha test matrix (test.inc) because it could allow overheating in users' computers if they were depending on the throttling to keep the hardware cool. This is definitely a show-stopper.

@RichardHaselgrove
Copy link
Contributor

RichardHaselgrove commented Jan 25, 2023

Wrong issue - reposting in #5069

@CharlieFenton
Copy link
Contributor

@davidpanderson I just noticed another oversight: The preferences dialog in Simple View shows only the original preferences, not the new niu prefs. There is no indication in Simple View that the "Use at most xx% of CPU time" setting may be different when in use vs not in use.

@Chamiu
Copy link
Author

Chamiu commented May 9, 2023

Thanks for fix.

Describe the bug fix

The CPU usage rate set by the web server can be reflected.
BOINC 7 22 1

Steps To Reproduce

  1. upgrade to 7.20.7 from 7.22.1
  2. 21:25 (JST) at launch

Expected behavior

It works according to the CPU usage rate set on the web server.

System Information

OS: macOS Ventura.3.1
BOINC Version: 7.22.1

@Chamiu
Copy link
Author

Chamiu commented May 10, 2023

Add Compute Processing Preference.
Preference 7 22 1

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

Successfully merging a pull request may close this issue.

5 participants