Welcome to MilkyWay@home

Run Multiple WU's on Your GPU

Message boards : Number crunching : Run Multiple WU's on Your GPU
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 . . . 11 · Next

AuthorMessage
wb8ili

Send message
Joined: 18 Jul 10
Posts: 76
Credit: 640,285,741
RAC: 65,941
Message 65492 - Posted: 19 Oct 2016, 14:19:06 UTC

Peter Hucker -

As a comment on your -

"but it doesn't take effect. I still see "0.5C + 1 AMD/ATI GPU in the task list."

The task list in the BOINC Manager shows the CPU/GPU requirements when the task was DOWNLOADED. However, when the task runs it uses the "latest" info from the config file. Tasks downloaded after you update the config file show the correct information in the task list
ID: 65492 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 5 Jul 11
Posts: 990
Credit: 376,143,149
RAC: 0
Message 65493 - Posted: 19 Oct 2016, 14:32:51 UTC - in response to Message 65492.  

I saw the already downloaded ones all change (in Boinctasks, which just takes info from BOINC) when I got it to work as per the suggestion. I had restarted BOINC.
ID: 65493 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
mmonnin

Send message
Joined: 2 Oct 16
Posts: 167
Credit: 1,008,062,758
RAC: 104
Message 65495 - Posted: 19 Oct 2016, 15:11:33 UTC

There is less benefit to slower cards as a larger percentage of the time is spent continuously crunching a single WU. When WUs take 7 seconds, even a 1 second gap between WUs is a huge loss in crunching time. 12.5% loss vs 2.5% if WUs take 40seconds.
ID: 65495 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rymorea

Send message
Joined: 6 Oct 14
Posts: 46
Credit: 20,017,425
RAC: 0
Message 65506 - Posted: 20 Oct 2016, 20:03:14 UTC

I notices some think if run 1 wu per GPU it is used %1-5 CPU but run 2 wu per GPU it is used %11-15 CPU for each wu. Anyone saw something like this ? What cause high CPU usage ?
ID: 65506 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
James L. Neill

Send message
Joined: 28 Aug 11
Posts: 7
Credit: 29,852,657
RAC: 0
Message 65562 - Posted: 30 Oct 2016, 9:49:39 UTC

I run MW@h on a linux box and I have just tried using the tweak to run two units on my GPU's. SAdly things did not work out.

Obviously some of the values needed tweaking particularly the cpu figure. Boinc came up with a syntax error on each of my 3 attempts.

I need to change/edit/alter something but i'm not quite sure what. Has anyone got any suggestions?

Thanks

James
ID: 65562 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3339
Credit: 524,010,781
RAC: 0
Message 65563 - Posted: 30 Oct 2016, 11:06:30 UTC - in response to Message 65562.  

I run MW@h on a linux box and I have just tried using the tweak to run two units on my GPU's. SAdly things did not work out.

Obviously some of the values needed tweaking particularly the cpu figure. Boinc came up with a syntax error on each of my 3 attempts.

I need to change/edit/alter something but i'm not quite sure what. Has anyone got any suggestions?

Thanks

James


Post your app_config.xml file and let people take a look at it.
ID: 65563 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
James L. Neill

Send message
Joined: 28 Aug 11
Posts: 7
Credit: 29,852,657
RAC: 0
Message 65564 - Posted: 30 Oct 2016, 11:36:27 UTC

Mikey, as requested.

<app_config>
<app>
<name>milkyway</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.05</cpu_usage>
</gpu_versions>
</app>
</app_config>

I should add that I am sure the cpu_usage line must change which I experimented with and also idented as here and no indentation.

ALl tries came up with the syntax error.

J
ID: 65564 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Cliff
Avatar

Send message
Joined: 28 Nov 14
Posts: 51
Credit: 86,696,721
RAC: 0
Message 65970 - Posted: 28 Nov 2016, 6:12:45 UTC

Hi Folks,
trying to get 2 gpu tasks running on a gtx980 for A@H

