Message boards :
Number crunching :
Run Multiple WU's on Your GPU
Message board moderation
Previous · 1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 . . . 11 · Next
Author | Message |
---|---|
Send message Joined: 18 Jul 10 Posts: 76 Credit: 640,329,876 RAC: 66,474 |
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 |
Send message Joined: 5 Jul 11 Posts: 990 Credit: 376,143,149 RAC: 0 |
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. |
Send message Joined: 2 Oct 16 Posts: 167 Credit: 1,008,062,758 RAC: 85 |
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. |
Send message Joined: 6 Oct 14 Posts: 46 Credit: 20,017,425 RAC: 0 |
|
Send message Joined: 28 Aug 11 Posts: 7 Credit: 29,852,657 RAC: 0 |
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 |
Send message Joined: 8 May 09 Posts: 3339 Credit: 524,010,781 RAC: 0 |
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. Post your app_config.xml file and let people take a look at it. |
Send message Joined: 28 Aug 11 Posts: 7 Credit: 29,852,657 RAC: 0 |
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 |
Send message Joined: 28 Nov 14 Posts: 51 Credit: 86,696,721 RAC: 0 |
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 |
Send message Joined: 28 May 10 Posts: 5 Credit: 264,702,311 RAC: 0 |
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. |
Send message Joined: 28 Nov 14 Posts: 51 Credit: 86,696,721 RAC: 0 |
Hi xdarma,
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 |
Send message Joined: 13 Dec 12 Posts: 101 Credit: 1,782,758,310 RAC: 0 |
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! |
Send message Joined: 13 Oct 16 Posts: 112 Credit: 1,174,293,644 RAC: 0 |
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> |
Send message Joined: 13 Dec 12 Posts: 101 Credit: 1,782,758,310 RAC: 0 |
If it's only that copied and pasted into a file then I'm like the others and get a syntax error. |
Send message Joined: 24 Jan 11 Posts: 715 Credit: 557,077,350 RAC: 43,556 |
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. |
Send message Joined: 13 Dec 12 Posts: 101 Credit: 1,782,758,310 RAC: 0 |
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> |
Send message Joined: 14 Nov 14 Posts: 9 Credit: 214,644,261 RAC: 0 |
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 |
Send message Joined: 14 Nov 14 Posts: 9 Credit: 214,644,261 RAC: 0 |
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> |
Send message Joined: 24 Jan 11 Posts: 715 Credit: 557,077,350 RAC: 43,556 |
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> |
Send message Joined: 13 Dec 12 Posts: 101 Credit: 1,782,758,310 RAC: 0 |
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! |
Send message Joined: 13 Dec 12 Posts: 101 Credit: 1,782,758,310 RAC: 0 |
Quick question..... ATM I have about 186 WU's which are validation inconclusive. Could that be a result of running multiple WU's? Thx |
©2024 Astroinformatics Group