Message boards : Graphics cards (GPUs) : How do you increase GPU utilization?
Author | Message |
---|---|
Hey guys! | |
ID: 52310 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 52311 | Rating: 0 | rate: / Reply Quote | |
My GPU is only running at about 2-10% utilization at any timeI 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. 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.) | |
ID: 52313 | Rating: 0 | rate: / Reply Quote | |
Sweet, got it peaking to 100% now. | |
ID: 52316 | Rating: 0 | rate: / Reply Quote | |
Hello, <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 | |
ID: 54333 | Rating: 0 | rate: / Reply Quote | |
acemd3 is the only project running now. The other two are extinct: acemdshort & acemdlong. | |
ID: 54336 | Rating: 0 | rate: / Reply Quote | |
Yes, just delete the app_config file for the project. It is not needed for just the one app that is available. | |
ID: 54348 | Rating: 0 | rate: / Reply Quote | |
Ok, but in this case, what should I have to change to "increase GPU utilization" ? | |
ID: 54351 | Rating: 0 | rate: / Reply Quote | |
the best way is to reduce the CPU tasks that are running. | |
ID: 54353 | Rating: 0 | rate: / Reply Quote | |
Hi Ian&Steve C, | |
ID: 54357 | Rating: 0 | rate: / Reply Quote | |
set your cpu % in the compute preferences to below 100%. set it to 80 or something. | |
ID: 54360 | Rating: 0 | rate: / Reply Quote | |
I use mutiple projects: | |
ID: 54398 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 54399 | Rating: 0 | rate: / Reply Quote | |
In fact I don't want to do any compromise so having a CPU to 100% and a GPU to 100% too. | |
ID: 54401 | Rating: 0 | rate: / Reply Quote | |
Message boards : Graphics cards (GPUs) : How do you increase GPU utilization?