Help needed to enable running of multiple task on GPU

Message boards : Number crunching : Help needed to enable running of multiple task on GPU
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Arvid Almstrom
Avatar

Send message
Joined: 23 Mar 00
Posts: 98
Credit: 137,331,372
RAC: 0
Australia
Message 1396287 - Posted: 29 Jul 2013, 18:32:39 UTC

I have just installed 2 x GTX 780 into my computer and re-enabled S@H on this computer, as E@H does not run well on the new nVidia cards (only CUDA 3.2).

I got error messages about unsupported app in xlm file, so I reset the project.

After it downloaded the app and WU's it started to run, but only runs with 1 WU per GPU.

I tried to create the missing app_info.xml file from various posts and wiki's

<app_info>
<app_config>
	<app>
		<name>astropulse_v6</name>
		<max_concurrent>14</max_concurrent>
		<gpu_versions>
			<gpu_usage>0.25</gpu_usage>
			<cpu_usage>0.12</cpu_usage>
		</gpu_versions>			
	</app>
	<app>
		<name>setiathome_enhanced_v7</name>
		<max_concurrent>14</max_concurrent>
		<gpu_versions>
			<gpu_usage>0.25</gpu_usage>
			<cpu_usage>0.12</cpu_usage>
		</gpu_versions>			
	</app>
	<app>
		<name>setiathome_enhanced</name>
		<max_concurrent>14</max_concurrent>
		<gpu_versions>
			<gpu_usage>0.25</gpu_usage>
			<cpu_usage>0.12</cpu_usage>
		</gpu_versions>			
	</app>
</app_config>
</app_info>


However, this causes the scheduler to not issue tasks as [work_fetch] informs me that there is not app.

I guess I have to fill in the file_info flags, which I can now do for the V7 CUDA files, but I don't have the other applications, nor do I have all the other required info for the file.

Is there a default app_info.xml file that I can get? Why is this so hard to do, it should be easier, like a setting in 'Computing Preferences'.

In the past I just installed the optimized apps, which created the correct file and it was just a matter of doing a search and replace for the <count>, but I can't install the optimized apps with version 7.

Any help would be most appreciated.

Arvid
Arvid Almstrom
ID: 1396287 · Report as offensive
Profile Gatekeeper
Avatar

Send message
Joined: 14 Jul 04
Posts: 887
Credit: 176,479,616
RAC: 0
United States
Message 1396301 - Posted: 29 Jul 2013, 19:04:12 UTC - in response to Message 1396287.  



In the past I just installed the optimized apps, which created the correct file and it was just a matter of doing a search and replace for the <count>, but I can't install the optimized apps with version 7.



Why can't you install the opti apps? The Lunatics installer should run just fine on your rig.
ID: 1396301 · 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 1396321 - Posted: 29 Jul 2013, 19:56:22 UTC
Last modified: 29 Jul 2013, 20:42:57 UTC

@Arvid

First run the Lunnatics installer and enable MB cuda50 & GPU AP crunching then

Leave the app_info.xml as the lunnatics installer create it.

With Boinc 7.0.64 or + if you want to run more than one WU at a time the better way to do that is by create a new file who´s name is: app_config.xml

This is a working app_config.xml

<app_config>
<app>
<name>setiathome_v7</name>
<gpu_versions>
<gpu_usage>0.49</gpu_usage>
<cpu_usage>0.06</cpu_usage>
</gpu_versions>
</app>
<app>
<name>setiathome_enhanced</name>
<gpu_versions>
<gpu_usage>0.49</gpu_usage>
<cpu_usage>0.06</cpu_usage>
</gpu_versions>
</app>
<app>
<name>astropulse_v6</name>
<gpu_versions>
<gpu_usage>0.51</gpu_usage>
<cpu_usage>1.0</cpu_usage>
</gpu_versions>
</app>
</app_config>

This file allow you to run 1 AP task on each GPU and 1 MB at a time (or 2 MB if no AP WU are avaiable), put it to work first after you sure it´s working you could easely change to run more without even need to reboot the BOinc itself (just by reading the configuration file again). But remember EACH AP task need a Free core to work properly, so keep that in mind when you make your configuration. Even if each one of your GPU can easely run 4 AP, that will uses all the cores on a I7 if HT is off (the optimal setting for SETI crunching).

