running more than 1 unit on gpu

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

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Darth Beaver Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Avatar

Send message
Joined: 20 Aug 99
Posts: 6728
Credit: 21,443,075
RAC: 3
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 ?
ID: 1368705 · Report as offensive
Profile Gatekeeper
Avatar

Send message
Joined: 14 Jul 04
Posts: 887
Credit: 176,479,616
RAC: 0
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.
ID: 1368707 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
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 [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1368708 · Report as offensive
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>
ID: 1368711 · Report as offensive
Darth Beaver Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Avatar

Send message
Joined: 20 Aug 99
Posts: 6728
Credit: 21,443,075
RAC: 3
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 ?
ID: 1368712 · Report as offensive
Darth Beaver Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Avatar

Send message
Joined: 20 Aug 99
Posts: 6728
Credit: 21,443,075
RAC: 3
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
ID: 1368713 · Report as offensive
Darth Beaver Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Avatar

Send message
Joined: 20 Aug 99
Posts: 6728
Credit: 21,443,075
RAC: 3
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
ID: 1368718 · Report as offensive
Profile William
Volunteer tester
Avatar

Send message
Joined: 14 Feb 13
Posts: 2037
Credit: 17,689,662
RAC: 0
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)
ID: 1368805 · Report as offensive
Old man
Volunteer tester

Send message
Joined: 19 Sep 07
Posts: 29
Credit: 3,025,264
RAC: 0
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.
ID: 1368903 · Report as offensive
Profile William
Volunteer tester
Avatar

Send message
Joined: 14 Feb 13
Posts: 2037
Credit: 17,689,662
RAC: 0
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)
ID: 1368916 · Report as offensive
Old man
Volunteer tester

Send message
Joined: 19 Sep 07
Posts: 29
Credit: 3,025,264
RAC: 0
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. :-)
ID: 1368961 · Report as offensive
Profile jacosito

Send message
Joined: 8 Sep 05
Posts: 13
Credit: 8,766,806
RAC: 1
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>
ID: 1378999 · Report as offensive
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
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.

ID: 1379006 · Report as offensive
Profile Chilean
Volunteer tester
Avatar

Send message
Joined: 6 Apr 03
Posts: 498
Credit: 3,200,504
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.
ID: 1379262 · Report as offensive
Al Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Avatar

Send message
Joined: 3 Apr 99
Posts: 1682
Credit: 477,343,364
RAC: 482
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...



ID: 1380492 · Report as offensive
Profile William
Volunteer tester
Avatar

Send message
Joined: 14 Feb 13
Posts: 2037
Credit: 17,689,662
RAC: 0
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)
ID: 1380608 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
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.
ID: 1380611 · Report as offensive
Cruncher-American Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor

Send message
Joined: 25 Mar 02
Posts: 1513
Credit: 370,893,186
RAC: 340
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)???
ID: 1380643 · Report as offensive
Profile William
Volunteer tester
Avatar

Send message
Joined: 14 Feb 13
Posts: 2037
Credit: 17,689,662
RAC: 0
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)
ID: 1380645 · Report as offensive
Cruncher-American Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor

Send message
Joined: 25 Mar 02
Posts: 1513
Credit: 370,893,186
RAC: 340
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....
ID: 1380647 · Report as offensive
1 · 2 · Next

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


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