GPU version: kernel size tuning and less UI lags

Message boards : Number crunching : GPU version: kernel size tuning and less UI lags

To post messages, you must log in.

AuthorMessage
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 254
Credit: 72,424,228
RAC: 146
   
Message 335 - Posted: 10 Mar 2017, 18:24:04 UTC
Last modified: 10 Mar 2017, 20:32:05 UTC

Starting with version 1.11 it's possible to set kernel size for your GPUs at the preferences page.

Default kernel size is 20. This is what version 1.10 used as well. Available kernel sizes range from 16 to 21.

Smaller kernel size reduces UI lags, but increases OpenCL API overhead and therefore is slower.
Decrease kernel size if your user interface is laggy/unusable when running GPU version.

Larger kernel size increases UI lags, but uses GPU more efficiently.
Increase kernel size if GPU load is less than 100% and you don't have UI lags or the GPU is not used for display output at all.

Minimal kernel size (16) has been tested with AMD Radeon HD 5450 - the slowest GPU I could find, and it works fine with very little lags.
Maximal kernel size (21) brings 98-100% load even to GeForce GTX 1080 at the cost of some UI lags. Setting it to 21 makes sense only for very powerful GPUs because it also uses quite a bit more memory.

You can use this setting to fine-tune GPU version performance on your computers.
ID: 335 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Peppernrino
Avatar

Send message
Joined: 30 Jan 17
Posts: 12
Credit: 138,876,828
RAC: 689,268
    
Message 449 - Posted: 26 May 2017, 15:47:11 UTC - in response to Message 335.  
Last modified: 26 May 2017, 15:47:25 UTC

i am using a Radeon R9 270 with kernel size 21, and was getting some crashes while computing in tandem with Citizen Science Grid tasks.

after installing new GPU drivers, i noticed the monitor was set to shut off every 15 minutes (dummy settings from last install) and turning this off seems to have prevented the problem entirely. i think Amicable has trouble starting the GPU in a high kernel state while the GPU is sleeping... which is probably why you warned to not use size 21 if it's used as display GPU... it all makes sense now. lol. :D

my favourite project for GPU.
ID: 449 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
hsdecalc

Send message
Joined: 2 Mar 17
Posts: 1
Credit: 6,752,015
RAC: 92,199
    
Message 467 - Posted: 13 Jun 2017, 9:28:29 UTC
Last modified: 13 Jun 2017, 9:29:32 UTC

On my 1080Ti there is no change when using kernel size 21 (Amicable_OpenCL_v_1_18.exe). Still have only 33% GPU-Usage and more than one CPU-Usage.
I could run 3 WUs simultaneously. They need then about 520 sec instead 450 sec.
ID: 467 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 254
Credit: 72,424,228
RAC: 146
   
Message 468 - Posted: 13 Jun 2017, 9:37:36 UTC - in response to Message 467.  
Last modified: 13 Jun 2017, 9:38:26 UTC

Yes, you need to run multiple WUs because they're CPU heavy now: https://sech.me/boinc/Amicable/forum_thread.php?id=72
ID: 468 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Tex1954

Send message
Joined: 4 Feb 17
Posts: 4
Credit: 21,287,523
RAC: 4
   
Message 515 - Posted: 29 Jun 2017, 18:39:03 UTC
Last modified: 29 Jun 2017, 19:08:42 UTC

I'm running 3 tasks at the same time on a GTX-980 with Linux and still only get 54%-62% even when not running anything else...

Maybe I will try 4 tasks... and yes, Kernels set to 21...

8-)



EDIT: This is better with 4 tasks...

ID: 515 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Peppernrino
Avatar

Send message
Joined: 30 Jan 17
Posts: 12
Credit: 138,876,828
RAC: 689,268
    
Message 578 - Posted: 15 Jul 2017, 16:56:15 UTC

i went into the BIOS and disabled some dummy settings that i think crunchers should generally know, but aren't talked about in enough places. So here goes:

turn off c1e
turn off c6 state
turn off turbo
turn off cool n quiet
turn off apm

and there was another timing thing that i turned off, i'll figure it out after a restart and post here.

anyway, i've got everything back to full blast 100% with kernel 21 and have had NO errors since.
ID: 578 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
MeMoo

Send message
Joined: 23 Sep 17
Posts: 1
Credit: 67,897,075
RAC: 1,298,347
    
Message 633 - Posted: 8 Oct 2017, 18:45:25 UTC - in response to Message 578.  

i went into the BIOS and disabled some dummy settings that i think crunchers should generally know, but aren't talked about in enough places. So here goes:

turn off c1e
turn off c6 state
turn off turbo
turn off cool n quiet
turn off apm

and there was another timing thing that i turned off, i'll figure it out after a restart and post here.

anyway, i've got everything back to full blast 100% with kernel 21 and have had NO errors since.


Thanks for this tip. Will disabling all these settings generally work for all computers?
ID: 633 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
justsomeguy

Send message
Joined: 26 May 17
Posts: 1
Credit: 34,035,264
RAC: 643,027
    
Message 648 - Posted: 26 Oct 2017, 15:12:37 UTC - in response to Message 633.  

Should help on all...primarily, these are the throttling (cool&quiet) and power management (apm) settings.
I've been turning most of these off by default on all my equipment for years.
Good Luck!
ID: 648 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : GPU version: kernel size tuning and less UI lags


©2017 Sergei Chernykh