BOINC not giving up CPU

Questions and Answers : Windows : BOINC not giving up CPU
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Ernest Nachtigall

Send message
Joined: 24 Sep 99
Posts: 18
Credit: 29,740,248
RAC: 76
Canada
Message 2020100 - Posted: 22 Nov 2019, 17:00:12 UTC

I have a situation where I local prefs file specifies says to suspend if CPU is above 60%.
When I try to use FIREFOX, I get lots of stalls and messages about long running scripts.
AVI videos are stalling and breaking up.
If I SLEEP or EXIT BOINC(SETI@HOME), FIREFOX and videos run clean.
I am on WIN 7 LENOVO T510 with 4 cores I5 processor, 2.40 ghz
ID: 2020100 · Report as offensive
Ian&Steve C.
Avatar

Send message
Joined: 28 Sep 99
Posts: 4267
Credit: 1,282,604,591
RAC: 6,640
United States
Message 2020132 - Posted: 22 Nov 2019, 18:56:41 UTC - in response to Message 2020100.  

since you only have 4 cores, you realistically only have 4 load levels to choose from (25/50/75/100) even though you can type whatever number you want.

BOINC will use 100% of a thread. if you set it to 60%, it will only run on 2 cores, because to run on 3 cores needs 75%.

there's not much you can do about it other than setting BOINC to suspend when the computer is in use, or set the threshold for BOINC to suspend with CPU use to a lower value, like 25%
Seti@Home classic workunits: 29,492 CPU time: 134,419 hours

ID: 2020132 · Report as offensive
Profile tullio
Volunteer tester

Send message
Joined: 9 Apr 04
Posts: 8657
Credit: 2,930,782
RAC: 1
Italy
Message 2020152 - Posted: 22 Nov 2019, 20:02:13 UTC
Last modified: 22 Nov 2019, 20:05:30 UTC

I have an A10-6700 with 4 cores (although the Windows Task Manager says it has 2 cores and 4 logical processors) and it runs 4 BOINC CPU tasks plus one GPU task. Sometimes it runs Milkyway@home on 4 cores suspending all other CPU tasks. I have put not limit on CPU usage by BOINC and I am using Firefox and e-mail with no problem. RAM is 20 GB. It also hosts a SuSE Linux Virtual Machine with Tumbleweed OS, which is a development version with kernel 5.3.11-1.
Tullio
ID: 2020152 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15183
Credit: 4,362,181
RAC: 3
Netherlands
Message 2020153 - Posted: 22 Nov 2019, 20:05:25 UTC - in response to Message 2020132.  

BOINC will use 100% of a thread. if you set it to 60%, it will only run on 2 cores, because to run on 3 cores needs 75%.
But that's a different preference. That's "Use at most N % of the CPUs", while the OP talks about "Suspend when non-BOINC CPU usage is above N % ". The latter requires that BOINC Activity is set to "Run based on preferences". If Activity is set to Run Always, it'll run always.
ID: 2020153 · Report as offensive
Darrell Wilcox Project Donor
Volunteer tester

Send message
Joined: 11 Nov 99
Posts: 303
Credit: 180,954,940
RAC: 118
Vietnam
Message 2020352 - Posted: 24 Nov 2019, 4:34:55 UTC - in response to Message 2020100.  

@Ernest Nachtigall

You could try using a "cc_config.xml" placed in the "S:\ProgramData\BOINC" (or wherever you installed it) with these parameters:

<cc_config>
<options>
<process_priority>0</process_priority>
<process_priority_special>1</process_priority_special>
</options>
</cc_config>

These tell the BOINC Manager to set non-GPU tasks to the bottom priority, and GPU tasks just above them. This might be enough to stop
the issues you are having even when using 100% for BOINC.

BOINC must be restarted after placing the file in the folder.

Best wishes.
ID: 2020352 · Report as offensive

Questions and Answers : Windows : BOINC not giving up CPU


 
©2023 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.