Author |
Message |
darkclown Volunteer tester Send message
Joined: 3 Oct 06 Posts: 333 ID: 3605 Credit: 1,553,233,321 RAC: 539,378
                          
|
Hi,
I've got two nVidia GTX 1060s - one is the 3GB version, the other the 6GB version (upgrade when i got my new system. ) I want to put the 3GB into the system, and have it be the GPU used for projects; is there an easy (ie. gui) way to accomplish this, or do i need to update an xml file to say "only use GPU x"?
Thanks.
____________
My lucky #: 60133106^131072+1 (GFN 17-mega) |
|
|
|
Hi,
I don't know about gui solution but here is the CC_CONFIG of one of my BOINC clients, among other thing it tells BOINC to ignore GPU #1. In this case (my case) it will use GPU #0.
<cc_config>
<options>
<allow_multiple_clients>1</allow_multiple_clients>
<allow_remote_gui_rpc>1</allow_remote_gui_rpc>
<use_all_gpus>1</use_all_gpus>
<ignore_nvidia_dev>1</ignore_nvidia_dev>
<report_results_immediately>1</report_results_immediately>
</options>
</cc_config> |
|
|
darkclown Volunteer tester Send message
Joined: 3 Oct 06 Posts: 333 ID: 3605 Credit: 1,553,233,321 RAC: 539,378
                          
|
That should work fine. I'll give that a go tonight/whever i get the other GPU installed.
Thanks.
____________
My lucky #: 60133106^131072+1 (GFN 17-mega) |
|
|
darkclown Volunteer tester Send message
Joined: 3 Oct 06 Posts: 333 ID: 3605 Credit: 1,553,233,321 RAC: 539,378
                          
|
What if i want specific PG tasks to run on card0 vs card1?
ie. Card0 - GFN17-mega, Card1 - PPS Sieve.
____________
My lucky #: 60133106^131072+1 (GFN 17-mega) |
|
|
mikey Send message
Joined: 17 Mar 09 Posts: 1898 ID: 37043 Credit: 826,175,726 RAC: 611,088
                     
|
What if i want specific PG tasks to run on card0 vs card1?
ie. Card0 - GFN17-mega, Card1 - PPS Sieve.
I think you will have to do a 2nd installation of Boinc in a separate directory and exclude gpu0 from one instance of Boinc and gpu1 from the other instance, then put them in separate venues and you should be good to go.
|
|
|
Azmodes Volunteer tester
 Send message
Joined: 30 Dec 16 Posts: 184 ID: 479275 Credit: 2,203,435,344 RAC: 2,356
                        
|
Nah, that can be done with some config file magic:
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>0</device_num>
<app>pps_sr2sieve</app>
</exclude_gpu>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>1</device_num>
<app>genefer17mega</app>
</exclude_gpu>
____________
Long live the sievers.
+ Encyclopaedia Metallum: The Metal Archives + |
|
|
darkclown Volunteer tester Send message
Joined: 3 Oct 06 Posts: 333 ID: 3605 Credit: 1,553,233,321 RAC: 539,378
                          
|
Nah, that can be done with some config file magic:
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>0</device_num>
<app>pps_sr2sieve</app>
</exclude_gpu>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>1</device_num>
<app>genefer17mega</app>
</exclude_gpu>
and that just goes in cc_config.xml in the primegrid project directory?
____________
My lucky #: 60133106^131072+1 (GFN 17-mega) |
|
|
Azmodes Volunteer tester
 Send message
Joined: 30 Dec 16 Posts: 184 ID: 479275 Credit: 2,203,435,344 RAC: 2,356
                        
