Exclude specific GPU from specific executable

Questions and Answers : GPU applications : Exclude specific GPU from specific executable
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Azmodes
Avatar

Send message
Joined: 28 Nov 16
Posts: 11
Credit: 6,317,066
RAC: 6
Austria
Message 1841730 - Posted: 12 Jan 2017, 23:51:24 UTC
Last modified: 12 Jan 2017, 23:52:55 UTC

I know there's an option to exclude GPU computing for defined executables, as well as excluding specific GPUs from specific projects, but how about telling BOINC to suspend a specific GPU when a specific program is running (leaving the other active)? I have two GPUs and would like to have the better/main one stop crunching when I'm gaming, but leave the weaker one active.

Is there some config file magic that accomplishes this?
ID: 1841730 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1841734 - Posted: 13 Jan 2017, 0:24:56 UTC - in response to Message 1841730.  
Last modified: 13 Jan 2017, 0:25:18 UTC

https://boinc.berkeley.edu/wiki/Client_configuration
<exclude_gpu>
Don't use the given GPU for the given project. If <device_num> is not specified, exclude all GPUs of the given type. <type> is required if your computer has more than one type of GPU; otherwise it can be omitted. <app> specifies the short name of an application (i.e. the <name> element within the <app> element in client_state.xml). If specified, only tasks for that app are excluded. You may include multiple <exclude_gpu> elements. If you change GPU exclusions, you must restart the BOINC client for these changes to take effect. If you want to exclude the GPU use for all projects, look at the <ignore_ati_dev>, <ignore_nvidia_dev> and <ignore_intel_dev> options further down. Requires a client restart.

<exclude_gpu>
   <url>project_URL</url>
   [<device_num>N</device_num>]
   [<type>NVIDIA|ATI|intel_gpu</type>]
   [<app>appname</app>]
</exclude_gpu>


ID: 1841734 · Report as offensive
Profile Azmodes
Avatar

Send message
Joined: 28 Nov 16
Posts: 11
Credit: 6,317,066
RAC: 6
Austria
Message 1841840 - Posted: 13 Jan 2017, 9:36:11 UTC - in response to Message 1841734.  
Last modified: 13 Jan 2017, 9:38:38 UTC

Well, isn't that referring to a project application, not a program? Unless I'm confusing something here...

What I would like to have BOINC do is this:

    there's GPU 0 and GPU 1, both running by default for all projects
    I run program_A.exe
    GPU 0 is suspended, GPU 1 keeps working, for all projects



I want to be able to be selective about GPUs when it comes to exclusive programs, in a nutshell.


ID: 1841840 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1841845 - Posted: 13 Jan 2017, 11:15:30 UTC - in response to Message 1841840.  

There's no option for that, other than to switch between two cc_config.xml files where you exclude one GPU before gaming and exit & restart the client.
It's been requested in Github as ticket #1459 but unless a volunteer developer picks this up, it won't be added anytime soon.
ID: 1841845 · Report as offensive
Profile Azmodes
Avatar

Send message
Joined: 28 Nov 16
Posts: 11
Credit: 6,317,066
RAC: 6
Austria
Message 1841854 - Posted: 13 Jan 2017, 12:16:01 UTC - in response to Message 1841845.  

Gotcha.
ID: 1841854 · Report as offensive

Questions and Answers : GPU applications : Exclude specific GPU from specific executable


 
©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.