Other important thing is, if you create the file with the notepath take care that you don't save with the extension .txt (the normal notepath extension) or the file will not work.
ID: 1396321 · Report as offensive
Profile Arvid Almstrom
Avatar

Send message
Joined: 23 Mar 00
Posts: 98
Credit: 137,331,372
RAC: 0
Australia
Message 1396408 - Posted: 30 Jul 2013, 1:11:20 UTC - in response to Message 1396301.  



In the past I just installed the optimized apps, which created the correct file and it was just a matter of doing a search and replace for the <count>, but I can't install the optimized apps with version 7.



Why can't you install the opti apps? The Lunatics installer should run just fine on your rig.


Gatekeeper, I thought as I was getting errors from the previously installed Opt Apps, and the issue with Lunatics license issue, that it wouldn't work.

However, thank you for this as there is a new version as well as the license issue must have been resolved and they are allowed to publish the software.

Arvid
Arvid Almstrom
ID: 1396408 · Report as offensive
Profile Arvid Almstrom
Avatar

Send message
Joined: 23 Mar 00
Posts: 98
Credit: 137,331,372
RAC: 0
Australia
Message 1396411 - Posted: 30 Jul 2013, 1:15:58 UTC - in response to Message 1396321.  

@Arvid

First run the Lunnatics installer and enable MB cuda50 & GPU AP crunching then

Leave the app_info.xml as the lunnatics installer create it.

With Boinc 7.0.64 or + if you want to run more than one WU at a time the better way to do that is by create a new file who´s name is: app_config.xml

This is a working app_config.xml

<app_config>
<app>
<name>setiathome_v7</name>
<gpu_versions>
<gpu_usage>0.49</gpu_usage>
<cpu_usage>0.06</cpu_usage>
</gpu_versions>
</app>
<app>
<name>setiathome_enhanced</name>
<gpu_versions>
<gpu_usage>0.49</gpu_usage>
<cpu_usage>0.06</cpu_usage>
</gpu_versions>
</app>
<app>
<name>astropulse_v6</name>
<gpu_versions>
<gpu_usage>0.51</gpu_usage>
<cpu_usage>1.0</cpu_usage>
</gpu_versions>
</app>
</app_config>

This file allow you to run 1 AP task on each GPU and 1 MB at a time (or 2 MB if no AP WU are avaiable), put it to work first after you sure it´s working you could easely change to run more without even need to reboot the BOinc itself (just by reading the configuration file again). But remember EACH AP task need a Free core to work properly, so keep that in mind when you make your configuration. Even if each one of your GPU can easely run 4 AP, that will uses all the cores on a I7 if HT is off (the optimal setting for SETI crunching).

Other important thing is, if you create the file with the notepath take care that you don't save with the extension .txt (the normal notepath extension) or the file will not work.


Juan, thanks for the info.

I opted for .51 gpu and .5 cpu for the AP.

I then selected .24 gpu and .16 CPU for the MB.

I wanted 1 AP and 2 MB tasks at once, but with the AP at .51 I had to go for 1 AP and 2 MB, or 4 x MB, but I have 3GB RAM on the card and it is the new shiny 780, so it should cope with it I hope.

I will see how it goes if I ever get any AP's from the server.

Why have you allocated a full CPU for the AP task? Does it really need a full CPU process?

Many thanks

Arvid
Arvid Almstrom
ID: 1396411 · 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 1396416 - Posted: 30 Jul 2013, 1:31:21 UTC - in response to Message 1396411.  

@Arvid

First run the Lunnatics installer and enable MB cuda50 & GPU AP crunching then

Leave the app_info.xml as the lunnatics installer create it.

With Boinc 7.0.64 or + if you want to run more than one WU at a time the better way to do that is by create a new file who´s name is: app_config.xml

This is a working app_config.xml

<app_config>
<app>
<name>setiathome_v7</name>
<gpu_versions>
<gpu_usage>0.49</gpu_usage>
<cpu_usage>0.06</cpu_usage>
</gpu_versions>
</app>
<app>
<name>setiathome_enhanced</name>
<gpu_versions>
<gpu_usage>0.49</gpu_usage>
<cpu_usage>0.06</cpu_usage>
</gpu_versions>
</app>
<app>
<name>astropulse_v6</name>
<gpu_versions>
<gpu_usage>0.51</gpu_usage>
<cpu_usage>1.0</cpu_usage>
</gpu_versions>
</app>
</app_config>

