running more than 1 unit on gpu


log in

Advanced search

Message boards : Number crunching : running more than 1 unit on gpu

1 · 2 · Next
Author Message
Profile Glenn savill
Avatar
Send message
Joined: 20 Aug 99
Posts: 1827
Credit: 2,015,403
RAC: 32,366
Australia
Message 1368705 - Posted: 17 May 2013, 2:42:50 UTC

Hi guys it looks like all is working so I have stoped bionic so I can try and get 2 units going on the GPU

If I understand the posts about this subject what value do I put in the xml file at the moment I have this

<count>1</count>

So if I understand correctly for 2 units I would change it to .5 and 3 units .33 is that correct ?
____________

Profile Gatekeeper
Avatar
Send message
Joined: 14 Jul 04
Posts: 887
Credit: 176,479,616
RAC: 2
United States
Message 1368707 - Posted: 17 May 2013, 2:54:59 UTC - in response to Message 1368705.

Hi guys it looks like all is working so I have stoped bionic so I can try and get 2 units going on the GPU

If I understand the posts about this subject what value do I put in the xml file at the moment I have this

<count>1</count>

So if I understand correctly for 2 units I would change it to .5 and 3 units .33 is that correct ?


Yes.

Make sure you change every instance of <count> in your app_info file.

You probably already know this, but multiple WU's on your 2XX cards probably won't work.
____________

Profile HAL9000
Volunteer tester
Avatar
Send message
Joined: 11 Sep 99
Posts: 4001
Credit: 110,147,981
RAC: 136,451
United States
Message 1368708 - Posted: 17 May 2013, 2:55:09 UTC

As you are using the stock apps I am guessing you want referring to the app_config.xml.
____________
SETI@home classic workunits: 93,865 CPU time: 863,447 hours

Join the BP6/VP6 User Group today!

Profile Floyd
Avatar
Send message
Joined: 19 May 11
Posts: 524
Credit: 1,870,625
RAC: 0
United States
Message 1368711 - Posted: 17 May 2013, 2:59:57 UTC - in response to Message 1368705.

Hi guys it looks like all is working so I have stoped bionic so I can try and get 2 units going on the GPU

If I understand the posts about this subject what value do I put in the xml file at the moment I have this

<count>1</count>

So if I understand correctly for 2 units I would change it to .5 and 3 units .33 is that correct ?


Yes that is correct , But only on the 610 WU's /Cuda ferma .
pretty much it will say 610 in the file. Like this :

<app_name>setiathome_enhanced</app_name>
<version_num>610</version_num>
<platform>windows_intelx86</platform>
<plan_class>cuda_fermi</plan_class>
<avg_ncpus>0.040000</avg_ncpus>
<max_ncpus>0.040000</max_ncpus>
<coproc>
<type>CUDA</type>
<count>.5</count>
____________

Profile Glenn savill
Avatar
Send message
Joined: 20 Aug 99
Posts: 1827
Credit: 2,015,403
RAC: 32,366
Australia
Message 1368712 - Posted: 17 May 2013, 2:59:58 UTC - in response to Message 1368708.

As you are using the stock apps I am guessing you want referring to the app_config.xml.


Yes hal i'm a bit lost

so the file I change is in the bionic data folder ?
the file I look at in that , that I have is called app_info is this correct ?
and I have to change all instances of <count>1<count> to .5 or .33 if I wish to run 2 or 3 units on the gpu have I got that right ?
____________

Profile Glenn savill
Avatar
Send message
Joined: 20 Aug 99
Posts: 1827
Credit: 2,015,403
RAC: 32,366
Australia
Message 1368713 - Posted: 17 May 2013, 3:04:20 UTC - in response to Message 1368711.

Hi guys it looks like all is working so I have stoped bionic so I can try and get 2 units going on the GPU

If I understand the posts about this subject what value do I put in the xml file at the moment I have this

<count>1</count>

So if I understand correctly for 2 units I would change it to .5 and 3 units .33 is that correct ?


