Different % of CPU usage depends on running processes

Message boards : Questions and problems : Different % of CPU usage depends on running processes
Message board moderation

To post messages, you must log in.

AuthorMessage
DxCK

Send message
Joined: 22 Apr 20
Posts: 1
Message 97970 - Posted: 22 Apr 2020, 15:30:20 UTC

I have a 8 thread CPU (7700K). I'm running BOINC and also Folding@Home, prioritizing Folding@Home over BOINC right now.
Since Folding@Home have shortage in work units, I want to allow BOINC to run when some of my CPU resource is not used.

So I think of configuring BOINC the following way:
IF FahCore_a7.exe AND FahCore_22.exe are running THEN suspend.
IF FahCore_a7.exe only is running THEN use 13% of my CPU.
IF FahCore_22.exe only is running THEN use 88% of my CPU.
if neither process is running THEN use 100% of my CPU.

Is there a way to configure BOINC that way?

Thanks in advance!
ID: 97970 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 97971 - Posted: 22 Apr 2020, 15:40:00 UTC - in response to Message 97970.  

No, that is not possible. It isn't possible to set parts of the CPU (cores) to do work when "demand must be met".
ID: 97971 · Report as offensive
ProDigit

Send message
Joined: 8 Nov 19
Posts: 718
United States
Message 97984 - Posted: 22 Apr 2020, 18:58:34 UTC

What I would do, is assign 5 to 6 out of 8 cores to FAH, and configure Boinc to run 5 to 6 cores.
That means that either project will run at least 4 WUs at normal speed, and only runs 1 to 2 overlapping with the other program.
Meaning when FAH has jobs availble, you should get only a small performance penalty.
But when they're not available (and you're running between 0 to 2/3 cores on FAH), Boinc will run the remaining 5/6 cores at full speed.

There's no dynamic adjustment possible, since you'll need to restart the service when you update the "global_prefs_override.xml" file.

It would be interesting to see if it can be adjusted dynamically from terminal, since Boinc Manager does it somehow.
ID: 97984 · Report as offensive

Message boards : Questions and problems : Different % of CPU usage depends on running processes

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.