Message boards : Graphics cards (GPUs) : how to choose which gpu (swan device 0, 1, 2, ) to use?
Author | Message |
---|---|
i am building a multi-gpu system (3 cards gtx 1070, 8gb) on threadripper-platform. but i want that gpugrid can use 2 of the cards for this project. 3rd card should left alone, so no gpugrid on 3rd card at all. | |
ID: 51780 | Rating: 0 | rate: / Reply Quote | |
I'm pretty sure you can't do that in the app_info. More than likely you will need to make a cc_config using the options command and exclude in the options section. Normally you would also need a app section but think you might be able skip that and exclude all work. Not 100 on that part. I know in the past I could exclude specific work units I didn't want on a GPU from different project this way. <cc_config> <options> <exclude_gpu> <url>http://www.gpugrid.net/</url> <device_num>2</device_num> </exclude_gpu> </options> </cc_config> Z The original cc_config.xml looks like the following. I only included it in case you need the app section. You would need one for each application if it doesn't like the above. <cc_config> <options> <exclude_gpu> <url>http://www.gpugrid.net/</url> <device_num>2</device_num> <app></app> </exclude_gpu> <exclude_gpu> <url>http://www.gpugrid.net/</url> <device_num>2</device_num> <app></app> </exclude_gpu> </options> </cc_config> ____________ | |
ID: 51781 | Rating: 0 | rate: / Reply Quote | |
my cc_config.xml file i have created a while ago to use 2 gpu's in my 2nd computer, with <use all gpu> 1. should i remove this part at all from cc_config? or should i adjust 1 => 0.66 (percentile)? having 3 cards, using 2 for boinc (2/3= 0.66)? next question....i would like to understand why i need <app> section in your 2nd coding? my 3rd system (this topic is about it) is dedicated to run 2 projects: world comunnity grid (only cpu usage) and gpugrid (only gpu usage) if i do need <app> section, can i put there acemdlong as the name of app? | |
ID: 51783 | Rating: 0 | rate: / Reply Quote | |
my cc_config.xml file i have created a while ago to use 2 gpu's in my 2nd computer, with <use all gpu> 1. should i remove this part at all from cc_config? or should i adjust 1 => 0.66 (percentile)? having 3 cards, using 2 for boinc (2/3= 0.66)? The only reason to have a <use all gpus> is if you have different GPUs in the same system. Example 1080, 1070, 1060. You would set it to 1 to mean on, 0 means off. There are no other values (0.33, 0.66.) If all the GPUs in your system are same then you can delete that. If you are using a mixed system, you will need to keep that and incorporate in into the new cc_config. next question....i would like to understand why i need <app> section in your 2nd coding? my 3rd system (this topic is about it) is dedicated to run 2 projects: You would need the <app> section if you decided you want to process a specific type of work unit but not another from a particular project. Here work is divided into 2 types, long and short. Other projects don't make that distinction. So for a project where all work is available, the only to prevent the project from sending a particular work unit would be to name it. You might want to do that if certain work units took an excessively long time to complete or ran your GPU too hot. To avoid that, you would basically say "I don't want these particular work units" Try it without the <app> section first and see if it avoids sending any work to the "3rd GPU" GPU numbering is 0, 1,2 Unfortunately how BOINC numbers your GPUs is different from how M$ numbers your GPUs. If all the GPUs are the same and you don't care which of the 3 isn't being used then you can just proceed. If however there is a particular GPU you don't want used, then you will have to systematically go thru the numbering in your cc_config, ie change it from 0, 1, 2 until you figure out which card goes with that value. Beware, turning off your computer will change that value, so you will have to repeat this process each time. If the shorten cc_config with the exclude doesn't work, then the longer one with the <app> will be needed. Yes you can put acemdlong in there but you will also need one for the short work units as well. ____________ | |
ID: 51784 | Rating: 0 | rate: / Reply Quote | |
You use how BOINC numbers the card in the Event Log startup to determine which card is 0,1,2. That numbering scheme is how you define the gpu_exclude statement in cc_config.xml. You can skip the app section. Just the project url that needs a specific gpu # excluded and the <device_num> definition. <exclude_gpu> <url>http://www.gpugrid.net/</url> <device_num>0</device_num> <type>NVIDIA</type> </exclude_gpu> | |
ID: 51812 | Rating: 0 | rate: / Reply Quote | |
You use how BOINC numbers the card in the Event Log startup to determine which card is 0,1,2. That numbering scheme is how you define the gpu_exclude statement in cc_config.xml. You can skip the app section. Just the project url that needs a specific gpu # excluded and the <device_num> definition. event log of boinc? or event log of windows itself? 16/05/2019 13:44:22 | | Starting BOINC client version 7.14.2 for windows_x86_64 16/05/2019 13:44:22 | | log flags: file_xfer, sched_ops, task 16/05/2019 13:44:22 | | Libraries: libcurl/7.47.1 OpenSSL/1.0.2g zlib/1.2.8 16/05/2019 13:44:22 | | Data directory: C:\ProgramData\BOINC 16/05/2019 13:44:22 | | Running under account erik 16/05/2019 13:44:22 | | CUDA: NVIDIA GPU 0: GeForce GTX 1070 (driver version 419.67, CUDA version 10.1, compute capability 6.1, 4096MB, 3556MB available, 6609 GFLOPS peak) 16/05/2019 13:44:22 | | CUDA: NVIDIA GPU 1: GeForce GTX 1070 (driver version 419.67, CUDA version 10.1, compute capability 6.1, 4096MB, 3556MB available, 6609 GFLOPS peak) 16/05/2019 13:44:22 | | OpenCL: NVIDIA GPU 0: GeForce GTX 1070 (driver version 419.67, device version OpenCL 1.2 CUDA, 8192MB, 3556MB available, 6609 GFLOPS peak) 16/05/2019 13:44:22 | | OpenCL: NVIDIA GPU 1: GeForce GTX 1070 (driver version 419.67, device version OpenCL 1.2 CUDA, 8192MB, 3556MB available, 6609 GFLOPS peak) 16/05/2019 13:44:22 | | Host name: x399-taichi 16/05/2019 13:44:22 | | Processor: 32 AuthenticAMD AMD Ryzen Threadripper 1950X 16-Core Processor [Family 23 Model 1 Stepping 1] 16/05/2019 13:44:22 | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni ssse3 fma cx16 sse4_1 sse4_2 movebe popcnt aes f16c rdrandsyscall nx lm avx avx2 svm sse4a osvw skinit wdt tce topx page1gb rdtscp fsgsbase bmi1 smep 16/05/2019 13:44:22 | | OS: Microsoft Windows 10: Enterprise x64 Edition, (10.00.18362.00) 16/05/2019 13:44:22 | | Memory: 15.88 GB physical, 18.76 GB virtual 16/05/2019 13:44:22 | | Disk: 237.91 GB total, 190.63 GB free 16/05/2019 13:44:22 | | Local time is UTC +2 hours 16/05/2019 13:44:22 | | No WSL found. 16/05/2019 13:44:22 | GPUGRID | Found app_config.xml 16/05/2019 13:44:22 | | Config: use all coprocessors 16/05/2019 13:44:22 | GPUGRID | URL http://www.gpugrid.net/; Computer ID 505426; resource share 100 16/05/2019 13:44:22 | GPUGRID | General prefs: from GPUGRID (last modified 30-Apr-2019 12:55:37) 16/05/2019 13:44:22 | GPUGRID | Host location: none 16/05/2019 13:44:22 | GPUGRID | General prefs: using your defaults 16/05/2019 13:44:22 | | Reading preferences override file 16/05/2019 13:44:22 | | Preferences: 16/05/2019 13:44:22 | | max memory usage when active: 8132.65 MB 16/05/2019 13:44:22 | | max memory usage when idle: 14638.77 MB 16/05/2019 13:44:22 | | max disk usage: 190.88 GB 16/05/2019 13:44:22 | | suspend work if non-BOINC CPU load exceeds 90% 16/05/2019 13:44:22 | | (to change preferences, visit a project web site or select Preferences in the Manager) 16/05/2019 13:44:22 | | Setting up project and slot directories 16/05/2019 13:44:22 | | Checking active tasks 16/05/2019 13:44:22 | | Setting up GUI RPC socket 16/05/2019 13:44:22 | | Checking presence of 34 project files 16/05/2019 13:46:30 | GPUGRID | project resumed by user 16/05/2019 13:46:32 | GPUGRID | Sending scheduler request: Requested by project. 16/05/2019 13:46:32 | GPUGRID | Not requesting tasks: "no new tasks" requested via Manager 16/05/2019 13:46:34 | GPUGRID | Scheduler request completed I got 2 of the same card, exactly the same, msi gtx1070 8gb. the first is connected to x16-slot, the second is connected to x8-slot. Boinc is right now running on the 2nd card via x8-slot, I can see this with gpu-z because this card is loaded for 90%. I blocked Boinc for new task request until I can figure out which gpu (1st on x16-slot or 2nd on x8-slot) to rule out. so, help me plz with <exclude> en <device_num> codes | |
ID: 51832 | Rating: 0 | rate: / Reply Quote | |
. I'm assuming this is the current cc_config in your system?? Boinc is right now running on the 2nd card via x8-slot, I can see this with gpu-z because this card is loaded for 90%. I'll also assume you want GPUGrid to run on the 1st card since you mentioned this. If so, then it's an easy fix. Change the 0 to 1 and restart BOINC. It should now be crunching on the x16 PCIe slot. Something I forgot to add. You will need to add a section to the cc_config to block the new project from sending work to the other card being use exclusively for GPUGrid. Otherwise the other project will send work for it as well. <exclude_gpu> <url>http://www.gpugrid.net/</url> <device_num>1</device_num> <type>NVIDIA</type> </exclude_gpu> <exclude_gpu> <url>url of other project</url> <device_num>0</device_num> <type>NVIDIA</type> </exclude_gpu> Good luck Z ____________ | |
ID: 51837 | Rating: 0 | rate: / Reply Quote | |
thanks for your reply. | |
ID: 51842 | Rating: 0 | rate: / Reply Quote | |
That I can not answer. Might ask RIchard or Keith as they seem familiar as to how BOINC is compiled to run. | |
ID: 51843 | Rating: 0 | rate: / Reply Quote | |
event log of boinc? or event log of windows itself? The Event Log of BOINC is how the cards are numbered for the gpu_exclude device number. | |
ID: 51848 | Rating: 0 | rate: / Reply Quote | |
event log of boinc? or event log of windows itself? did you see my event log of boinc? i have 2 of the same gpu, excatly the same names. same factory, same memory. now i can mamage which card to exclude because i now have 2 gpu, this is now easy. how to manage this when you have 4 of the same cards? | |
ID: 51849 | Rating: 0 | rate: / Reply Quote | |
how to manage this when you have 4 of the same cards? Now that I can answer. I decide beforehand how many cards I want to run on this project and just assign them a number. Since they are all the same and the PCIe slots are all the same, it's not a hard choice. But I'm betting most of your motherboard's slots are not PCIex16 or x8. In which case, you will have to experiment with the numbering and see what number corresponds to which GPU. ____________ | |
ID: 51852 | Rating: 0 | rate: / Reply Quote | |
how to manage this when you have 4 of the same cards? GPUGrid tasks report the PCI ID From your PC with 4x Tis # PCI ID : 0000:09:00.0 # PCI ID : 0000:06:00.0 # PCI ID : 0000:05:00.0 # PCI ID : 0000:0A:00.0 BOINC gets it from somewhere. | |
ID: 51857 | Rating: 0 | rate: / Reply Quote | |
event log of boinc? or event log of windows itself? That becomes more difficult. You then have to ID the card by the PCIe BusID number or the UUID which is an even better way as that number is unique to every card like a fingerprint. You can use the nvidia-smi with the -L parameter to show the UUID of a card. nvidia-smi is located at C:\Program Files\NVIDIA Corporation\NVSMI in Windows. nvidia-smi -L GPU 0: GeForce GTX 1070 (UUID: GPU-e25636cc-94d1-42ca-9b31-6e0018dfedd6) GPU 1: GeForce RTX 2080 (UUID: GPU-089608fe-cba5-4711-bf68-085fd0711d8c) GPU 2: GeForce GTX 1080 (UUID: GPU-2d04c292-2286-8b37-d8b8-c01f67e752fd) To figure out which 1070 is which you could always resort to the "finger test" IOW stop a card's fan so that your monitoring software shows some card's fan speed drop to zero. Then you know which 1070 is which. | |
ID: 51858 | Rating: 0 | rate: / Reply Quote | |
event log of boinc? or event log of windows itself? UUID number is that the same what i can see in windows Register under CurrentContorlSet/Video? because msi afterburner shows me those regiater-names or -numbers. i was wrong when i said that my first x16-slot has pcie-bus device 9. my first pci-slot (is x16) has pcie-bus device 65, where my first card is inserted and where hdmi screen is connected to. my 2nd card which was as firstly loaded in boinc for calculations has pcie-device bus 9. could it be that boinc firstly takes the gpu-card to use / to load with the lowest number of pcie-device-ID (meaning pci device 9, x8-slot)? that finger testing of the fan is very good option to see which card is what those nvidia commands i will try monday as my computers are at my work EDIT...i have found also some interessting thing about tasks. when you locate in which slot in boinc is task running (by clicking on Properties of a task), for example slot/0, in the map of slot-0 i can find a file called init_data.xml. inside this xml-file there is a option called device_num. here i can see that a specific task is running on <device_num>0 or <device_num>1. this also gives me some clue which card is loaded with calculations | |
ID: 51860 | Rating: 0 | rate: / Reply Quote | |
From what I can gather, BOINC numbers the cards based on highest performance. So a RTX 2080 is numbered as Device 0 and then a GTX 1080 is numbered as Device 1 and then a GTX 1070 is numbered as Device 2. | |
ID: 51862 | Rating: 0 | rate: / Reply Quote | |
Simply: Bionc manager is overmatured undeveloped software where we can not: | |
ID: 51865 | Rating: 0 | rate: / Reply Quote | |
Simply: Bionc manager is overmatured undeveloped software where we can not: i totally agree with that this would be awesome feature of boinc | |
ID: 51867 | Rating: 0 | rate: / Reply Quote | |
Thats probably easier to do for a Program that runs 1 single project, like FAH, but more complicated for the general user with multiple projects. | |
ID: 51868 | Rating: 0 | rate: / Reply Quote | |
OMG people ask for this "feature" from first days of seti project....you can find in waybackmachine | |
ID: 51869 | Rating: 0 | rate: / Reply Quote | |
a little update how device numbering in boinc is. | |
ID: 51964 | Rating: 0 | rate: / Reply Quote | |
another question....rigth now i am testing gtx 1080 Ti card. its load is about 50%. this card is connected to pcie-x8 slot. is this normal for 1080 Ti? 50% load of gpu? | |
ID: 52205 | Rating: 0 | rate: / Reply Quote | |
another question....rigth now i am testing gtx 1080 Ti card. its load is about 50%. this card is connected to pcie-x8 slot. is this normal for 1080 Ti? 50% load of gpu? Did you enable SwanSync ? | |
ID: 52206 | Rating: 0 | rate: / Reply Quote | |
another question....rigth now i am testing gtx 1080 Ti card. its load is about 50%. this card is connected to pcie-x8 slot. is this normal for 1080 Ti? 50% load of gpu? yes, swan_syn is enabled. i am running windows 10, 64bit with latest windows updates, nvidia driver version 430. gpu load for gtx 1080 Ti is round 55-59%, connected to pcie-x8 slot (and also electrically x8-slot) so once again my question....is it possible to asign a specific gpu-card to a specific application? meaning...i would like to asign gtx1080 Ti to only acemdlong-app. is this possible? | |
ID: 52207 | Rating: 0 | rate: / Reply Quote | |
meaning...i would like to asign gtx1080 Ti to only acemdlong-app. is this possible? No, but you can exclude a GPU from a project. See the <exclude_gpu> section here. | |
ID: 52209 | Rating: 0 | rate: / Reply Quote | |
meaning...i would like to asign gtx1080 Ti to only acemdlong-app. is this possible? thanks for your reply. pitty i cann't asign specific device to specific application with specific setting for that device or appliction....would be great feature of BOINC | |
ID: 52213 | Rating: 0 | rate: / Reply Quote | |
meaning...i would like to asign gtx1080 Ti to only acemdlong-app. is this possible? That is low GPU util even w/o swan sync. The best way to use 1 GPU on one project and a 2nd GPU on another project is with separate BOINC Clients with the exclude function mentioned above. I have a guide for Windows and Linux at Overclock.net in the BOINC Guide sub forum if you're interested. My PCs with GPUs all have 1 client for CPU work and another for GPUs. It allows for finer control of work buffers, esp during competitions. | |
ID: 52219 | Rating: 0 | rate: / Reply Quote | |
so, i have read your guide for 2nd client setup.meaning...i would like to asign gtx1080 Ti to only acemdlong-app. is this possible? what you actually suggest is in 1 client to exclude gtx1070 and include gtx1080 with setting like i wish. in another client (2nd client) to do the opposite...do i understand you correct? because you make 2 folders for boinc: C:\ProgramData\BOINC C:\ProgramData\BOINC2 | |
ID: 52222 | Rating: 0 | rate: / Reply Quote | |
so, i have read your guide for 2nd client setup.meaning...i would like to asign gtx1080 Ti to only acemdlong-app. is this possible? Yes, thats correct. One install, several client instances are opened with separate data directories (with their own configs). | |
ID: 52223 | Rating: 0 | rate: / Reply Quote | |
Message boards : Graphics cards (GPUs) : how to choose which gpu (swan device 0, 1, 2, ) to use?