|
Correct. Under <options></options>
____________
Long live the sievers.
+ Encyclopaedia Metallum: The Metal Archives + |
|
|
|
If I want to exclude a gpu from multiple apps, do simply create multiple <exclude_gpu> sections listing each app? (I tried this and it didn't work). Or is there some other magic like comma separating app names?
Nah, that can be done with some config file magic:
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>0</device_num>
<app>pps_sr2sieve</app>
</exclude_gpu>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>1</device_num>
<app>genefer17mega</app>
</exclude_gpu>
|
|
|
|
My system would only use 1 GPU until I updated my cc_config.xml in my BOINC directory:
<cc_config>
<options>
<use_all_gpus>1</use_all_gpus>
</options>
</cc_config>
Then my attempt to have my 1060 do generfer18 and the 2080ti do something else (in this case genefer19).
My cc_config.xml that is in my BOINC\projects\www.primegrid.com directory.
<cc_config>
<options>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>0</device_num>
<app>genefer18</app>
</exclude_gpu>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>1</device_num>
<app>genefer19</app>
</exclude_gpu>
</options>
</cc_config>
Both GPU's are running 19's with this config. Clearly I need to learn something. :) |
|
|
Monkeydee Volunteer tester
 Send message
Joined: 8 Dec 13 Posts: 548 ID: 284516 Credit: 1,711,215,480 RAC: 3,317,431
                            
|
My cc_config.xml that is in my BOINC\projects\www.primegrid.com directory.
I think that's your issue.
I'm fairly certain that the cc_config.xml needs to be in the main BOINC directory and not in the project sub-directory.
____________
My Primes
Badge Score: 4*2 + 6*2 + 7*1 + 8*11 + 9*1 + 11*3 + 12*1 = 169
|
|
|
mikey Send message
Joined: 17 Mar 09 Posts: 1898 ID: 37043 Credit: 826,175,726 RAC: 611,088
                     
|
Then my attempt to have my 1060 do generfer18 and the 2080ti do something else (in this case genefer19).
My cc_config.xml that is in my BOINC\projects\www.primegrid.com directory.
<cc_config>
<options>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>0</device_num>
<app>genefer18</app>
</exclude_gpu>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>1</device_num>
<app>genefer19</app>
</exclude_gpu>
</options>
</cc_config>
Both GPU's are running 19's with this config. Clearly I need to learn something. :)
You are trying to combine an app_config.xml file with a cc_config.xml file and that won't work. The exclude lines do work in a cc_config.xml file but the app lines don't. The cc_config.xml file is more for generic Boinc things while the app_config.xml file is for project specific things. So if you want to exclude one gpu from PrimeGrid then a cc_config.xml file is what you want BUT it seems you want to have both gpu's running here at PrimeGrid but one running one app and the other gpu running the other app, that is NOT what a cc_config.xml file is for that's more an app_config.xml file.
The cc_config.xml file goes in the generic Boinc folder which in Windows is usually in C:\program data\Boinc. While the app_config.xml file goes in the folder for that particular project which in this case is PrimeGrid.
One other thing ALWAYS use Notepad in Windows and a text editor in Linux to make and edit these xml files, anything else and Boinc may not read them correctly! |
|
|
|
Nah, that can be done with some config file magic:
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>0</device_num>
<app>pps_sr2sieve</app>
</exclude_gpu>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>1</device_num>
<app>genefer17mega</app>
</exclude_gpu>
and that just goes in cc_config.xml in the primegrid project directory?
Correct. Under <options></options>
Thanks.
What's confusing is where it all goes. In the responses above the cc_config.xml can go in the project directory (if I'm reading it right). So it appears it can go in both places? |
|
|
mikey Send message
Joined: 17 Mar 09 Posts: 1898 ID: 37043 Credit: 826,175,726 RAC: 611,088
                     
