Message boards :
Number crunching :
gpu running cpu not ,app_config issue
Message board moderation
Author | Message |
---|---|
Rasputin42 Send message Joined: 25 Jul 08 Posts: 412 Credit: 5,834,661 RAC: 0 |
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? |
Zalster Send message Joined: 27 May 99 Posts: 5517 Credit: 528,817,460 RAC: 242 |
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 |
Rasputin42 Send message Joined: 25 Jul 08 Posts: 412 Credit: 5,834,661 RAC: 0 |
Both GPUs work. The CPUs don't. |
OzzFan Send message Joined: 9 Apr 02 Posts: 15691 Credit: 84,761,841 RAC: 28 |
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. |
Zalster Send message Joined: 27 May 99 Posts: 5517 Credit: 528,817,460 RAC: 242 |
Computer ID: 7349323 http://setiathome.berkeley.edu/results.php?hostid=7349323 This shows that the CPU is crunching work units. Refer to OzzFan above |
Rasputin42 Send message Joined: 25 Jul 08 Posts: 412 Credit: 5,834,661 RAC: 0 |
OK. But how do i get the CPUs running? |
OzzFan Send message Joined: 9 Apr 02 Posts: 15691 Credit: 84,761,841 RAC: 28 |
According to the details for your hosts, your CPUs have work and should be running. Is that not the case? |
Rasputin42 Send message Joined: 25 Jul 08 Posts: 412 Credit: 5,834,661 RAC: 0 |
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? |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14654 Credit: 200,643,578 RAC: 874 |
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. |
HAL9000 Send message Joined: 11 Sep 99 Posts: 6534 Credit: 196,805,888 RAC: 57 |
Hi 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[ |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14654 Credit: 200,643,578 RAC: 874 |
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. 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. |
OzzFan Send message Joined: 9 Apr 02 Posts: 15691 Credit: 84,761,841 RAC: 28 |
[Edit] Richard beat me to the punch. :-D |
OzzFan Send message Joined: 9 Apr 02 Posts: 15691 Credit: 84,761,841 RAC: 28 |
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. Ah, thanks. I'd study that some more, but I have enough studying to do at the moment to further my career. :) |
Rasputin42 Send message Joined: 25 Jul 08 Posts: 412 Credit: 5,834,661 RAC: 0 |
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. |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14654 Credit: 200,643,578 RAC: 874 |
When pressing read config files(app_ config disabled), i have 8 tasks running in total. 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. |
HAL9000 Send message Joined: 11 Sep 99 Posts: 6534 Credit: 196,805,888 RAC: 57 |
When pressing read config files(app_ config disabled), i have 8 tasks running in total. 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[ |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14654 Credit: 200,643,578 RAC: 874 |
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. |
Rasputin42 Send message Joined: 25 Jul 08 Posts: 412 Credit: 5,834,661 RAC: 0 |
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. |
HAL9000 Send message Joined: 11 Sep 99 Posts: 6534 Credit: 196,805,888 RAC: 57 |
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. 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[ |
KLiK Send message Joined: 31 Mar 14 Posts: 1304 Credit: 22,994,597 RAC: 60 |
When pressing read config files(app_ config disabled), i have 8 tasks running in total. 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 |
©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.