<app_config>
<app>
<name>period_search_10200_ windows_x86_64_cuda55.exe</name>
<user_friendly_name>Period_Search_Application_102.00_(cuda55)</name>

<max_concurrent>2</max_concurrent>
<gpu_versions>
<gpu_usage>.5</gpu_usage>
<cpu_usage>.04</cpu_usage>
</gpu_versions>
</app>

Trouble is I get a syntax error.. missing </app>
when I try to use it:-(
Any ideas?
Regards,
Cliff.
--
Been there Done That, still no Damn T-Shirt
ID: 65970 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
xdarma

Send message
Joined: 28 May 10
Posts: 5
Credit: 264,702,311
RAC: 0
Message 65971 - Posted: 28 Nov 2016, 14:28:25 UTC - in response to Message 65970.  


Trouble is I get a syntax error.. missing </app>
when I try to use it:-(
Any ideas?

Hi Cliff,
maybe is missing the </app_config> at the end of file.
And maybe 0.04 of one cpu core is little. I use 0.25.
ID: 65971 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Cliff
Avatar

Send message
Joined: 28 Nov 14
Posts: 51
Credit: 86,696,721
RAC: 0
Message 65973 - Posted: 28 Nov 2016, 19:52:45 UTC - in response to Message 65971.  

Hi xdarma,

Trouble is I get a syntax error.. missing </app>
when I try to use it:-(
Any ideas?

Hi Cliff,
maybe is missing the </app_config> at the end of file.
And maybe 0.04 of one cpu core is little. I use 0.25.


OK, </app_config> added:-) As for the 0.04 I got that by doubling the 0.02 allocated to the task.. but I'll change it to 0.25 anyway since the 0.04 was sheer guesswork.

Thanks for your help
Regards,
Cliff.
--
Been there Done That, still no Damn T-Shirt
ID: 65973 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Chooka
Avatar

Send message
Joined: 13 Dec 12
Posts: 101
Credit: 1,782,758,310
RAC: 0
Message 66003 - Posted: 12 Dec 2016, 10:44:16 UTC

I always struggle with these bloody files.
Can anyone help and shed some light on what I've done wrong? I can only get 1 WU running.

<app_info>
<app>
<name>milkyway</name>
</app>
<file_info>
<name>milkyway_1.43_windows_x86_64__opencl_ati_101.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>milkyway</app_name>
<version_num>143</version_num>
<platform>windows_x86_64</platform>
<avg_ncpus>0.5</avg_ncpus>
<max_ncpus>0.567833</max_ncpus>
<plan_class>opencl_ati_101</plan_class>
<cmdline></cmdline>
<coproc>
<type>ATI</type>
<count>0.5</count>
</coproc>
<file_ref>
<file_name>milkyway_1.43_windows_x86_64__opencl_ati_101.exe</file_name>
<main_program/>
</file_ref>
</app_version>
<app>
<name>milkyway_separation__modified_fit</name>
<user_friendly_name>Milkyway Sep. (Mod. Fit)</user_friendly_name>
</app>
<file_info>
<name>milkyway_separation__modified_fit_1.43_windows_x86_64.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>milkyway_separation__modified_fit</app_name>
<version_num>143</version_num>
<platform>windows_x86_64</platform>
<file_ref>
<file_name>milkyway_separation__modified_fit_1.43_windows_x86_64.exe</file_name>
<main_program/>
</file_ref>
</app_version>
<app>
<name>milkyway_separation__modified_fit</name>
</app>
<file_info>
<name>milkyway_separation__modified_fit_1.43_windows_x86_64__opencl_ati_101.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>milkyway_separation__modified_fit</app_name>
<version_num>143</version_num>
<platform>windows_x86_64</platform>
<avg_ncpus>0.05000</avg_ncpus>
<max_ncpus>0.0567833</max_ncpus>
<plan_class>opencl_ati_101</plan_class>
<cmdline></cmdline>
<coproc>
<type>ATI</type>
<count>0.5</count>
</coproc>
<file_ref>
<file_name>milkyway_separation__modified_fit_1.43_windows_x86_64__opencl_ati_101.exe</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>

Thank you!

ID: 66003 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
bluestang

Send message
Joined: 13 Oct 16
Posts: 112
Credit: 1,174,293,644
RAC: 0
Message 66004 - Posted: 12 Dec 2016, 17:01:53 UTC - in response to Message 66003.  

To run 2 at once app_config.xml shoud be:

<app_config>
<app>
<name>milkyway</name>
<gpu_versions>
<gpu_usage>.50</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
</app_config>
ID: 66004 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Chooka
Avatar

Send message
Joined: 13 Dec 12
Posts: 101
Credit: 1,782,758,310
RAC: 0
Message 66005 - Posted: 12 Dec 2016, 18:53:42 UTC

If it's only that copied and pasted into a file then I'm like the others and get a syntax error.

ID: 66005 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 24 Jan 11
Posts: 715
Credit: 557,040,331
RAC: 42,386
Message 66006 - Posted: 13 Dec 2016, 0:14:48 UTC - in response to Message 66005.  

Are you using Notepad to create or edit the file? Make sure you don't save it as the default *.txt file type. You need to use the *.* All Files type and save it as an .XML file. I copied your posts app_info to Notepad and saved it in Notepad as test.xml and then ran a sanity .XML check on it in Chrome and it didn't have any syntax errors.
ID: 66006 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Chooka
Avatar

Send message
Joined: 13 Dec 12
Posts: 101
Credit: 1,782,758,310
RAC: 0
Message 66008 - Posted: 13 Dec 2016, 9:32:24 UTC - in response to Message 66006.  
Last modified: 13 Dec 2016, 9:33:52 UTC

Are you using Notepad to create or edit the file? Make sure you don't save it as the default *.txt file type. You need to use the *.* All Files type and save it as an .XML file. I copied your posts app_info to Notepad and saved it in Notepad as test.xml and then ran a sanity .XML check on it in Chrome and it didn't have any syntax errors.


G'day Keith.

Firstly thank you for taking the time to reply.
Secondly you are right I would have saved it as the standard text document.
Thirdly... I'm sorry you'll have to spell it out simpler than what you have. You're talking to a guy who NEVER uses notepad. Ever!

Is the exact file name *.*app_info.xml ?

I'm sure that isn't right but I feel I'm close lol.

Thank you

ps - I should clarify, I only got the syntax error using the short text mentioned in this post (below), NOT with the text I posted which is currently only running 1 WU.

<app_config>
<app>
<name>milkyway</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.05</cpu_usage>
</gpu_versions>
</app>
</app_config>

ID: 66008 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rich

Send message
Joined: 14 Nov 14
Posts: 9
Credit: 214,644,261
RAC: 0
Message 66009 - Posted: 13 Dec 2016, 10:01:06 UTC

Good morning Chooka,

The file name is app_config.xml. If the file exists then right click the file and "Open With" notepad. If it is a new file then open notepad, insert the text and then from the file menu pull down select "Save As". Then go to the folder where M@W is located, my system is "F:\VolunteerComputing\BOINC\Data\projects\setiathome.berkeley.edu" and save the file as an XML file name "app_config.xml".

I'm running two work units at a time:

<app_config>
<app_version>
<app_name>setiathome_v8</app_name>
<plan_class>cuda50</plan_class>
<avg_ncpus>0.24</avg_ncpus>
<ngpus>0.50</ngpus>
</app_version>
<app_version>
<app_name>astropulse_v7</app_name>
<avg_ncpus>0.24</avg_ncpus>
<ngpus>0.50</ngpus>
</app_version>
<project_max_concurrent>20</project_max_concurrent>
</app_config>

Hope it works for you.

Rich
ID: 66009 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rich

Send message
Joined: 14 Nov 14
Posts: 9
Credit: 214,644,261
RAC: 0
Message 66010 - Posted: 13 Dec 2016, 10:03:27 UTC

Opps wrong app_config is last post:

<app_config>
<app>
<name>milkyway</name>
<max_concurrent>12</max_concurrent>
<gpu_versions>
<gpu_usage>0.50</gpu_usage>
<cpu_usage>0.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>milkyway_separation__modified_fit</name>
<max_concurrent>12</max_concurrent>
<gpu_versions>
<gpu_usage>0.50</gpu_usage>
<cpu_usage>0.25</cpu_usage>
</gpu_versions>
</app>
</app_config>
ID: 66010 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 24 Jan 11
Posts: 715
Credit: 557,040,331
RAC: 42,386
Message 66014 - Posted: 13 Dec 2016, 22:29:40 UTC

Chooka, as Rich pointed out, you need to use the Save As file save function in Notepad. Notepad defaults to *.txt file save if you don't explicitly override that with a full filename and extension. In your case, you need to save both app_info.xml and app_config.xml in your projects directory as .XML files. BOINC won't read any other file type correctly or consider it valid unless it sees the .XML format.

Your app_config looks mostly correct. Standard app_config rules suggest putting the <max_concurrent>N</max_concurrent> command at the end of the <app> block. Also you should remove the <name>milkyway_separation__modified_fit</name> application from the file as the project has finished up that work and won't be re-introducing it again. <name>milkyway</name> covers all the existing and future work at the moment.

If you want to know everything about the structure of app_config then I suggest you read through the documentation here.

Here is my app_config.xml as an example:

<app_config>
<app>
<name>milkyway</name>
<gpu_versions>
<cpu_usage>1</cpu_usage>
<gpu_usage>0.5</gpu_usage>
</gpu_versions>
</app>
<project_max_concurrent>4</project_max_concurrent>
</app_config>
ID: 66014 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Chooka
Avatar

Send message
Joined: 13 Dec 12
Posts: 101
Credit: 1,782,758,310
RAC: 0
Message 66017 - Posted: 14 Dec 2016, 8:18:57 UTC

Hi Keith/Rich,

Thank you very much for your help! I managed to get it working thanks to you both! :)
Using 0.5 of a CPU core, I'll just have to play around and see if I need to reserve more CPU to get the best run times.
Currently I have Einstein@Home crunching CPU tasks and M@H for GPU.
I have my preferences currently set at 98% of CPU. I think this might be a bit high for a 4 core CPU (75% would reserve 1 core correct?)

Keith - Just to be clear, in my app_config file should I remove everything from & including <app> (above <name>milkyway_separation__modified_fit</name>) right through to and including </app_version> ?

If that were the case I'd be left with the following -

<app_info>
<app>
<name>milkyway</name>
</app>
<file_info>
<name>milkyway_1.43_windows_x86_64__opencl_ati_101.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>milkyway</app_name>
<version_num>143</version_num>
<platform>windows_x86_64</platform>
<avg_ncpus>0.5</avg_ncpus>
<max_ncpus>0.567833</max_ncpus>
<plan_class>opencl_ati_101</plan_class>
<cmdline></cmdline>
<coproc>
<type>ATI</type>
<count>0.5</count>
</coproc>
<file_ref>
<file_name>milkyway_1.43_windows_x86_64__opencl_ati_101.exe</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>

2 WU's makes much better utilisation of my GPU.
Thanks once again guys, I really appreciate your help!


ID: 66017 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Chooka
Avatar

Send message
Joined: 13 Dec 12
Posts: 101
Credit: 1,782,758,310
RAC: 0
Message 66022 - Posted: 15 Dec 2016, 18:55:53 UTC

Quick question..... ATM I have about 186 WU's which are validation inconclusive. Could that be a result of running multiple WU's?

Thx

ID: 66022 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 . . . 11 · Next

Message boards : Number crunching : Run Multiple WU's on Your GPU

©2024 Astroinformatics Group