|
Nah, that can be done with some config file magic:
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>0</device_num>
<app>pps_sr2sieve</app>
</exclude_gpu>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>1</device_num>
<app>genefer17mega</app>
</exclude_gpu>
and that just goes in cc_config.xml in the primegrid project directory?
Correct. Under <options></options>
Thanks.
What's confusing is where it all goes. In the responses above the cc_config.xml can go in the project directory (if I'm reading it right). So it appears it can go in both places?
NO it can't, if it's not in the right place then Boinc won't read it and it won't work. The cc_config.xml file is generic directions for Boinc to use for all projects so goes in the Boinc folder, while the app_config.xml file is project specific so must go into the project folder it's written for. |
|
|
|
I sort of think of the two files like this:
capitalization for effect only
CC_config.xml = Computer Config -> general configuration of BOINC for the computer.
APP_config.xml = All Project Preferences -> preferences for that particular project.
It's not perfect, but it keeps me from getting confused about the two.
Anything you change in cc_config.xml affects BOINC, everything in BOINC.
Anything you change in an app_config.xml only affects that specific project.
This is the reason for the locations of the files also.
cc_config.xml is in the C:\Program Data\BOINC folder on Windows because it affects all of BOINC.
The app_config.xml files are in specific project folders because they only affect that project and nothing else. Plus you can't have two files names app_config.xml in the same folder.
Like I said, this is how I look at it to make my life easier. I hope it helps someone else clear up any confusion.
Also, there is a great guide over on overclockers.net I believe for running multiple instances of BOINC on the same computer for various reasons. I do this and run 3 instances. One is CPU only, one is for GPU0 only and one for GPU1 only. Each GPU instance has it's own venue at each project I run and I can select not only which projects are ran by that card, but which sub-projects from that project if it offers sub-projects. I set it up on Linux after only using it for maybe a week. If anyone needs any help, PM me and I'll do what I can.
John T |
|
|
|
Nah, that can be done with some config file magic:
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>0</device_num>
<app>pps_sr2sieve</app>
</exclude_gpu>
<exclude_gpu>
<url>http://www.primegrid.com/</url>
<device_num>1</device_num>
<app>genefer17mega</app>
</exclude_gpu>
So is the response earlier in the thread simply wrong? It appears so...
Looks like like the most straightforward approach is multiple boinc instances. I'll have to give that a try. Windows 10... |
|
|
Azmodes Volunteer tester
 Send message
Joined: 30 Dec 16 Posts: 184 ID: 479275 Credit: 2,203,435,344 RAC: 2,356
                        
|
Yes and no. I slightly misread your question, I guess. To clarify, that bit of text goes in the general BOINC directory, not under any projects in particular. The general directory only has cc_config.xml, projects only have app_config.xml. Neither will accept the other one.
____________
Long live the sievers.
+ Encyclopaedia Metallum: The Metal Archives + |
|
|
Azmodes Volunteer tester
 Send message
Joined: 30 Dec 16 Posts: 184 ID: 479275 Credit: 2,203,435,344 RAC: 2,356
                        
|
As an addendum, I remember that I tried something like this myself once and while the config file works, the way the client handles work cache leads to one GPU getting starved because it doesn't download more tasks sometimes if the other GPU is still busy. I don't remember the specifics right now, but your best bet is probably multiple instances after all.
____________
Long live the sievers.
+ Encyclopaedia Metallum: The Metal Archives + |
|
|
|
Also, there is a great guide over on overclockers.net I believe for running multiple instances of BOINC on the same computer for various reasons. I do this and run 3 instances. One is CPU only, one is for GPU0 only and one for GPU1 only. Each GPU instance has it's own venue at each project I run and I can select not only which projects are ran by that card, but which sub-projects from that project if it offers sub-projects. I set it up on Linux after only using it for maybe a week. If anyone needs any help, PM me and I'll do what I can.
John T
Thanks John, this was super helpful. It's a little tedious but I did eventually get it to work. |
|
|
|
Thanks John, this was super helpful. It's a little tedious but I did eventually get it to work.
No problem, glad I could help.
Being a new Ubuntu user, I also found it complicated. I reread the parts that were relevant to Linux more than half a dozen times before I even attempted it the first time. And it took me more than a couple of tries to get it all set up correctly. But it's running fine now.
John T |
|
|