GPU different run policies?

Message boards : Number crunching : GPU different run policies?
Message board moderation

To post messages, you must log in.

AuthorMessage
Sleepy
Volunteer tester
Avatar

Send message
Joined: 21 May 99
Posts: 194
Credit: 77,794,445
RAC: 64,133
Italy
Message 2007497 - Posted: 15 Aug 2019, 14:08:58 UTC

I apologise if this has been answered elsewhere.

Is there a way, fiddling with the configuration files, to have one GPU working no matter what and the other for example suspending BOINC crunching when the PC is in use (then I will also have to differentiate applications running, since the slower GPU - an oldish GTX 660 - is not capable of running the Linux special app)?

Boinc manager only has a global setting, and I do not need an all or nothing setting.

Thank you in advance and have a good WOW start (I am not in).

Sleepy
ID: 2007497 · Report as offensive     Reply Quote
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 8010
Credit: 486,898,900
RAC: 347,472
Panama
Message 2007507 - Posted: 15 Aug 2019, 14:34:37 UTC - in response to Message 2007497.  
Last modified: 15 Aug 2019, 14:35:23 UTC

I apologise if this has been answered elsewhere.

Is there a way, fiddling with the configuration files, to have one GPU working no matter what and the other for example suspending BOINC crunching when the PC is in use (then I will also have to differentiate applications running, since the slower GPU - an oldish GTX 660 - is not capable of running the Linux special app)?

Boinc manager only has a global setting, and I do not need an all or nothing setting.

Thank you in advance and have a good WOW start (I am not in).

Sleepy

You could start 2 instances of Boinc on the same host and program each one with an unique different configuration.
ID: 2007507 · Report as offensive     Reply Quote
Lazydude2
Volunteer tester

Send message
Joined: 17 Jan 01
Posts: 22
Credit: 86,135,384
RAC: 53,185
Sweden
Message 2007524 - Posted: 15 Aug 2019, 16:16:09 UTC - in response to Message 2007507.  

[quote][quote]I apologise if this has been answered elsewhere.

Is there a way, fiddling with the configuration files, to have one GPU working no matter what and the other for example suspending BOINC crunching when the PC is in use (then I will also have to differentiate applications running, since the slower GPU - an oldish GTX 660 - is not capable of running the Linux special app)?

Boinc manager only has a global setting, and I do not need an all or nothing setting.

Thank you in advance and have a good WOW start (I am not in).


Could this be to any use??
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>


Best Regards Lazy
ID: 2007524 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 9661
Credit: 890,312,798
RAC: 1,704,812
United States
Message 2007547 - Posted: 15 Aug 2019, 19:16:00 UTC

The gpu_exclude would be the easiest thing to do. Just add the exclusion in the cc_config.xml file for the GTX 660 Ti. BOINC won't use it. Just add this to the Options section of cc_config.xml if for example when you start BOINC and the Event Log startup enumerates the GTX 660 Ti as GPU1.
    <exclude_gpu>
        <url>http://setiathome.berkeley.edu/</url>
        <device_num>1</device_num>
        <type>NVIDIA</type>
    </exclude_gpu>

Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 2007547 · Report as offensive     Reply Quote
Sleepy
Volunteer tester
Avatar

Send message
Joined: 21 May 99
Posts: 194
Credit: 77,794,445
RAC: 64,133
Italy
Message 2007588 - Posted: 15 Aug 2019, 22:03:55 UTC - in response to Message 2007547.  

The gpu_exclude would be the easiest thing to do.
My problem is not excluding the 660, but allowing it to crunch the little or much that it can, but only when the PC is not being used (it is the GPU running the Plasma desktop).
But at the same time I want to keep the 1060 to crunch as if it were no tomorrow.

Therefore, I need some way to differentiate the two behaviors, not to cut the 660 altogether.

Then, the exclude setting can also be useful to tell BOINC which program to use (I still have to figure in detail how, but this would be my plan).

I am already using the exclude setting, but not for this purpose. The system can work also without it.
But I am using it nonetheless.

Thank you for any hint and for those that you already provided.

Sleepy
ID: 2007588 · Report as offensive     Reply Quote
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 8010
Credit: 486,898,900
RAC: 347,472
Panama
Message 2007590 - Posted: 15 Aug 2019, 22:08:09 UTC - in response to Message 2007588.  

The gpu_exclude would be the easiest thing to do.
My problem is not excluding the 660, but allowing it to crunch the little or much that it can, but only when the PC is not being used (it is the GPU running the Plasma desktop).
But at the same time I want to keep the 1060 to crunch as if it were no tomorrow.

