|
|
Pages: [1] 2 3 ... 25
|
 |
|
Author
|
Topic: CPU <-> GPU rebranding (Read 80937 times)
|
Raistmer
Working Code Wizard
Volunteer Developer
Knight who says 'Ni!'
   
Online
Posts: 11038
|
Attached script will move VLAR and VHAR tasks to CPU and midrange tasks to GPU queues. This increase host productivity. With small modifications it can be used to move all (or almost all) MB tasks to GPU and vice-versa. It should be run from BOINC data directory. Don't forget to backup you BOINC data folder and disable BOINC network access on first script use.
|
|
|
« Last Edit: 12 Jul 2009, 03:32:21 pm by Raistmer »
|
Logged
|
|
|
|
M_M
Squire
Offline
Posts: 29
|
Thanks for the script.
I have also noticed that it does not seem to be working when there are some other boinc projects besides seti@home... it's trying to find other project WUs in seti work directory and ofcourse it fails...
Could you please fix this, so it searches and try to fix only seti WUs. I guess it shouldn't be so complicated.
Thanks in advance.
|
|
|
|
|
Logged
|
|
|
|
Raistmer
Working Code Wizard
Volunteer Developer
Knight who says 'Ni!'
   
Online
Posts: 11038
|
Yes, it will try find SETI beta tasks in SETI project too.
|
|
|
|
|
Logged
|
|
|
|
Lord Asmodeus
Guest
|
Hello. I'd like to use this script but I have no idea as the how to (use a script in general). I found an explanation for ubuntu but i'm on XP. I found elsewhere than it doesn't work with more than 500 WU, is it true (I have more than a thousand currently) ?
Thanks
|
|
|
|
|
Logged
|
|
|
|
M_M
Squire
Offline
Posts: 29
|
|
|
|
|
|
Logged
|
|
|
|
Raistmer
Working Code Wizard
Volunteer Developer
Knight who says 'Ni!'
   
Online
Posts: 11038
|
If you have >500 MB tasks in cache script will exit w/o modifying BOINC state. It's some kind of foolproof. There are too many users now who trash whole 10-day cache with few thousands tasks with easy trying some new software/configurations w/o any care of properly backing up their BOINC installation. Anyone who skilled enough can easely modify this limit. The rest of users should obey it.
|
|
|
|
|
Logged
|
|
|
|
Lord Asmodeus
Guest
|
OK, it is quite simple...but I have a problem  I modified the limit, that was simple. I run it, and it doesn't work : >perl -w CPU_GPU_rebrand_V2.pl
Number of CPU tasks before rescheduling:0 Number of GPU tasks before rescheduling:610 Illegal division by zero at CPU_GPU_rebrand_V2.pl line 50. I studied the script, and the div/0 is logical with all the tasks considered as GPU. I don't understand why this is the case, however. btw, thank you for your previous answers, I have learned something.
|
|
|
|
|
Logged
|
|
|
|
Leopoldo
Guest
|
Attached script will move VLAR and VHAR tasks to CPU and midrange tasks to GPU queues. ... Don't forget to backup you BOINC data folder and disable BOINC network access on first script use.
BTW, is it too hard to convert VisualBasic6-program into VBScript? In the beginning I did rebranding 608->603 manually, but after increasing of VLAR-WUs quantity I made VB6-program and using it past days...
|
|
|
|
|
Logged
|
|
|
|
M_M
Squire
Offline
Posts: 29
|
OK, it is quite simple...but I have a problem  I modified the limit, that was simple. I run it, and it doesn't work : >perl -w CPU_GPU_rebrand_V2.pl
Number of CPU tasks before rescheduling:0 Number of GPU tasks before rescheduling:610 Illegal division by zero at CPU_GPU_rebrand_V2.pl line 50. I studied the script, and the div/0 is logical with all the tasks considered as GPU. I don't understand why this is the case, however. btw, thank you for your previous answers, I have learned something. I have exactly the same problem.  Using Boinc 6.6.20, and having a Q9650 and GTX260. Having a lot of CPU AP tasks, and probably no 603 CPU tasks, only 6.08 GPU ones (from which some of them are VLARs to be rebranded for sure).
|
|
|
|
|
Logged
|
|
|
|
Raistmer
Working Code Wizard
Volunteer Developer
Knight who says 'Ni!'
   
Online
Posts: 11038
|
Here replacement script.
|
|
|
|
Logged
|
|
|
|
M_M
Squire
Offline
Posts: 29
|
Thanks, just used V3 script which rebranded 86 GPU to CPU units. But I think I also came accross a serious bug. Before applying the script, I had a couple of AP WUs, some of them half-done, which now dissapeared... 
|
|
|
|
|
Logged
|
|
|
|
Raistmer
Working Code Wizard
Volunteer Developer
Knight who says 'Ni!'
   
Online
Posts: 11038
|
Thanks, just used V3 script which rebranded 86 GPU to CPU units. But I think I also came accross a serious bug. Before applying the script, I had a couple of AP WUs, some of them half-done, which now dissapeared...  Will look at this issue. For now you should restore from backup.
|
|
|
|
|
Logged
|
|
|
|
Lord Asmodeus
Guest
|
It seems OK for me (I don't participate in AP). C:\Documents and Settings\All Users\Application Data\BOINC>CPU_GPU_rebrand_V3.pl
Number of CPU tasks before rescheduling:0 Number of GPU tasks before rescheduling:1882 Number of CPU tasks after rescheduling:508 Number of GPU tasks after rescheduling:1374 I'ill let it work in "no network mode" for tonight to confirm the success.
|
|
|
|
|
Logged
|
|
|
|
Raistmer
Working Code Wizard
Volunteer Developer
Knight who says 'Ni!'
   
Online
Posts: 11038
|
Thanks, just used V3 script which rebranded 86 GPU to CPU units. But I think I also came accross a serious bug. Before applying the script, I had a couple of AP WUs, some of them half-done, which now dissapeared...  Try this one. I have no AP tasks so can't check if it will work as intendedbut hope it will. Backup before first use required as usual.
|
|
|
|
Logged
|
|
|
|
EPG
Guest
|
Not good, still kills ap wus in the second WHILE loop if i understand correctly. I think the wu check should be based on the <app_name>seti... instead of !<name>ap, because that would be compatible with any other project.
<result> <name>ap_12mr09ad_B4_P0_00220_20090517_09656.wu_1</name> <final_cpu_time>0.000000</final_cpu_time> <final_elapsed_time>0.000000</final_elapsed_time> <exit_status>0</exit_status> <state>2</state> <platform>windows_intelx86</platform> <fpops_cumulative>588532400000000.000000</fpops_cumulative> <wu_name>ap_12mr09ad_B4_P0_00220_20090517_09656.wu</wu_name> <report_deadline>1245152434.000000</report_deadline> <file_ref> <file_name>ap_12mr09ad_B4_P0_00220_20090517_09656.wu_1_0</file_name> <open_name>pulse.out</open_name> </file_ref> <version_num>608</version_num> <plan_class>cuda</plan_class> </result>
|
|
|
|
« Last Edit: 18 May 2009, 04:44:23 am by EPG »
|
Logged
|
|
|
|
|
Pages: [1] 2 3 ... 25
|
|
|
|
Quote!
There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened.- Douglas Adams
|
 |  |  |
| |
Online users/last 15m
22 Guests, 1 User
Raistmer 13 Members/last 24hRaistmer, Claggy, arkayn, msattler, Urs Echternacht, Mike, Josef W. Segur, mr.mac52, Richard Haselgrove, Hans Dorn, Devaster, ML1, Purple Rabbit
| |
 | |  |
|