Yes that is correct , But only on the 610 WU's /Cuda ferma .
pretty much it will say 610 in the file. Like this :

<app_name>setiathome_enhanced</app_name>
<version_num>610</version_num>
<platform>windows_intelx86</platform>
<plan_class>cuda_fermi</plan_class>
<avg_ncpus>0.040000</avg_ncpus>
<max_ncpus>0.040000</max_ncpus>
<coproc>
<type>CUDA</type>
<count>.5</count>


Thanks Floyd will do i'll let you's all know if I stuffed it up thanks again to every one for your help
____________

Profile Glenn savill
Avatar
Send message
Joined: 20 Aug 99
Posts: 1827
Credit: 2,015,403
RAC: 32,366
Australia
Message 1368718 - Posted: 17 May 2013, 3:22:52 UTC

ohhhhh thought I stuffed made the changes restarted bionic and still only 1 gpu unit so restarted machine had another look at the file and darn it I missed 1 instance of it so I changed it and woooooopppppppppyyyyyy it work now doing 2 units on the gpu

And there I was thinking i'm gona stuff this I know I will programing is not my strong point

and don't get cheeky guys lolololololololo

that's ok go ahead steer the crap outa me hehehehehehe
____________

Profile WilliamProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Feb 13
Posts: 1580
Credit: 9,460,888
RAC: 6,886
Message 1368805 - Posted: 17 May 2013, 8:26:01 UTC

There appears to be some confusion here as to how to run multiple tasks on GPUs, so I'll try to disentangle a bit.

Currently with a new Boinc (7.0.64) you have two options.
You can use app_config.xml [new feature] or you can use app_info.xml.

Basically the difference is what applications you want to run.
If you run stock you use app_config.xml.
If you want to run something else e.g. optimised you need app_info.xml.

App_config.xml ONLY tells BOINC that it can run more than one task at a time by decreasing the fraction of GPU used per task.

App_info.xml tells BOINC what app to run under which circumstance with which settings - a much more complicated approach, which is why the Lunatics installer was created in the first place.

As the Lunatics installer is no longer publicly available (and should not be distributed privately either!) app_config.xml is the easiest way to run multiple tasks, in this case with the 6.10 app.
If you want to use the publicly available optimised GPU apps you need to come up with an app_info.xml that has entries for stock CPU apps and optimised GPU apps and there you can then use the <count> variable Floyd was quoting.
____________
A person who won't read has no advantage over one who can't read. (Mark Twain)

Tapio
Volunteer tester
Send message
Joined: 19 Sep 07
Posts: 23
Credit: 2,037,855
RAC: 3,549
Mongolia
Message 1368903 - Posted: 17 May 2013, 13:56:10 UTC - in response to Message 1368805.

There appears to be some confusion here as to how to run multiple tasks on GPUs, so I'll try to disentangle a bit.

Currently with a new Boinc (7.0.64) you have two options.
You can use app_config.xml [new feature] or you can use app_info.xml.

Basically the difference is what applications you want to run.
If you run stock you use app_config.xml.
If you want to run something else e.g. optimised you need app_info.xml.

App_config.xml ONLY tells BOINC that it can run more than one task at a time by decreasing the fraction of GPU used per task.

App_info.xml tells BOINC what app to run under which circumstance with which settings - a much more complicated approach, which is why the Lunatics installer was created in the first place.

As the Lunatics installer is no longer publicly available (and should not be distributed privately either!) app_config.xml is the easiest way to run multiple tasks, in this case with the 6.10 app.
If you want to use the publicly available optimised GPU apps you need to come up with an app_info.xml that has entries for stock CPU apps and optimised GPU apps and there you can then use the <count> variable Floyd was quoting.


how to run multiple ASTROPULSE tasks at the same time on7.0.59 boinc version ? I've tried, but I could not get to work. My graphics card is the Radeon 7950. Win 7 x64.

