Advanced search

Message boards : Graphics cards (GPUs) : How do you increase GPU utilization?

Author Message
Kiyometa
Send message
Joined: 12 Feb 19
Posts: 2
Credit: 31,349,375
RAC: 0
Level
Val
Scientific publications
wat
Message 52310 - Posted: 19 Jul 2019 | 14:11:32 UTC

Hey guys!

Been doing this for a short bit now, and was wondering if there was a way to increase GPU load. I run GPUgrid and Seti@home (as well as WCG and another) and was wondering if there was a way to increase my GPU load. My GPU is only running at about 2-10% utilization at any time and would love to try to get more umph out of my GTX 1080 Ti when I'm not gaming.

Anyone know how to do so?

Thanks for any help!

Sincerely,
Kiyometa

PappaLitto
Send message
Joined: 21 Mar 16
Posts: 511
Credit: 4,672,242,755
RAC: 0
Level
Arg
Scientific publications
watwatwatwatwatwatwatwat
Message 52311 - Posted: 19 Jul 2019 | 15:17:47 UTC - in response to Message 52310.

There is a setting that is especially potent on Linux called SWAN_SYNC. This parameter also helps on Windows but not to quite the extent as on Linux. I don't have time at the moment to explain how to enable it but perhaps someone else can.

Profile Retvari Zoltan
Avatar
Send message
Joined: 20 Jan 09
Posts: 2343
Credit: 16,222,865,968
RAC: 1,764,666
Level
Trp
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 52313 - Posted: 19 Jul 2019 | 19:19:47 UTC - in response to Message 52310.
Last modified: 19 Jul 2019 | 19:21:07 UTC

My GPU is only running at about 2-10% utilization at any time
I guess you have this readout from Windows task manager's GPU tab. You should change the view of one of the graphs to "CUDA" to get the right values. Judging by the task's runtimes on your host you should have about 90% GPU utilization for "long run" tasks. "Short run" tasks may yield lower GPU utilization, as these are intended for low end cards. Preferably you should run "long run" tasks on your GTX 1080Ti. (You can change it in your preferences at the GPUGrid webpage, even though this part is broken.)

... and would love to try to get more umph out of my GTX 1080 Ti when I'm not gaming.
Anyone know how to do so?

You can try to reduce the number of CPU tasks running (if you run any of them) preferably to 8 (or 7, if you use SWAN_SYNC), or even less.

You can try to apply the swan_sync environmental value:
Press Windows key + R
Type sysdm.cpl and press [enter]
Click on the "Advanced" tab (the middle one)
Click on [Environmental Variables] (it's near the lower right corner)
Look for the lower section called "System Variables", click on the [New] button below the list of "System Variables".
Type swan_sync in the name field
Type 1 in the Value field
Click [OK] 3 times.
Exit BOINC manager with stopping scientific applications.
Start BOINC manager.

You should also create an app_info.xml file for BOINC manager to notice that the GPUGrid app is using 1 full CPU.
The app_config.xml file should be placed to the project's home directory (by default it's at c:\ProgramData\BOINC\projects\www.gpugrid.net\)
Copy the following to the clipboard:
notepad c:\ProgramData\BOINC\projects\www.gpugrid.net\app_config.xml
Press Windows key + R, then paste and press enter.
Copy & paste the following text:

<app_config> <app> <name>acemdlong</name> <gpu_versions> <gpu_usage>1</gpu_usage> <cpu_usage>1</cpu_usage> </gpu_versions> </app> <app> <name>acemdshort</name> <gpu_versions> <gpu_usage>1</gpu_usage> <cpu_usage>1</cpu_usage> </gpu_versions> </app> </app_config>


Click file -> save and click [save].
Exit BOINC manager with stopping scientific applications.
Start BOINC manager.
(If your BOINC manager is running, you can click Options -> read config files.)

Kiyometa
Send message
Joined: 12 Feb 19
Posts: 2
Credit: 31,349,375
RAC: 0
Level
Val
Scientific publications
wat
Message 52316 - Posted: 19 Jul 2019 | 22:26:29 UTC - in response to Message 52313.

Sweet, got it peaking to 100% now.
Thanks for the help!

Wilgard
Send message
Joined: 4 Mar 20
Posts: 14
Credit: 3,127,716
RAC: 0
Level
Ala
Scientific publications
wat
Message 54333 - Posted: 15 Apr 2020 | 8:53:33 UTC - in response to Message 52316.

Hello,

I try your solution but it does not change anything.
I also add one more node in the xml app file:


