Help: Adjust CPU usage for GPU

Message boards : Number crunching : Help: Adjust CPU usage for GPU
Message board moderation

To post messages, you must log in.

AuthorMessage
ProDigit

Send message
Joined: 23 Nov 19
Posts: 13
Credit: 6,378,487,274
RAC: 625,594
Message 2444 - Posted: 29 Mar 2020, 20:44:19 UTC
Last modified: 29 Mar 2020, 20:45:01 UTC

Hi!
I'm using the Collatz on a system with 3x RTX 2080 Ti GPUs, and a 6-core Intel Core i5 at 4Ghz.
Boinc tells me each instance of the Collatz uses 0.997 CPU, thus for the 3 GPUs, it utilizes 2 CPU cores.
However, both CPU cores are utilized at less than 20% (results from htop).

I want to force the Collatz to use the 3 GPUs with a setting of CPU = 0.3, so that 3 (possibly 4) GPUs would use up 1 CPU core instead of 2, freeing 1 more CPU core for other projects.

I'm running Linux, an Ubuntu variant.

I found the app_config.xml directory in /var/lib/boinc-client/projects/boinc.thesonntags.com_collatz/

What should I populate it with?
Like, what project name should I put, and what's the preferred format?

(or is there another way to do this?)

Thanks!
ID: 2444 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Slicker
Project administrator

Send message
Joined: 11 Jun 09
Posts: 79
Credit: 943,644,517
RAC: 0
Message 2445 - Posted: 29 Mar 2020, 22:02:37 UTC - in response to Message 2444.  
Last modified: 29 Mar 2020, 22:03:01 UTC

Yes, the app_config is the place to make the changes.
The name field contains the app name.Note that the app name doesn't include the platform or plan class. At present, collatz_sieve is the only app name. Just change the cpu_usage to o.30. If you have already optimized the application for you GPU to get it close to 100%, then set the gpu_usage to 1.0.
<app_config>
<app>
<name>collatz_sieve</name>
<gpu_versions>
<gpu_usage>1.0</gpu_usage>
<cpu_usage>0.3</cpu_usage>
</gpu_versions>
</app>
</app_config>
ID: 2445 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProDigit

Send message
Joined: 23 Nov 19
Posts: 13
Credit: 6,378,487,274
RAC: 625,594
Message 2447 - Posted: 30 Mar 2020, 18:56:34 UTC

Seems to work just fine for the Collatz!
I now can crunch 1 extra CPU thread!

Thanks!
ID: 2447 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProDigit

Send message
Joined: 23 Nov 19
Posts: 13
Credit: 6,378,487,274
RAC: 625,594
Message 2472 - Posted: 7 Apr 2020, 18:18:51 UTC
Last modified: 7 Apr 2020, 18:20:49 UTC

Yes, I run the RTX 2080 Tis at 199-219W, because of efficiency and heat reasons (lower power draw, slightly lower boost clock, less heat).
At that setting GPU=1.0 is working fine.
Pretty sure if I'd release the power settings (300W), I could adjust the GPU value, but as is it runs best (about 5 minutes per WU, 5:30 min for a 2070 Super / 2080.
ID: 2472 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
KAREL

Send message
Joined: 15 Mar 16
Posts: 21
Credit: 45,654,040
RAC: 0
Message 2638 - Posted: 10 May 2020, 13:28:31 UTC

hi all, I made a vid on youtube benching wu's for RADEON VII Gigabyte // Collatz Conjecture 1_WUs BOINC link is https://www.youtube.com/watch?v=ZNzuN4S80Ek

RADEON R9 290X GIGABYTE // Collatz Conjecture 1_WUs BOINC
https://www.youtube.com/watch?v=q29ihVlw8t4

really impressed with this card
ID: 2638 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProDigit

Send message
Joined: 23 Nov 19
Posts: 13
Credit: 6,378,487,274
RAC: 625,594
Message 2753 - Posted: 3 Jun 2020, 1:55:01 UTC
Last modified: 3 Jun 2020, 2:10:58 UTC

Edit: Nevermind. Fixed! syntax error.
ID: 2753 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 11 Aug 09
Posts: 963
Credit: 24,557,133,931
RAC: 31,138
Message 2827 - Posted: 24 Jul 2020, 22:46:36 UTC - in response to Message 2444.  

Hi!
I'm using the Collatz on a system with 3x RTX 2080 Ti GPUs, and a 6-core Intel Core i5 at 4Ghz.
Boinc tells me each instance of the Collatz uses 0.997 CPU, thus for the 3 GPUs, it utilizes 2 CPU cores.
However, both CPU cores are utilized at less than 20% (results from htop).

I want to force the Collatz to use the 3 GPUs with a setting of CPU = 0.3, so that 3 (possibly 4) GPUs would use up 1 CPU core instead of 2, freeing 1 more CPU core for other projects.

I'm running Linux, an Ubuntu variant.

I found the app_config.xml directory in /var/lib/boinc-client/projects/boinc.thesonntags.com_collatz/

What should I populate it with?
Like, what project name should I put, and what's the preferred format?

(or is there another way to do this?)

Thanks!


Did you also put in the Optimzed settings found in the number crunching/optimising the apps thread?
ID: 2827 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Help: Adjust CPU usage for GPU


©2022 Jon Sonntag; All rights reserved