Message boards : Graphics cards (GPUs) : I have 3 GPUs How do I set GPUGrid to use only One of them?
Author | Message |
---|---|
As the Tile states, I have 3 GPUs How do I set GPUGRID to use only One of them and allow the other Two GPUs for other usages. Thanks | |
ID: 35971 | Rating: 0 | rate: / Reply Quote | |
One computer gf of two cards, and other PC Another one of the most | |
ID: 35973 | Rating: 0 | rate: / Reply Quote | |
As the Tile states, I have 3 GPUs How do I set GPUGRID to use only One of them and allow the other Two GPUs for other usages. Thanks This is fairly easy to configure but do you mean any one of the three or do you want to dedicate a specific card? If no one posts the details I will when I get home in a couple of hours. ____________ Thanks - Steve | |
ID: 35975 | Rating: 0 | rate: / Reply Quote | |
As the Tile states, I have 3 GPUs How do I set GPUGRID to use only One of them and allow the other Two GPUs for other usages. Thanks I think you can put a file like this in your c:\programdata\Boinc\projects\gpugrid folder: <cc_config> <options> <use_all_gpus>1</use_all_gpus> <exclude_gpu> <url>http://www.gpugrid.net/</url> <device_num>1</device_num> </exclude_gpu> <exclude_gpu> <url>http://www.gpugrid.net/</url> <device_num>2</device_num> </exclude_gpu> </options> </cc_config> This file will only let your first gpu, gpu zero, crunch for gpugrid. To make a different gpu crunch just change the number in the different exclude sections. You WILL need to put a similar file in each of your other project folders so gpu zero can crunch here while a different gpu can crunch someplace else. Since you use Windows ONLY use Notepad to create the file, saving it as a txt type file with the name cc_config.xml The http part comes from each projects home page where it tells you what to type in to crunch for the project when you first attach to it. | |
ID: 35984 | Rating: 0 | rate: / Reply Quote | |
Right. You will want to configure the BOINC client with a customized cc_config.xml file, per the documentation, found here:
<cc_config>
<log_flags>
<!-- The 3 flags that are on by default are: file_xfer, sched_ops, task -->
<file_xfer>1</file_xfer>
<file_xfer_debug>0</file_xfer_debug>
<sched_ops>1</sched_ops>
<sched_op_debug>0</sched_op_debug>
<task>1</task>
<task_debug>0</task_debug>
<unparsed_xml>1</unparsed_xml>
<work_fetch_debug>0</work_fetch_debug>
<rr_simulation>0</rr_simulation>
<rrsim_detail>0</rrsim_detail>
<cpu_sched>0</cpu_sched>
<cpu_sched_debug>0</cpu_sched_debug>
<cpu_sched_status>0</cpu_sched_status>
<coproc_debug>0</coproc_debug>
<mem_usage_debug>0</mem_usage_debug>
<checkpoint_debug>1</checkpoint_debug>
<http_debug>0</http_debug>
<http_xfer_debug>0</http_xfer_debug>
<network_status_debug>0</network_status_debug>
<scrsave_debug>1</scrsave_debug>
<notice_debug>0</notice_debug>
<app_msg_receive>0</app_msg_receive>
<app_msg_send>0</app_msg_send>
<async_file_debug>0</async_file_debug>
<benchmark_debug>0</benchmark_debug>
<dcf_debug>0</dcf_debug>
<disk_usage_debug>0</disk_usage_debug>
<priority_debug>0</priority_debug>
<gui_rpc_debug>0</gui_rpc_debug>
<heartbeat_debug>0</heartbeat_debug>
<poll_debug>0</poll_debug>
<proxy_debug>0</proxy_debug>
<slot_debug>0</slot_debug>
<state_debug>0</state_debug>
<statefile_debug>0</statefile_debug>
<suspend_debug>0</suspend_debug>
<time_debug>0</time_debug>
<trickle_debug>0</trickle_debug>
</log_flags>
<options>
<!-- =================================================== TESTING OPTIONS =================================================== -->
<!--
<start_delay>20</start_delay>
<ncpus>12</ncpus>
<exclusive_app>NotepadTest01.exe</exclusive_app>
<exclusive_gpu_app>NotepadTest02.exe</exclusive_gpu_app>
-->
<!-- =================================================== REGULAR OPTIONS =================================================== -->
<report_results_immediately>0</report_results_immediately>
<fetch_on_update>0</fetch_on_update>
<max_event_log_lines>4000</max_event_log_lines>
<max_file_xfers>10</max_file_xfers>
<max_file_xfers_per_project>4</max_file_xfers_per_project>
<exclusive_app>iRacingSim.exe</exclusive_app>
<exclusive_app>iRacingSim64.exe</exclusive_app>
<exclusive_app>Aces.exe</exclusive_app>
<exclusive_app>TmForever.exe</exclusive_app>
<exclusive_app>TmForeverLauncher.exe</exclusive_app>
<!-- ===================================================== SETUP GPUS ====================================================== -->
<use_all_gpus>1</use_all_gpus>
<!-- =========================================== SETUP GPU 0: GeForce GTX 660 Ti =========================================== -->
<!--
<ignore_nvidia_dev>0</ignore_nvidia_dev>
-->
<!-- Exclude World Community Grid's "Help Conquer Cancer" GPU app (hcc1) on main display - makes graphics slow, even on 660 Ti -->
<!-- Commenting out, for now, since this round of hcc1 is completed, and next round may not exhibit the issue. -->
<!--
<exclude_gpu>
<url>http://www.worldcommunitygrid.org</url>
<device_num>0</device_num>
<app>hcc1</app>
</exclude_gpu>
-->
<!-- Exclude several projects, since work from other GPU projects should give enough work to keep this GPU busy. -->
<!-- Commenting out, because POEM is often out of work, and GPUGrid sometimes does run out. -->
<!--
<exclude_gpu>
<url>http://einstein.phys.uwm.edu/</url>
<device_num>0</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://albert.phys.uwm.edu/</url>
<device_num>0</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://setiathome.berkeley.edu/</url>
<device_num>0</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://setiweb.ssl.berkeley.edu/beta/</url>
<device_num>0</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://milkyway.cs.rpi.edu/milkyway/</url>
<device_num>0</device_num>
</exclude_gpu>
-->
<!-- =========================================== SETUP GPU 1: GeForce GTX 460 =========================================== -->
<!--
<ignore_nvidia_dev>1</ignore_nvidia_dev>
-->
<!-- Exclude POEM's "POEM++ OpenCL version" GPU app (poemcl) from a second heterogeneous GPU, since it does not work properly -->
<!-- Note: Although 320.18 drivers successfully run smalltest_3, the drivers still do not work right with POEM. -->
<!-- Note: Also, it appears that running POEM only on the GTX 460, does not work. So, it must run on the GTX 660 Ti! -->
<!-- Note: Tested their new OpenCL application on 3/22/2014 -- still does not start when running only on the GTX 460. So, it must run on the GTX 660 Ti! -->
<exclude_gpu>
<url>http://boinc.fzk.de/poem/</url>
<device_num>1</device_num>
<app>poemcl</app>
</exclude_gpu>
<!-- Reminder: For GPUGrid.net, if going to run 2-tasks-on-1-GPU, exclude this GPU (it only has 1 GB memory) -->
<!-- Commenting out, decided to include this GPU and run 1 task per GPU. -->
<!--
<exclude_gpu>
<url>http://www.gpugrid.net</url>
<device_num>1</device_num>
</exclude_gpu>
-->
<!-- Exclude several projects, since work from other GPU projects should give enough work to keep this GPU busy. -->
<!-- Commenting out, because POEM is often out of work, and GPUGrid sometimes does run out. -->
<!--
<exclude_gpu>
<url>http://einstein.phys.uwm.edu/</url>
<device_num>1</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://albert.phys.uwm.edu/</url>
<device_num>1</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://setiathome.berkeley.edu/</url>
<device_num>1</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://setiweb.ssl.berkeley.edu/beta/</url>
<device_num>1</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://milkyway.cs.rpi.edu/milkyway/</url>
<device_num>1</device_num>
</exclude_gpu>
-->
<!-- =========================================== SETUP GPU 2: GeForce GTS 240 =========================================== -->
<!--
<ignore_nvidia_dev>2</ignore_nvidia_dev>
-->
<!-- Exclude World Community Grid's Help Conquer Cancer GPU app -->
<!-- GPU not supported per https://secure.worldcommunitygrid.org/help/viewTopic.do?shortName=GPU#610 -->
<exclude_gpu>
<url>http://www.worldcommunitygrid.org</url>
<device_num>2</device_num>
<app>hcc1</app>
</exclude_gpu>
<!-- Exclude POEM's "POEM++ OpenCL version" GPU app (poemcl) from a second heterogeneous GPU, since it does not work properly -->
<!-- Also, GPU is not supported, as all tasks immediately error out -->
<exclude_gpu>
<url>http://boinc.fzk.de/poem/</url>
<device_num>2</device_num>
<app>poemcl</app>
</exclude_gpu>
<!-- Exclude GPUGrid.net -->
<!-- GPU not supported per http://www.gpugrid.net/forum_thread.php?id=2507 -->
<exclude_gpu>
<url>http://www.gpugrid.net/</url>
<device_num>2</device_num>
</exclude_gpu>
<!-- Exclude Milkyway@Home -->
<!-- GPU not supported, as all tasks immediately error out -->
<exclude_gpu>
<url>http://milkyway.cs.rpi.edu/milkyway/</url>
<device_num>2</device_num>
</exclude_gpu>
</options>
</cc_config>
| |
ID: 36000 | Rating: 0 | rate: / Reply Quote | |
I think you can put a file like this in your c:\programdata\Boinc\projects\gpugrid folder: I believe the cc_config.xml file should go in the c:\programdata\Boinc folder. If you were using an app_info.xml file specific for GPUGrid that would go in the c:\programdata\Boinc\projects\gpugrid folder. | |
ID: 36008 | Rating: 0 | rate: / Reply Quote | |
I think you can put a file like this in your c:\programdata\Boinc\projects\gpugrid folder: If you put the cc_config file in the folder you said you need to add more lines to the file, excluding all the other gpu's for all the projects that each one crunches for. Meaning something like: <cc_config> <options> <use_all_gpus>1</use_all_gpus> <exclude_gpu> <url>http://www.gpugrid.net/</url> <device_num>1</device_num> </exclude_gpu> <exclude_gpu> <url>http://www.gpugrid.net/</url> <device_num>2</device_num> </exclude_gpu> <url>http://http://moowrap.net//</url> <device_num>o</device_num> </exclude_gpu> <url>http://http://moowrap.net//</url> <device_num>2</device_num> </exclude_gpu> <url>http://http://asteroidsathome.net/boinc///</url> <device_num>0</device_num> </exclude_gpu> <url>http://http://asteroidsathome.net/boinc///</url> <device_num>1</device_num> </exclude_gpu> </options> </cc_config> The above means gpu zero would crunch for GpuGrid only, while gpu 1 would crunch for Moo only and gpu 2 would crunch for Asteroids only. | |
ID: 36025 | Rating: 0 | rate: / Reply Quote | |
Mikey: [pre] tag.I still think that the xml I pasted earlier, is a great reference. | |
ID: 36026 | Rating: 0 | rate: / Reply Quote | |
Mikey: I just learned something today, I bow to your experience and expertise!! | |
ID: 36046 | Rating: 0 | rate: / Reply Quote | |
:) Experience, sure, but not expertise. I typically find out about features from a lot of trial and error, but I usually brute-force that trialing until I know exactly how something works. PS: Someone introduced me to the [pre] "pre-formatted text" command only recently (within the last year I think), so... we're all learning.PS: <exclude_gpu> exists because of me. I was having a hell of a time trying to get work to go where it should, with my system that has 3 differing generations of GPUs in it, GTX 660 Ti, GTX 460, GTS 240. So, the BOINC dev team hooked up <exclude_gpu> options, and I tested it as best I could. It works quite well, although using it does slightly interfere with maintaining buffer levels in the work fetch logic. | |
ID: 36047 | Rating: 0 | rate: / Reply Quote | |
This Project & Forum is the Greatest, Thanks for all your inputs. | |
ID: 36659 | Rating: 0 | rate: / Reply Quote | |
Not sure if serious or............. | |
ID: 36660 | Rating: 0 | rate: / Reply Quote | |
Off Topic (OT):
| |
ID: 36666 | Rating: 0 | rate: / Reply Quote | |
Ok I need some assist. A slight background on me. I came over from Folding@Home, so I am new to crunching, and so far I don't understand how folks can say that BOINC is easier to use than FAH manager. It's much more intensive. | |
ID: 36989 | Rating: 0 | rate: / Reply Quote | |
Offhand, that XML looks good. Are you sure you have it saved to a file exactly named "cc_config.xml" in the ProgramData\Boinc folder? Please restart BOINC, and copy/paste the first ~25 starting lines from the BOINC Event Log. Paste them here so we can see. | |
ID: 36990 | Rating: 0 | rate: / Reply Quote | |
From what I gathered in the thread you linked to, you're trying to set this up for a system with two GTX570s and you're trying to exclude GPU0 from BOINC. However, you are still seeing tasks being processed by GPU0 even with the cc_config in place. | |
ID: 36991 | Rating: 0 | rate: / Reply Quote | |
Ok here's the event log from a fresh start of BOINC. | |
ID: 36992 | Rating: 0 | rate: / Reply Quote | |
Ok here's the event log from a fresh start of BOINC. The cc_config.xml file goes in the folder c:\program data\boinc if you let boinc use the default installation locations. The 'program data' folder is a hidden one and you must unhide it to put files in it. To do that just press the alt key while you are viewing the C: folder, when the new menu pops up choose tools, folder options, view and check the box to show hidden files and folders, click okay and then you can drop the file in the right folder. | |
ID: 36994 | Rating: 0 | rate: / Reply Quote | |
It's showing 1 GPU ignored, I think, because the default BOINC settings are to only use the main GPU. | |
ID: 36995 | Rating: 0 | rate: / Reply Quote | |
Message boards : Graphics cards (GPUs) : I have 3 GPUs How do I set GPUGrid to use only One of them?