Thread 'How to limit exclusive GPU apps to certain GPUs'

Message boards : BOINC Manager : How to limit exclusive GPU apps to certain GPUs
Message board moderation

To post messages, you must log in.

AuthorMessage
poxy

Send message
Joined: 18 Apr 12
Posts: 2
United States
Message 43571 - Posted: 18 Apr 2012, 6:44:07 UTC

I'd like to limit the exclusive gpu app to just certain GPUs. I have one GPU I always want BOINC to run on, while the other I use for games. I edit <ignore_nvidia_dev> every time I want to play a game without disabling all GPUs. Is there a better way to go about this? I didn't catch it if it was in the configuration or FAQ.
ID: 43571 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15561
Netherlands
Message 43573 - Posted: 18 Apr 2012, 8:54:03 UTC
Last modified: 18 Apr 2012, 12:24:11 UTC

You can use the <exclude_gpu> tag in cc_config.xml

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


<exclude_gpu>
   <url>project_URL</url>
   [<device_num>N</device_num>]
   [<type>nvidia|ati</type>]
   [<app>appname</app>]
</exclude_gpu>


e.g.
<exclude_gpu>
   <url>http://albert.phys.uwm.edu</url>
   <device_num>0</device_num>
   <type>ati</type>
   <app>einsteinbinary_BRP4</app>
</exclude_gpu>

The above will tell the first ATI GPU in the system (device 0 = first device) to ignore the Albert project their OpenCL application. You can use multiple excludes per file.
ID: 43573 · Report as offensive
poxy

Send message
Joined: 18 Apr 12
Posts: 2
United States
Message 43577 - Posted: 18 Apr 2012, 12:49:01 UTC - in response to Message 43573.  

I've used <exclude_gpu> at some point to limit what project apps a certain GPU should be allowed to run. I don't want to exclude a GPU from a project or one of their specific apps or use by BOINC in general. Can I specify the GPUs <exclusive_gpu_app> configuration applies to?
ID: 43577 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15561
Netherlands
Message 43580 - Posted: 18 Apr 2012, 13:58:11 UTC - in response to Message 43577.  

No, all the tags in cc_config.xml are for all or nowt. The only way to do what you want is to switch between two cc_config.xml files.

No need to request it either, as the developers are looking into ways to make the whole of BOINC easier to use, not more difficult.
ID: 43580 · Report as offensive

Message boards : BOINC Manager : How to limit exclusive GPU apps to certain GPUs

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.