<app_config>
<app>
<name>acemdlong</name>
<gpu_versions>
<gpu_usage>1</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_versions>
</app>
<app>
<name>acemdshort</name>
<gpu_versions>
<gpu_usage>1</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_versions>
</app>
<app>
<name>acemd3</name>
<gpu_versions>
<gpu_usage>1</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_versions>
</app>
</app_config>


Because I have this issue messsages:
https://i.ibb.co/6Dn4xZZ/GPUGRID-acemd.jpg


Best Regards,

Wilgard

Aurum
Avatar
Send message
Joined: 12 Jul 17
Posts: 401
Credit: 16,755,010,632
RAC: 180,567
Level
Trp
Scientific publications
watwatwat
Message 54336 - Posted: 15 Apr 2020 | 15:17:53 UTC - in response to Message 54333.

acemd3 is the only project running now. The other two are extinct: acemdshort & acemdlong.
Not sure what you're trying to solve.
BTW, those warning messages may also appear just because you have no WUs of that type downloaded. Just ignore it.

Keith Myers
Send message
Joined: 13 Dec 17
Posts: 1341
Credit: 7,681,721,308
RAC: 13,169,240
Level
Tyr
Scientific publications
watwatwatwatwat
Message 54348 - Posted: 16 Apr 2020 | 6:53:14 UTC

Yes, just delete the app_config file for the project. It is not needed for just the one app that is available.

Wilgard
Send message
Joined: 4 Mar 20
Posts: 14
Credit: 3,127,716
RAC: 0
Level
Ala
Scientific publications
wat
Message 54351 - Posted: 16 Apr 2020 | 8:49:44 UTC - in response to Message 54348.

Ok, but in this case, what should I have to change to "increase GPU utilization" ?

Ian&Steve C.
Avatar
Send message
Joined: 21 Feb 20
Posts: 1069
Credit: 40,231,533,983
RAC: 432
Level
Trp
Scientific publications
wat
Message 54353 - Posted: 16 Apr 2020 | 14:04:19 UTC - in response to Message 54351.

the best way is to reduce the CPU tasks that are running.

also your laptop with the GT620M GPU in it is too old to work on this project.
____________

Wilgard
Send message
Joined: 4 Mar 20
Posts: 14
Credit: 3,127,716
RAC: 0
Level
Ala
Scientific publications
wat
Message 54357 - Posted: 17 Apr 2020 | 7:31:10 UTC - in response to Message 54353.

Hi Ian&Steve C,
How do you do that ?
I ask for the other laptop with NVIDIA Quadro M520.

Ian&Steve C.
Avatar
Send message
Joined: 21 Feb 20
Posts: 1069
Credit: 40,231,533,983
RAC: 432
Level
Trp
Scientific publications
wat
Message 54360 - Posted: 17 Apr 2020 | 14:56:38 UTC - in response to Message 54357.

set your cpu % in the compute preferences to below 100%. set it to 80 or something.
____________

Wilgard
Send message
Joined: 4 Mar 20
Posts: 14
Credit: 3,127,716
RAC: 0
Level
Ala
Scientific publications
wat
Message 54398 - Posted: 21 Apr 2020 | 12:30:07 UTC - in response to Message 54360.

I use mutiple projects:
WCG
LCH
GPUGRID
Rosetta
CPDN
So when CPU preference is at 100% I have 4 workunits which work like :
- 1 GPUGRID
- 1 CWG
- 2 Roretta
If I have to 80% one of them is set in pause mode, but the GPU part of the WU of gpugrid does not change at all.

Ian&Steve C.
Avatar
Send message
Joined: 21 Feb 20
Posts: 1069
Credit: 40,231,533,983
RAC: 432
Level
Trp
Scientific publications
wat
Message 54399 - Posted: 21 Apr 2020 | 13:52:48 UTC - in response to Message 54398.

you have to make a compromise somewhere. using all of your CPU for other tasks is starving the GPUGRID task of resources. without a full CPU thread feeding the GPU, you will suffer performance loss like you are seeing. you're trying to run 5 jobs that all want a full CPU thread, with only 4 CPU threads.

you will either have to deal with the low GPU utilization, or accept that you will have to stop processing work on another CPU thread.
____________

Wilgard
Send message
Joined: 4 Mar 20
Posts: 14
Credit: 3,127,716
RAC: 0
Level
Ala
Scientific publications
wat
Message 54401 - Posted: 21 Apr 2020 | 15:44:16 UTC - in response to Message 54399.

In fact I don't want to do any compromise so having a CPU to 100% and a GPU to 100% too.
But as you said i have to do a compromise so I prefer the current state thus a lower GPU usage.
Thank you

Post to thread

Message boards : Graphics cards (GPUs) : How do you increase GPU utilization?

//