Welcome to MilkyWay@home

Some seconds in cuda crunching saved

Message boards : Number crunching : Some seconds in cuda crunching saved
Message board moderation

To post messages, you must log in.

AuthorMessage
Rantanplan

Send message
Joined: 19 Aug 11
Posts: 38
Credit: 50,018,810
RAC: 0
Message 75108 - Posted: 5 Mar 2023, 18:03:29 UTC

Hy, the system variable

CUDA_CACHE_MAXSIZE 4294967296

can enhance cuda crunching times, please test it by yourselfes.

Greetings for germany
ID: 75108 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Ian&Steve C.
Avatar

Send message
Joined: 18 Nov 22
Posts: 84
Credit: 639,549,760
RAC: 156,692
Message 75118 - Posted: 6 Mar 2023, 16:45:17 UTC - in response to Message 75108.  
Last modified: 6 Mar 2023, 16:45:55 UTC

Didn’t notice any difference really on my TitanV’s but I’ll let it run a bit longer.

Does it matter if the env variable is defined as int or str? I did export CUDA_CACHE_MAXSIZE=4294967296

Or maybe it’s more helpful for windows systems than Linux?

ID: 75118 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rantanplan

Send message
Joined: 19 Aug 11
Posts: 38
Credit: 50,018,810
RAC: 0
Message 75119 - Posted: 6 Mar 2023, 16:52:47 UTC

ok, windows is recommended.
ID: 75119 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rantanplan

Send message
Joined: 19 Aug 11
Posts: 38
Credit: 50,018,810
RAC: 0
Message 75121 - Posted: 6 Mar 2023, 19:05:42 UTC - in response to Message 75119.  
Last modified: 6 Mar 2023, 19:08:42 UTC

As i looking on my wu stats, there is no advantage
anymore visible. Crule thing.

As i am writing the advantage is back, creepy thing.

ok before there i haved streamed on twich, maybe thats the fault.
ID: 75121 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Joseph Stateson
Avatar

Send message
Joined: 18 Nov 08
Posts: 291
Credit: 2,461,693,501
RAC: 0
Message 75125 - Posted: 8 Mar 2023, 2:59:43 UTC - in response to Message 75108.  

Hy, the system variable

CUDA_CACHE_MAXSIZE 4294967296

can enhance cuda crunching times, please test it by yourselfes.

Greetings for germany


Milkyway GPU apps are all OpenCL. CUDA is not listed
ID: 75125 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Ian&Steve C.
Avatar

Send message
Joined: 18 Nov 22
Posts: 84
Credit: 639,549,760
RAC: 156,692
Message 75126 - Posted: 8 Mar 2023, 5:35:13 UTC - in response to Message 75125.  
Last modified: 8 Mar 2023, 5:50:25 UTC

Hy, the system variable

CUDA_CACHE_MAXSIZE 4294967296

can enhance cuda crunching times, please test it by yourselfes.

Greetings for germany


Milkyway GPU apps are all OpenCL. CUDA is not listed


Nvidia GPUs run CUDA. In terms of env variable naming, “CUDA” is synonymous with “NVIDIA” so CUDA environment variables can still be effective.

But this one isn’t.

ID: 75126 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rantanplan

Send message
Joined: 19 Aug 11
Posts: 38
Credit: 50,018,810
RAC: 0
Message 75128 - Posted: 8 Mar 2023, 12:25:00 UTC - in response to Message 75125.  

Milkyway GPU apps are all OpenCL. CUDA is not listed


There are no variables for cache settings for opencl.
ID: 75128 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
kotenok2000
Avatar

Send message
Joined: 22 May 11
Posts: 71
Credit: 5,665,599
RAC: 201
Message 75153 - Posted: 14 Mar 2023, 6:00:42 UTC

Like this?
ID: 75153 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Some seconds in cuda crunching saved

©2024 Astroinformatics Group