Profile WilliamProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Feb 13
Posts: 1580
Credit: 9,460,888
RAC: 6,886
Message 1368916 - Posted: 17 May 2013, 14:27:02 UTC - in response to Message 1368903.
Last modified: 17 May 2013, 14:28:37 UTC

how to run multiple ASTROPULSE tasks at the same time on7.0.59 boinc version ? I've tried, but I could not get to work. My graphics card is the Radeon 7950. Win 7 x64.

First, upgrade to the latest recommended BOINC version 7.0.64 - earlier versions have bugs to greater or lesser extent.

Take a look at the documentation. You can ommit the 'max_concurrent' but you need both Gpu and CPU usage tags. If you set GPU usage to 0.49 you run 2 at a time, 0.33 three at a time. You'll have to see how many you can run before performance deteriorates.
CPU_usage can be set to something small like 0.01 CPU or to fractions that will amount to reserving a core - e.g. 0.51 will reserve one CPU core per two GPU tasks running.
For the <name> look at your eventlog where it starts a new task - the text is ... using appname version xx.zz - that appname is what you need to stick into the app_config.xml <name> tag.

Note on generating .xml files:
Use notepad or similar plain editor. Make sure you set to 'all files' when saving ( or you end up with app_config.xml.txt which does nothing).

The app_config file goes into the seti project folder. The location of the data folder is among the boinc startup messages.

No need to restart boinc for app_config.xml changes, simply use 'read config file' from advanced menu.

Any difficulties, don't hesitate to ask.
____________
A person who won't read has no advantage over one who can't read. (Mark Twain)

Tapio
Volunteer tester
Send message
Joined: 19 Sep 07
Posts: 23
Credit: 2,037,855
RAC: 3,549
Mongolia
Message 1368961 - Posted: 17 May 2013, 15:33:07 UTC - in response to Message 1368916.

how to run multiple ASTROPULSE tasks at the same time on7.0.59 boinc version ? I've tried, but I could not get to work. My graphics card is the Radeon 7950. Win 7 x64.

First, upgrade to the latest recommended BOINC version 7.0.64 - earlier versions have bugs to greater or lesser extent.

Take a look at the documentation. You can ommit the 'max_concurrent' but you need both Gpu and CPU usage tags. If you set GPU usage to 0.49 you run 2 at a time, 0.33 three at a time. You'll have to see how many you can run before performance deteriorates.
CPU_usage can be set to something small like 0.01 CPU or to fractions that will amount to reserving a core - e.g. 0.51 will reserve one CPU core per two GPU tasks running.
For the <name> look at your eventlog where it starts a new task - the text is ... using appname version xx.zz - that appname is what you need to stick into the app_config.xml <name> tag.

Note on generating .xml files:
Use notepad or similar plain editor. Make sure you set to 'all files' when saving ( or you end up with app_config.xml.txt which does nothing).

The app_config file goes into the seti project folder. The location of the data folder is among the boinc startup messages.

No need to restart boinc for app_config.xml changes, simply use 'read config file' from advanced menu.

Any difficulties, don't hesitate to ask.


It works! It works!

Here is one comical detail in all wu's: Running 0,72 cpu + 1 gpu. :-)

Profile jacosito
Send message
Joined: 8 Sep 05
Posts: 8
Credit: 7,448,631
RAC: 5,342
Chile
Message 1378999 - Posted: 9 Jun 2013, 16:40:18 UTC

Here the file content "app_config.xml" in directory "\\BOINC\DATA\projects\setiathome.berkeley.edu"

6 wu executed by cpu
6 wu executed by gpu

<app_config>
<app>
<name>setiathome_v7</name>
<max_concurrent>12</max_concurrent>
<gpu_versions>
<gpu_usage>.166</gpu_usage>
<cpu_usage>.166</cpu_usage>
</gpu_versions>
</app>
</app_config>
____________

