Message boards :
Number crunching :
Running only one GPU
Message board moderation
Author | Message |
---|---|
S\ Send message Joined: 18 Oct 11 Posts: 28 Credit: 9,093,005 RAC: 0 |
Is there a command for the config file where I can ask it to only run on 1 of 2 GPUs? That way I can save my other GPU for a different piece of software? |
The_Matrix Send message Joined: 17 Nov 03 Posts: 414 Credit: 5,827,850 RAC: 0 |
https://boinc.berkeley.edu/wiki/Client_configuration U can use "exclude_gpu" in the cc_config.xml file |
AMDave Send message Joined: 9 Mar 01 Posts: 234 Credit: 11,671,730 RAC: 0 |
Suppose there are more than 1 GPUs, how do you determine the <device_num>of the GPUs you want to exclude? <exclude_gpu> <url>project_URL</url> [<device_num>N</device_num>] [<type>NVIDIA|ATI|intel_gpu</type>] [<app>appname</app>] </exclude_gpu> because If <device_num> is not specified, exclude all GPUs of the given type. |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14650 Credit: 200,643,578 RAC: 874 |
Suppose there are more than 1 GPUs, how do you determine the Look at the startup lines in the BOINC Event Log. Each device is identified by name and number. |
AMDave Send message Joined: 9 Mar 01 Posts: 234 Credit: 11,671,730 RAC: 0 |
@Richard By using the "exclude_gpu" option in cc_config files in respective project folders, would you be able to run different projects on specific GPUs concurrently?  For example, Project A would run on <device_num> 2, and Project B would run on <device_num> 1. |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14650 Credit: 200,643,578 RAC: 874 |
Well, something like that - it's possible, but don't do it like that. cc_config.xml is one file - singular. It's a BOINC file, and it belongs in the root of the BOINCdata folder tree, wherever you have chosen to put that on your personal system. Tip - the best thing to do is to open the Event Log options dialog (Ctrl+Shift+F), make a trivial change or two (<cpu_sched> and <sched_op_debug> are useful, without being too verbose), and 'OK' the changes. That will write out a complete cc_config.xml file with all allowed tags and current values: it's a really helpful framework to build your customisations on. Then, open Client Configuration Options and build your GPU exclusions according to the example given. In your example, each project will need a separate <exclude_gpu> block of its own. Remember that [square brackets] in computer manuals are used to denote optional sections - either delete the brackets to make the directive active, or leave out the line completely if you don't want it. <exclude_gpu> is one of the cases where you need a complete client restart to activate it - 'Read config files' isn't enough. You may encounter some unexpected changes in work fetch and scheduling after setting a GPU exclusion - I've found one significant (replicated and reported) bug in there, but nothing's been done about it yet. |
AMDave Send message Joined: 9 Mar 01 Posts: 234 Credit: 11,671,730 RAC: 0 |
Well, something like that - it's possible, but don't do it like that. I thought it covered all projects on a rig, I was a tad confused.  I had forgotten that I had created a cc_config.xml file months ago. Then, open Client Configuration Options and build your GPU exclusions according to the example given. In your example, each project will need a separate <exclude_gpu> block of its own. It would be easier having multiple <exclude_gpu> blocks in one place. Immense thanks. |
©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.