Script for disabling/enabling GPUs on the fly

Message boards : Number crunching : Script for disabling/enabling GPUs on the fly
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
hbomber
Volunteer tester

Send message
Joined: 2 May 01
Posts: 437
Credit: 50,852,854
RAC: 0
Bulgaria
Message 1086076 - Posted: 11 Mar 2011, 15:08:13 UTC
Last modified: 11 Mar 2011, 15:16:37 UTC

Yep, "--read_cc_config" does not bring the desired results.

P.S. If anyone needs the script working with ATI cards, lemme know. I don't own any of these red stallions, but it won't be hard to modify it.
ID: 1086076 · Report as offensive
Profile BilBg
Volunteer tester
Avatar

Send message
Joined: 27 May 07
Posts: 3720
Credit: 9,385,827
RAC: 0
Bulgaria
Message 1086092 - Posted: 11 Mar 2011, 16:12:40 UTC - in response to Message 1086047.  
Last modified: 11 Mar 2011, 16:30:19 UTC

... set clocks and fan, modify XML, restart BOINC.

I think - better first close BOINC, then change GPU clocks - it's not good to change clocks while SETI is running (may crash/hang ?)

Your observation that game need lower clocks and SETI works with higher clocks is strange - usually it is opposite.


script does not handle situations where BOINC core runs as service. If someone needs such functionality, let me know, I'll add it.

As you know Service install of BOINC can't use GPUs on Vista & 7 so it's highly improbable someone will need to enable/disable GPUs on Service install.


If anyone needs the script working with ATI cards, lemme know.

It's somehow stupid that BOINC have options

<ignore_cuda_dev>0</ignore_cuda_dev>
<ignore_ati_dev>0</ignore_ati_dev>

and not just

<ignore_GPU_dev>0</ignore_GPU_dev>
or
<ignore_Coprocessor_dev>0</ignore_Coprocessor_dev>


 


- ALF - "Find out what you don't do well ..... then don't do it!" :)
 
ID: 1086092 · Report as offensive
hbomber
Volunteer tester

Send message
Joined: 2 May 01
Posts: 437
Credit: 50,852,854
RAC: 0
Bulgaria
Message 1086117 - Posted: 11 Mar 2011, 17:55:39 UTC - in response to Message 1086092.  
Last modified: 11 Mar 2011, 17:57:12 UTC


I think - better first close BOINC, then change GPU clocks - it's not good to change clocks while SETI is running (may crash/hang ?)

It works in this way - setting clocks before start, after exit of BOINC. The scheduler, part of this new version, has options allowing to manipulate when to run external programs, per instance - before or after BOINC, and, more important, to wait, or not to wait one to exit and then run next program in queue. This is important for programs which not allow more than one instance running at a time, like case with nvidiaInspector.

Anyway, its good precaution, although I have never experienced BOINC crash or whatever malfunction of BOINC/SETI software while changing clocks. Of course, the values used are safe, pretested before any actual SETI calculations, which may reach the server.


Your observation that game need lower clocks and SETI works with higher clocks is strange - usually it is opposite.

Some parts of GPU are not used or at least not heavily used by CUDA, like ROPs, TMUs, AFAIK. So they can fail during game, while not causing trouble with CUDA app.
ID: 1086117 · Report as offensive
Previous · 1 · 2

Message boards : Number crunching : Script for disabling/enabling GPUs on the fly


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.