juan BFBProject donor
Volunteer tester
Avatar
Send message
Joined: 16 Mar 07
Posts: 5152
Credit: 280,439,553
RAC: 446,217
Brazil
Message 1379006 - Posted: 9 Jun 2013, 17:01:30 UTC - in response to Message 1378999.

Here the file content "app_config.xml" in directory "\\BOINC\DATA\projects\setiathome.berkeley.edu"

6 wu executed by cpu
6 wu executed by gpu

<app_config>
<app>
<name>setiathome_v7</name>
<max_concurrent>12</max_concurrent>
<gpu_versions>
<gpu_usage>.166</gpu_usage>
<cpu_usage>.166</cpu_usage>
</gpu_versions>
</app>
</app_config>

Just a reminder, V7 works diferent from V6, so avoid to use more than 3 (best is 2 ) WU at a time on a 660. You could verify why in the threads.

____________

Profile Chilean
Volunteer tester
Avatar
Send message
Joined: 6 Apr 03
Posts: 498
Credit: 904,636
RAC: 0
Chile
Message 1379262 - Posted: 10 Jun 2013, 8:15:06 UTC - in response to Message 1378999.

Here the file content "app_config.xml" in directory "\\BOINC\DATA\projects\setiathome.berkeley.edu"

6 wu executed by cpu
6 wu executed by gpu

<app_config>
<app>
<name>setiathome_v7</name>
<max_concurrent>12</max_concurrent>
<gpu_versions>
<gpu_usage>.166</gpu_usage>
<cpu_usage>.166</cpu_usage>
</gpu_versions>
</app>
</app_config>


That might be an overkill. Running 2 WUs on my 660M keeps it at around 95% usage and about 60% for the Memory Control Load.
You are basically wasting VRAM having 6 concurrent WUs.
____________

AlProject donor
Send message
Joined: 3 Apr 99
Posts: 481
Credit: 51,845,406
RAC: 23,795
United States
Message 1380492 - Posted: 13 Jun 2013, 1:16:28 UTC

I just upgraded my machine that only runs GPU tasks to the latest version of BOINC and vid drivers. All went well, but I noticed after doing the upgrade earlier this week so it could process v7 tasks, I went from doing 2 tasks on my GPU to one. I found this thread, and since I couldn't find either an app_info or a app_config file, I created one and saved it to my docs&settings/all users/applicationdata/boinc/projects/setiathome.berkeley.edu directory. Only modification I made to it initially was to change

<gpu_usage>.166</gpu_usage>
<cpu_usage>.166</cpu_usage>

from .166 to .49, so it would do 2 tasks. I didn't need it to try and do 6. When I restarted BOINC, it popped up immediately with an error message stating:

Windows cannot open this file:
A0009246.rbf

goes on to tell me to search the web for the proper program, etc etc.

I though oh crap, this needs more work, so I went and renamed the app_config file to a .bak, and again tried to restart it. It appears something is now FUBAR, but I don't understand how adding the app_config file would cause this. Should I try rebooting? I'm stumped at this point, anyone have any suggestions how to proceed, and fix this error? I suppose I could try reinstalling BOINC, but that seems to be a last restort fix...


____________

Profile WilliamProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Feb 13
Posts: 1580
Credit: 9,460,888
RAC: 6,886
Message 1380608 - Posted: 13 Jun 2013, 9:47:33 UTC - in response to Message 1380492.

I just upgraded my machine that only runs GPU tasks to the latest version of BOINC and vid drivers. All went well, but I noticed after doing the upgrade earlier this week so it could process v7 tasks, I went from doing 2 tasks on my GPU to one. I found this thread, and since I couldn't find either an app_info or a app_config file, I created one and saved it to my docs&settings/all users/applicationdata/boinc/projects/setiathome.berkeley.edu directory. Only modification I made to it initially was to change

<gpu_usage>.166</gpu_usage>
<cpu_usage>.166</cpu_usage>

from .166 to .49, so it would do 2 tasks. I didn't need it to try and do 6. When I restarted BOINC, it popped up immediately with an error message stating:

Windows cannot open this file:
A0009246.rbf

goes on to tell me to search the web for the proper program, etc etc.

I though oh crap, this needs more work, so I went and renamed the app_config file to a .bak, and again tried to restart it. It appears something is now FUBAR, but I don't understand how adding the app_config file would cause this. Should I try rebooting? I'm stumped at this point, anyone have any suggestions how to proceed, and fix this error? I suppose I could try reinstalling BOINC, but that seems to be a last restort fix...


Anything in stdoutdae.txt?

I'd try a repair install of boinc first.

Wouldn't have been necessary to restart boinc, read config would have been enough.

No, the app_config.xml will not have caused that. It's more likely that your boinc install took a hit and that that didn't become appareant until you wanted to restart.

NB reinstalling boinc does not interferre with the data folder IOW you don't lose any crunching - provided you don't manually delete the data folder.
____________
A person who won't read has no advantage over one who can't read. (Mark Twain)

Richard HaselgroveProject donor
Volunteer tester
Send message
Joined: 4 Jul 99
Posts: 8442
Credit: 48,052,382
RAC: 64,415
United Kingdom
Message 1380611 - Posted: 13 Jun 2013, 10:11:17 UTC - in response to Message 1380608.

The only recorded use I can find for an .rbf file extension is for an R:Base database file - and that takes us back 30 years or more. Certainly, nothing in BOINC or SETI should be trying to access a file like that.

jravin
Send message
Joined: 25 Mar 02
Posts: 929
Credit: 97,101,423
RAC: 86,413
United States
Message 1380643 - Posted: 13 Jun 2013, 12:36:23 UTC

I find the doc for app_config.xml hopelessly confusing.

I have 2 GTX 460s, so I want to run 4 threads (2/GPU) of processing. I am running AP6 and Seti7. Do I put max_concurrent for each as 2 or 4? (Because sometimes I may have no APs or Seti7 WUs, I would think 4 would be what I want; the docs seem to indicate this is the case - it's a Max, not a mandated total for each(?).

So what do I do?

And if I had two leftover CPU cores (Phenom II X6), would I make then max_concurrent 4 or 6 (to include the CPU threads when GPU threads full)???
____________

Profile WilliamProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Feb 13
Posts: 1580
Credit: 9,460,888
RAC: 6,886
Message 1380645 - Posted: 13 Jun 2013, 12:42:59 UTC - in response to Message 1380643.

I find the doc for app_config.xml hopelessly confusing.

I have 2 GTX 460s, so I want to run 4 threads (2/GPU) of processing. I am running AP6 and Seti7. Do I put max_concurrent for each as 2 or 4? (Because sometimes I may have no APs or Seti7 WUs, I would think 4 would be what I want; the docs seem to indicate this is the case - it's a Max, not a mandated total for each(?).

So what do I do?

And if I had two leftover CPU cores (Phenom II X6), would I make then max_concurrent 4 or 6 (to include the CPU threads when GPU threads full)???


Yes 6 - max concurrent counts tasks running regardless of device - but you can omit the whole max concurrent bit if you run single project.
It's more a feature to keep projects from taking over all available nodes when a project plays catchup.
____________
A person who won't read has no advantage over one who can't read. (Mark Twain)

jravin
Send message
Joined: 25 Mar 02
Posts: 929
Credit: 97,101,423
RAC: 86,413
United States
Message 1380647 - Posted: 13 Jun 2013, 12:57:04 UTC - in response to Message 1380645.

Yes 6 - max concurrent counts tasks running regardless of device - but you can omit the whole max concurrent bit if you run single project.
It's more a feature to keep projects from taking over all available nodes when a project plays catchup.



How is that explained in the doc? I read the doc for app_config.xml, and it said nothing about multiple projects that I can recall. And thus your statement makes me even more confused....
____________

1 · 2 · Next

Message boards : Number crunching : running more than 1 unit on gpu

Copyright © 2014 University of California