Message boards : GPUs : Individual preferences for 2 GPUs
Message board moderation
Author | Message |
---|---|
Send message Joined: 26 Feb 16 Posts: 1 |
I have 2 GPUs. One has no monitor and may run BOINC all the time. The other is connected to my two monitors and I would like it to not run when user active. I tried setting computing preference to run GPU always and then put the following in the account xml file for the project I want to only run when user not active. But this does not seem to work. The project runs all the time. <project_preferences> <resource_share>10</resource_share> <no_cpu>1</no_cpu> <no_ati>1</no_ati> <no_cuda>0</no_cuda> <run_gpu_if_user_active>0</run_gpu_if_user_active> <idle_time_to_run>1</idle_time_to_run> Erik |
Send message Joined: 29 Aug 05 Posts: 15561 |
There are no individual preferences for more than one GPU. When you set Activity of something to 'run always' it will run always. Only when you set 'run based on preferences' will the preferences be followed. But those are for all GPUs, not individually. You should be able to do it by running a script or batchfile that you run prior to walking away from the keyboard. You can run it to change the client core configuration (cc_config.xml file) to change between <cc_config> <log_flags> </log_flags> <options> <ignore_nvidia_dev>1</ignore_nvidia_dev> </options> </cc_config> and <cc_config> <log_flags> </log_flags> <options> </options> </cc_config> The above example will in the first case ignore Nvidia GPU1 in the system. You say you have two GPUs, I assume in this case that they're both Nvidia and numbered GPU0 and GPU1. Because GPU decisions take place at BOINC start only, the script will have to exit the client and restart it with these cc_config.xml files. If you want help with that, let us know. We'll probably be able to write something up if you tell us more information and if you feel you want to walk this way. |
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.