This file allow you to run 1 AP task on each GPU and 1 MB at a time (or 2 MB if no AP WU are avaiable), put it to work first after you sure it´s working you could easely change to run more without even need to reboot the BOinc itself (just by reading the configuration file again). But remember EACH AP task need a Free core to work properly, so keep that in mind when you make your configuration. Even if each one of your GPU can easely run 4 AP, that will uses all the cores on a I7 if HT is off (the optimal setting for SETI crunching).

Other important thing is, if you create the file with the notepath take care that you don't save with the extension .txt (the normal notepath extension) or the file will not work.


Juan, thanks for the info.

I opted for .51 gpu and .5 cpu for the AP.

I then selected .24 gpu and .16 CPU for the MB.

I wanted 1 AP and 2 MB tasks at once, but with the AP at .51 I had to go for 1 AP and 2 MB, or 4 x MB, but I have 3GB RAM on the card and it is the new shiny 780, so it should cope with it I hope.

I will see how it goes if I ever get any AP's from the server.

Why have you allocated a full CPU for the AP task? Does it really need a full CPU process?

Many thanks

Arvid


Nice it works.

.50 for CPU on AP will reserve a core if you not use HT, that will make your cruncher a little less efective, who much i can´t tell, to find the only way is if you try both then choose the best one. On my 2x690 host i use 1 CPU and not use HT.

I allocate 1 CPU for each AP task because is the optimall setting in my 690 GPU´s i try 0.5 and works slower (the cpu can´t feed the GPU at full speed). Most of the posts about that on the forums indicates that is the best setting. My sugestion try both and choose the best one.

About the MB you don´t need to change the cpu time keep that low, makes little or non diference. Keep that at 0.06.

MB 0.24 GPU will make each one of your GPU running 1 AP and 2 MB (or 4 when no AP work where avaiable) I belive that could be very close to the optimal setting for you GPU´s
ID: 1396416 · Report as offensive
Profile Arvid Almstrom
Avatar

Send message
Joined: 23 Mar 00
Posts: 98
Credit: 137,331,372
RAC: 0
Australia
Message 1396421 - Posted: 30 Jul 2013, 1:37:49 UTC - in response to Message 1396416.  


Nice it works.

.50 for CPU on AP will reserve a core if you not use HT, that will make your cruncher a little less efective, who much i can´t tell, to find the only way is if you try both then choose the best one. On my 2x690 host i use 1 CPU and not use HT.

I allocate 1 CPU for each AP task because is the optimall setting in my 690 GPU´s i try 0.5 and works slower (the cpu can´t feed the GPU at full speed). Most of the posts about that on the forums indicates that is the best setting. My sugestion try both and choose the best one.

About the MB you don´t need to change the cpu time keep that low, makes little or non diference. Keep that at 0.06.

MB 0.24 GPU will make each one of your GPU running 1 AP and 2 MB (or 4 when no AP work where avaiable) I belive that could be very close to the optimal setting for you GPU´s


Thanks for that Juan, I'll run it for a while and see which option works best if I could only get some AP WU's to test with.

Arvid
Arvid Almstrom
ID: 1396421 · 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 1396429 - Posted: 30 Jul 2013, 1:45:57 UTC
Last modified: 30 Jul 2013, 1:50:57 UTC

You could use 0.5 GPU for AP then 2 AP will runs at the same time on each GPU but in my case that was less efective i belive because i use 2x690 (double GPU) and when i do that actualy i start a total of 8 GPU AP and the entire hosts slowdown. But that could be diferent on a 2x780 host, i strongly sugest you try a 780 must be powerfull enought to crunch even 3 at a time if your cpu could feed it (try 0.33 GPU but leave GPU at 1.0 check tha GPU usage with GPU-Z closer to 100 is better).

If you could post the results that will help others with a similar configurations.
ID: 1396429 · Report as offensive

Message boards : Number crunching : Help needed to enable running of multiple task 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.