Therefore, I need some way to differentiate the two behaviors, not to cut the 660 altogether.

Then, the exclude setting can also be useful to tell BOINC which program to use (I still have to figure in detail how, but this would be my plan).

I am already using the exclude setting, but not for this purpose. The system can work also without it.
But I am using it nonetheless.

Thank you for any hint and for those that you already provided.

Sleepy

CHeck my msg. The only way i know to do what you ask for is by run 2 instances of Boinc on the host. One optimized for each GPU.
ID: 2007590 · Report as offensive     Reply Quote
Profile Wiggo "Democratic Socialist"
Avatar

Send message
Joined: 24 Jan 00
Posts: 16700
Credit: 226,585,898
RAC: 160,589
Australia
Message 2007593 - Posted: 15 Aug 2019, 22:17:29 UTC

If your cc_config.xml has, "<use_all_gpus>1</use_all_gpus>", in it then either remove it or change the 1 to 0 then BOINC should only use the most productive card.

Cheers.
ID: 2007593 · Report as offensive     Reply Quote
Sleepy
Volunteer tester
Avatar

Send message
Joined: 21 May 99
Posts: 194
Credit: 77,794,445
RAC: 64,133
Italy
Message 2007599 - Posted: 15 Aug 2019, 22:28:47 UTC - in response to Message 2007590.  

CHeck my msg. The only way i know to do what you ask for is by run 2 instances of Boinc on the host. One optimized for each GPU.
Dear Juan,
I did read Indeed and I have taken note. I will try your advice. Thank you.

I was explaining better my desire, so that all can be more useful also to those who may read this thread in one year time.

Sleepy
ID: 2007599 · Report as offensive     Reply Quote
Gene Project Donor

Send message
Joined: 26 Apr 99
Posts: 129
Credit: 39,017,466
RAC: 47,021
United States
Message 2007651 - Posted: 16 Aug 2019, 4:42:12 UTC

@Sleepy
I think Juan is pointing you in the right direction. I am running two boinc instances for a different reason. I wanted better control of system resource allocation, eg. use more cores between 2 a.m. and 6 a.m. when system cooling demands are lower, and to split away projects that do not use the GPU from those that do. In my Linux system it took a little bit of study of the boinc documentation, and a few failed efforts, to get the configuration working the way I wanted it. I'm no help with your Windows situation except to encourage you to try it. With a single boinc instance, the <exclude_gpu> feature won't do what you want to do; but in, for example, a two-instance configuration the <exclude_gpu> feature comes into play to customize each boinc instance to apply to just one of your GPUs. (OT: I haven't checked, but I hope you posted something in one of the "20 years" threads a few months ago when you passed that milestone.) :)
ID: 2007651 · Report as offensive     Reply Quote
Sleepy
Volunteer tester
Avatar

Send message
Joined: 21 May 99
Posts: 194
Credit: 77,794,445
RAC: 64,133
Italy
Message 2007670 - Posted: 16 Aug 2019, 7:26:00 UTC - in response to Message 2007651.  

I'm no help with your Windows
I am under Linux :-)

I haven't checked, but I hope you posted something in one of the "20 years" threads a few months ago when you passed that milestone.) :)
I have! :-)
You are also a very long time running cruncher! Starting even before it was announced officially, I reckon!

Sleepy
ID: 2007670 · Report as offensive     Reply Quote
Gene Project Donor

Send message
Joined: 26 Apr 99
Posts: 129
Credit: 39,017,466
RAC: 47,021
United States
Message 2007819 - Posted: 17 Aug 2019, 6:17:31 UTC - in response to Message 2007670.  
Last modified: 17 Aug 2019, 6:18:16 UTC

@sleepy

O.K., Linux! I saw your computers in your other projects were all windows so I jumped to the conclusion that the same would be true for Seti.
A couple of boinc configuration things to be aware of, when running multiple instances. Each one needs to have "allow multiple clients" enabled; if that is done when boinc is started a file will be created "gui_rpc_auth.cfg" which contains a 32 (hexadecimal) character string; the standard "gui rpc port" number is 31420; when the second instance of boinc is started you will be prompted for a host and password - enter "localhost" in the host field and a *********(hidden) password will automatically appear (it comes from the gui_rpc_auth.cfg mentioned above). I have two directories for my two boinc instances (I think(?) that's required) so that each has its own project and configuration files. You will need to study the boinc documentation for a lot more details than I've outlined here. Have fun!!
Gene;
ID: 2007819 · Report as offensive     Reply Quote

Message boards : Number crunching : GPU different run policies?


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