gpu running cpu not ,app_config issue

Message boards : Number crunching : gpu running cpu not ,app_config issue
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Rasputin42
Volunteer tester

Send message
Joined: 25 Jul 08
Posts: 412
Credit: 5,834,661
RAC: 0
United States
Message 1674491 - Posted: 6 May 2015, 21:41:29 UTC

Hi
I have an intel and a nvidia GPU.
I want the nvidia to run 2 tasks at a time and the intel 1.(and all cpus
I have an app_config.xml:
<app_config>
<app>
<name>setiathome_v7</name>
<max_concurrent>3</max_concurrent>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.1</cpu_usage>
</gpu_versions>
</app>
</app_config>
It works, but the CPU tasks are not running.
I am using lunatics 0.43a on win8 machine,latest boinc version.

Any ideas?
ID: 1674491 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1674494 - Posted: 6 May 2015, 22:19:12 UTC - in response to Message 1674491.  
Last modified: 6 May 2015, 22:21:17 UTC

On the Seti@home preference page, did you click the use Intel GPU?

If you did, and still no work then post the first 30 lines of the start up from the event log so we can look at it

Zalster

Edit..

Which computer. I see one is already running work on the iGPU
ID: 1674494 · Report as offensive
Rasputin42
Volunteer tester

Send message
Joined: 25 Jul 08
Posts: 412
Credit: 5,834,661
RAC: 0
United States
Message 1674496 - Posted: 6 May 2015, 22:22:20 UTC

Both GPUs work.
The CPUs don't.
ID: 1674496 · Report as offensive
OzzFan Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Apr 02
Posts: 15691
Credit: 84,761,841
RAC: 28
United States
Message 1674498 - Posted: 6 May 2015, 22:27:52 UTC - in response to Message 1674491.  
Last modified: 6 May 2015, 22:30:36 UTC

You can't specify differing numbers of tasks per GPU/device. You can only specify the number of tasks per application, but it will be the same for all devices.

[Edit] It is also not the most efficient thing to do to run on all CPU cores with GPUs. Leave at least one to two cores free to feed your GPUs is ideal.
ID: 1674498 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1674499 - Posted: 6 May 2015, 22:28:43 UTC - in response to Message 1674496.  
Last modified: 6 May 2015, 22:29:51 UTC

Computer ID: 7349323

http://setiathome.berkeley.edu/results.php?hostid=7349323

This shows that the CPU is crunching work units.

Refer to OzzFan above
ID: 1674499 · Report as offensive
Rasputin42
Volunteer tester

Send message
Joined: 25 Jul 08
Posts: 412
Credit: 5,834,661
RAC: 0
United States
Message 1674500 - Posted: 6 May 2015, 22:30:12 UTC

OK.
But how do i get the CPUs running?
ID: 1674500 · Report as offensive
OzzFan Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Apr 02
Posts: 15691
Credit: 84,761,841
RAC: 28
United States
Message 1674501 - Posted: 6 May 2015, 22:32:23 UTC - in response to Message 1674500.  

According to the details for your hosts, your CPUs have work and should be running. Is that not the case?
ID: 1674501 · Report as offensive
Rasputin42
Volunteer tester

Send message
Joined: 25 Jul 08
Posts: 412
Credit: 5,834,661
RAC: 0
United States
Message 1674503 - Posted: 6 May 2015, 22:35:19 UTC

If i start boinc with the app_config file, i have two tasks runnig on nvidia,1 task running on intel and no cpu tasks.
IF i then remove the app-config file and press read config files i have 2 nvidia tasks running, 2intel tasks and all cpu tasks.
How does that work?
ID: 1674503 · 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 1674504 - Posted: 6 May 2015, 22:37:31 UTC - in response to Message 1674498.  

You can't specify differing numbers of tasks per GPU/device. You can only specify the number of tasks per application, but it will be the same for all devices.

You can set different numbers of tasks per GPU for GPUs of different types, by using the <plan_class> to differentiate them. That's a later extension to the original app_config mechanism.
ID: 1674504 · 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 1674505 - Posted: 6 May 2015, 22:37:49 UTC - in response to Message 1674491.  

Hi
I have an intel and a nvidia GPU.
I want the nvidia to run 2 tasks at a time and the intel 1.(and all cpus
I have an app_config.xml:
<app_config>
<app>
<name>setiathome_v7</name>
<max_concurrent>3</max_concurrent>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.1</cpu_usage>
</gpu_versions>
</app>
</app_config>
It works, but the CPU tasks are not running.
I am using lunatics 0.43a on win8 machine,latest boinc version.

Any ideas?

You have specified in your app_config.xml that you wish for BOINC to only run a maximum of 3 SETI@home tasks at a time. So if you are running 3 GPU tasks then you can run 0 more other tasks. If you suspend GPU processing your CPU tasks should start.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1674505 · 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 1674508 - Posted: 6 May 2015, 22:39:44 UTC - in response to Message 1674503.  

If i start boinc with the app_config file, i have two tasks runnig on nvidia,1 task running on intel and no cpu tasks.
IF i then remove the app-config file and press read config files i have 2 nvidia tasks running, 2intel tasks and all cpu tasks.
How does that work?

You have specified

<max_concurrent>3</max_concurrent>

Two on NVidia, one on Intel, uses up your three allowed. None left over for the CPU.
ID: 1674508 · Report as offensive
OzzFan Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Apr 02
Posts: 15691
Credit: 84,761,841
RAC: 28
United States
Message 1674509 - Posted: 6 May 2015, 22:40:48 UTC - in response to Message 1674503.  
Last modified: 6 May 2015, 22:41:26 UTC

[Edit] Richard beat me to the punch. :-D
ID: 1674509 · Report as offensive
OzzFan Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Apr 02
Posts: 15691
Credit: 84,761,841
RAC: 28
United States
Message 1674511 - Posted: 6 May 2015, 22:42:49 UTC - in response to Message 1674504.  

You can't specify differing numbers of tasks per GPU/device. You can only specify the number of tasks per application, but it will be the same for all devices.

You can set different numbers of tasks per GPU for GPUs of different types, by using the <plan_class> to differentiate them. That's a later extension to the original app_config mechanism.


Ah, thanks. I'd study that some more, but I have enough studying to do at the moment to further my career. :)
ID: 1674511 · Report as offensive
Rasputin42
Volunteer tester

Send message
Joined: 25 Jul 08
Posts: 412
Credit: 5,834,661
RAC: 0
United States
Message 1674514 - Posted: 6 May 2015, 22:48:47 UTC

When pressing read config files(app_ config disabled), i have 8 tasks running in total.
How does that work?
It should do 1 iGPU, 1 nvidia and 4 cpu tasks.
ID: 1674514 · 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 1674523 - Posted: 6 May 2015, 23:15:54 UTC - in response to Message 1674514.  

When pressing read config files(app_ config disabled), i have 8 tasks running in total.
How does that work?
It should do 1 iGPU, 1 nvidia and 4 cpu tasks.

You would have to tell us what other control mechanisms - project preferences, app_info.xml, as well as app_config.xml - you have in place, and what settings they contain. Also, which 8 tasks are running - how are they distributed across your three processor types?

But tell someone else - I'm off to bed now. G'night all.
ID: 1674523 · 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 1674549 - Posted: 7 May 2015, 2:15:05 UTC - in response to Message 1674514.  
Last modified: 7 May 2015, 2:24:57 UTC

When pressing read config files(app_ config disabled), i have 8 tasks running in total.
How does that work?
It should do 1 iGPU, 1 nvidia and 4 cpu tasks.

My first guess would be that you have modified the <count>n</count> settings in your app_info.xml. In the absence of an app_config.xml the app_info.xml settings will take over.

My second guess would be that BOINC is acting a little screwy. Which I have seen it do. When changing or adding/removing an app_config.xml. If you restart BOINC & you are still running 8 tasks instead of 6 look at your app_info.xml <count> values. As I previously mentioned.

Also for your app_config.xml running 2 NV & 1 iGPU tasks at a time would look something like this.
I'm not 100% sure I have the right info in <plan_class>. As I don't use an app_info.xml generated from the lunatics installer these days, but you can double check the values that exist in your app_info.xml.

<app_config>
	<app_version>
		<app_name>setiathome_v7</app_name>
		<plan_class>cuda50</plan_class>
		<ngpus>0.5</ngpus>
		<avg_ncpus>0.1</avg_ncpus>
	</app_version>
	<app_version>
		<app_name>setiathome_v7</app_name>
		<plan_class>opencl_intel_gpu_sah</plan_class>
		<ngpus>1.0</ngpus>
		<avg_ncpus>0.1</avg_ncpus>
	</app_version>
</app_config>


Your app_info.xml may have several entries with different plan classes. So you would need to make an app_version entry for each one you are using I expect.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1674549 · 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 1674634 - Posted: 7 May 2015, 8:44:21 UTC - in response to Message 1674549.  

Your app_info.xml may have several entries with different plan classes. So you would need to make an app_version entry for each one you are using I expect.

App_info.xml files generated by the Lunatics installer do indeed contain multiple different plan classes (especially for MB applications for NVidia). They are there purely to smooth the transitional path and to avoid losing cached work, either when installing Lunatics for the first time, or when re-installing to change one or more of the selected applications.

Once cached work present at the time of transition has been processed, the only plan classes active will be the first listed for each application/GPU combination - AP or MB, ATI, NV or Intel. That cuts down the list - and if tasks are present on the machine, the plan class they are assigned to is visible in BOINC Manager, in parentheses at the extreme right of the Application column (you may need to make the column wider to read the full text).

App_info.xml needs to contain entries for every application that you want to run: app_config.xml only needs to contain entries where you want to change the default behaviour (whether that default comes from web preferences or an app_info.xml file) - which means that app_config.xml can be much shorter and simpler.
ID: 1674634 · Report as offensive
Rasputin42
Volunteer tester

Send message
Joined: 25 Jul 08
Posts: 412
Credit: 5,834,661
RAC: 0
United States
Message 1674655 - Posted: 7 May 2015, 11:17:56 UTC

I have reinstalled lunatics with the same settings as before and implemented the config file.

It works great now!
Special thanks to HAL9000.
Your suggestion worked.

Thanks, also ,to everyone else for the help.
ID: 1674655 · 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 1674658 - Posted: 7 May 2015, 12:01:54 UTC - in response to Message 1674634.  

Your app_info.xml may have several entries with different plan classes. So you would need to make an app_version entry for each one you are using I expect.

App_info.xml files generated by the Lunatics installer do indeed contain multiple different plan classes (especially for MB applications for NVidia). They are there purely to smooth the transitional path and to avoid losing cached work, either when installing Lunatics for the first time, or when re-installing to change one or more of the selected applications.

Once cached work present at the time of transition has been processed, the only plan classes active will be the first listed for each application/GPU combination - AP or MB, ATI, NV or Intel. That cuts down the list - and if tasks are present on the machine, the plan class they are assigned to is visible in BOINC Manager, in parentheses at the extreme right of the Application column (you may need to make the column wider to read the full text).

App_info.xml needs to contain entries for every application that you want to run: app_config.xml only needs to contain entries where you want to change the default behaviour (whether that default comes from web preferences or an app_info.xml file) - which means that app_config.xml can be much shorter and simpler.

That makes sense, but it works that way anyway. Which is not always the case when dealing with BOINC.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1674658 · Report as offensive
KLiK
Volunteer tester

Send message
Joined: 31 Mar 14
Posts: 1304
Credit: 22,994,597
RAC: 60
Croatia
Message 1679813 - Posted: 15 May 2015, 6:12:43 UTC - in response to Message 1674549.  

When pressing read config files(app_ config disabled), i have 8 tasks running in total.
How does that work?
It should do 1 iGPU, 1 nvidia and 4 cpu tasks.

My first guess would be that you have modified the <count>n</count> settings in your app_info.xml. In the absence of an app_config.xml the app_info.xml settings will take over.

My second guess would be that BOINC is acting a little screwy. Which I have seen it do. When changing or adding/removing an app_config.xml. If you restart BOINC & you are still running 8 tasks instead of 6 look at your app_info.xml <count> values. As I previously mentioned.

Also for your app_config.xml running 2 NV & 1 iGPU tasks at a time would look something like this.
I'm not 100% sure I have the right info in <plan_class>. As I don't use an app_info.xml generated from the lunatics installer these days, but you can double check the values that exist in your app_info.xml.

<app_config>
	<app_version>
		<app_name>setiathome_v7</app_name>
		<plan_class>cuda50</plan_class>
		<ngpus>0.5</ngpus>
		<avg_ncpus>0.1</avg_ncpus>
	</app_version>
	<app_version>
		<app_name>setiathome_v7</app_name>
		<plan_class>opencl_intel_gpu_sah</plan_class>
		<ngpus>1.0</ngpus>
		<avg_ncpus>0.1</avg_ncpus>
	</app_version>
</app_config>


Your app_info.xml may have several entries with different plan classes. So you would need to make an app_version entry for each one you are using I expect.

help!

I just put this in my config (1x nVidia Quadro 2000 & 1x iGPU HD2500):
<app_config>	
	<app_version>
		<app_name>setiathome_v7</app_name>
		<plan_class>cuda50</plan_class>
		<ngpus>0.5</ngpus>
		<avg_ncpus>0.1</avg_ncpus>
	</app_version>
	<app_version>
		<app_name>setiathome_v7</app_name>
		<plan_class>cuda32</plan_class>
		<ngpus>0.5</ngpus>
		<avg_ncpus>0.1</avg_ncpus>
	</app_version>
	<app_version>
		<app_name>setiathome_v7</app_name>
		<plan_class>opencl_intel_gpu_sah</plan_class>
		<ngpus>1.0</ngpus>
		<avg_ncpus>0.1</avg_ncpus>
	</app_version>
</app_config>


and it doesn't work! :/

app_info.xml is in SETi@home project dir...read a config & local prefs in BOINC...

what I didn't do?


non-profit org. Play4Life in Zagreb, Croatia, EU
ID: 1679813 · Report as offensive
1 · 2 · Next

Message boards : Number crunching : gpu running cpu not ,app_config issue


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