Seti@Home optimized science apps and information
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
10 Mar 2010, 05:54:31 pm

Login with username, password and session length
 
If you've registered already but never got your activation email, please click here.
 
 
Seti@Home optimized science apps and information  |  Optimized Seti@Home apps  |  Windows  |  GPU crunching  |  Topic: CPU <-> GPU rebranding 0 Members and 0 Guests are viewing this topic. « previous next »
Pages: 1 ... 7 8 [9] 10 11 ... 19 Go Down Print
Author Topic: CPU <-> GPU rebranding  (Read 17204 times)
Raistmer
Code Wizard
Knight who says 'Ni!'
*****
Offline Offline

Posts: 4932



View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #120 on: 01 Jul 2009, 04:04:11 am »

I have no idea why VLARKILL occurred even after a reschedule. I think Raistmer can answer this one better then me. However i noticed a couple of vlarrkils on my account also while using the tool, but nearly not as much as it used to be (before that complete series went down the drain).
In Rick's case it seems he sent some of true VLARs back to GPU when used "75%" distribution. Can this mode of operation leave VLARs on GPU?
Logged
Marius
Knight o' The Realm
**
Offline Offline

Posts: 77


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #121 on: 01 Jul 2009, 07:41:20 am »

I have no idea why VLARKILL occurred even after a reschedule. I think Raistmer can answer this one better then me. However i noticed a couple of vlarrkils on my account also while using the tool, but nearly not as much as it used to be (before that complete series went down the drain).
In Rick's case it seems he sent some of true VLARs back to GPU when used "75%" distribution. Can this mode of operation leave VLARs on GPU?

I think this is only possible if Rick has checked the option "Use True Angle Rate" (basicly the tool is then using Eric and Richard's detection of vlar/vhar)
Rsc_fpops_est = 80360000000000.000000 is a vlar
Rsc_fpops_est = 23780000000000.000000 is a vhar

Instead of your detection algorithm (which i assume is also used when doing the vlarkill):
true_angle_range < 0.13 = vlar
true_angle_range > 1.127 = vhar

Greetings,
Marius
Logged

Raistmer
Code Wizard
Knight who says 'Ni!'
*****
Offline Offline

Posts: 4932



View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #122 on: 01 Jul 2009, 08:15:50 am »

Maybe. I never used flop estimates for this purpose cause execution path will based on numbers derived from AR. Science app doesn't know about estimations of its performance Wink
Logged
Purple Rabbit
Knight o' The Realm
**
Offline Offline

Posts: 37



View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #123 on: 01 Jul 2009, 09:27:45 pm »

Thanks guys. I typically run the reschedule with VLAR/VHAR to CPU. Being an engineer who can't keep his hands off of things  Grin , I then unchecked the box and ran the 75% to GPU. I think I could have tried "true angle" as well.

I tend to play with things to see how they work. I was just a bit surprised when some of the "bad" ones actually ran OK how ever I got them back to the GPU. Of course there was a lot of carnage too  Wink

By the way I had about 60 tasks and when I rescheduled using "VLAR/VHAR to CPU" all but 2 went to the CPU. After playing I got about 35 on the GPU. I wasn't paying attention, but I think maybe 10 or 15 ran with the rest dying the horrible death.
« Last Edit: 01 Jul 2009, 09:43:07 pm by Purple Rabbit » Logged
Morten
Squire
*
Online Online

Posts: 14


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #124 on: 04 Jul 2009, 06:41:21 am »

Hi,

What about MB application 605? I only have 605 no 603s, so I receive "Error : There is no application defined for version 603".

Regards
Morten Ross
Logged
Richard Haselgrove
Alpha Tester
Knight who says 'Ni!'
***
Offline Offline

Posts: 770


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #125 on: 04 Jul 2009, 07:10:34 am »

Hi,

What about MB application 605? I only have 605 no 603s, so I receive "Error : There is no application defined for version 603".

Regards
Morten Ross

Look at the SETI applications page. There is no current MB application 605: there will, briefly, have been a CUDA app with that number, while they were ironing out the initial major bugs, but that app has long since passed into history.

If you are seeing v6.05 on your host, then at some point you must have installed an app_info.xml file with a 605 version number reference. I suggest you go and review the work you did then, and reassure yourself that whatever application you installed to handle that 605 reference is still an appropriate one that you want to use. Assuming that it is, duplicate your 605 section and change one of the copies to have a 603 version number: ReScheduled tasks should work then.

This is one reason why it's a good idea to stick with the project's version numbering, even when installing third party applications. It makes absolutely no difference at all to the validity of the results, but non-standard numbering can have unexpected side-effects later on, as here.
Logged
Raistmer
Code Wizard
Knight who says 'Ni!'
*****
Offline Offline

Posts: 4932



View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #126 on: 04 Jul 2009, 07:17:04 am »

If you simple dublicate your 605 field, new downloaded tasks will still be branded as 605 and still no 603 wtasks will be available. You need to get rid from 605 completely by drying your current cache and changing 605 to 603.
[603 version num reserved for CPU app and 608 - for GPU CUDA app for now]
Logged
Richard Haselgrove
Alpha Tester
Knight who says 'Ni!'
***
Offline Offline

Posts: 770


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #127 on: 04 Jul 2009, 07:33:05 am »

But if he uses Marius's "ReSchedule" tool to create 603 tasks, then a double-version app_info will run them. It would have the interesting, and possibly useful, side-effect of allowing him to distinguish between rebranded tasks (v6.03) and native MB/CPU downloads (v6.05). It would, however, destroy any chance of using Marius's tool to rebrand downloaded CPU tasks back to CUDA.

@ Morten,

One thing I didn't cover in my previous post: do make absolutely sure that your '605' reference doesn't point to a CUDA app! The whole point of rebranding is to point the tasks to a CPU handler. Your description "MB application" could refer to either CPU or CUDA.

@ Marius,

How are the CPU and CUDA versions defined in your application? Are they hard-coded version numbers, or are they data picked up from the .ini file? It would be better, in the long run, to use configuration data to establish the version numbers, to allow for future Berkeley releases and special cases like Morten's.
Logged
MarkJ
Knight o' The Realm
**
Offline Offline

Posts: 49


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #128 on: 04 Jul 2009, 07:51:49 am »

I just downloaded it and installed on all my cuda machines, after first testing it on one of them. Seems I have VLAR/VHAR on all of them except one (it didn't have any MB work).

I did notice that the rebranded work units immediately went into "running, High Priority" mode. Seems their estimated time was 20+ hours. That estimate is dropping like a stone as it starts crunching them so it will work it out, but they will be finished by the time the TSI has come up (60 mins).

@ Marius, its a great little tool. Thank you.  Cool

One question about the automatic mode and the default time of 4 hours. I assume it just sits there waiting for the 4 hours to be up and then does its scan/rebrand before going back to sleep. I don't need to get windows to schedule it?

Cheers,
MarkJ
Logged
Morten
Squire
*
Online Online

Posts: 14


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #129 on: 04 Jul 2009, 07:53:32 am »

I was referring to CPU 605s, and based on app_info, some of which had both 603 and 605, and boinc started to pick up on the 605s recently. I thus assumed that 603s were about to expire and removed 603s from app_info. I have now reverted back to 603 and removed reference to 605s in my countless different app_infos, sigh.

Morten
Logged
Richard Haselgrove
Alpha Tester
Knight who says 'Ni!'
***
Offline Offline

Posts: 770


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #130 on: 04 Jul 2009, 08:18:51 am »


I did notice that the rebranded work units immediately went into "running, High Priority" mode. Seems their estimated time was 20+ hours. That estimate is dropping like a stone as it starts crunching them so it will work it out, but they will be finished by the time the TSI has come up (60 mins).


If tasks are estimated at 20 hours, but finishing in less than 1 hour, you have a horribly out-of-kilter Duration Correction Factor. With no VLAR handler in place, I would have expected a sawtooth waveform with maybe a factor of 4x between peak and valley, but 20x? Huh No wonder you were seeing preemptions and EDF on boinc_alpha.

I suggest a sanity-check on the FLOPs estimates in your app_info: once the after-effects of your CUDA/VLAR processing have worked their way out of your system, estimates for all SETI work (MB/CPU, MB/CUDA, and AP) should be accurate within a few %.
Logged
Marius
Knight o' The Realm
**
Offline Offline

Posts: 77


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #131 on: 04 Jul 2009, 08:25:32 am »

How are the CPU and CUDA versions defined in your application? Are they hard-coded version numbers, or are they data picked up from the .ini file? It would be better, in the long run, to use configuration data to establish the version numbers, to allow for future Berkeley releases and special cases like Morten's.

At the moment they have been hardcoded (just 2 references), but it isn't a lot of work making them configurable.

I think its even better to just figure out the right applications from the client_state.xml. Take a look at the /client_state/app_version/. Filter those on app_name=setiathome_enhanced, if i'm right (not really sure) there are alway's two applications for setiathome_enhanced with one marked with a plan_class=cuda (at the moment 603 and 608/cuda).

I need the platform info from the application section anywhay as i need to brand the platform as well (as Glennaxl asked a while back), picking up the version numbers would just be a perfect way to get the tool working for future versions of MB.



Greetings,
Marius
Logged

Richard Haselgrove
Alpha Tester
Knight who says 'Ni!'
***
Offline Offline

Posts: 770


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #132 on: 04 Jul 2009, 08:26:54 am »

Good thinking!

Edit - during transitional periods, there may be more than one version number in there for any one plan_class - some old work downloaded and still scheduled to be crunched with an older version, and some new work with references to a new version. Best BOINC practice would be to scan the versions, and choose the highest available for the app/plan/platform.
« Last Edit: 04 Jul 2009, 08:32:04 am by Richard Haselgrove » Logged
Marius
Knight o' The Realm
**
Offline Offline

Posts: 77


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #133 on: 04 Jul 2009, 08:32:07 am »

One question about the automatic mode and the default time of 4 hours. I assume it just sits there waiting for the 4 hours to be up and then does its scan/rebrand before going back to sleep. I don't need to get windows to schedule it?

Yes, its just a idle background application waiting for the 4 hours timeout (or whatever hours you have configured it to run). It does all the work itself without the need for the standard windows scheduler (or other complicated stuff).

However if you want it to work from within batch files or via windows scheduler use the commandline  "Reschedule.exe /Autorun <percentage>". It will start, do its thing and exit immediately.

Greetings,
Marius
Logged

Marius
Knight o' The Realm
**
Offline Offline

Posts: 77


View Profile
Re: CPU <-> GPU rebranding perl script
« Reply #134 on: 04 Jul 2009, 08:39:42 am »

Good thinking!

Edit - during transitional periods, there may be more than one version number in there for any one plan_class - some old work downloaded and still scheduled to be crunched with an older version, and some new work with references to a new version. Best BOINC practice would be to scan the versions, and choose the highest available for the app/plan/platform.

Excellent idea!

The "old" units would have been already rescheduled anywhay so very little chance on V*AR in the old cuda application.

Greetings,
Marius
Logged

Pages: 1 ... 7 8 [9] 10 11 ... 19 Go Up Print 
Seti@Home optimized science apps and information  |  Optimized Seti@Home apps  |  Windows  |  GPU crunching  |  Topic: CPU <-> GPU rebranding « previous next »
Jump to:  


Quote!
If everything seems to be going well, you have obviously overlooked something.
- Murphy's Law

 
Site Statistics
Total Members:2,265
Total Posts:25,349
Total Topics:805
Downloads
Apps
Windows R-1.x0
Windows R-2.00
Windows R-2.20
Linux 32bit 1.x0
Linux 32bit 2.20
Linux 64bit 2.20
Alpha/IA641,756
FreeBSD0
HPUX0
Subtotal:0
Source packs:5,329
Tool/WU packs:9,517
Total:85,100
GBs dl'd:365.28
Pages served
Today:6,566
Total:7,100,354
(since 6/26/2006)
173 Donations to S@H
U.S. Dollars:3,196.59
Euros:863.90
Last 24h:$ 0.00
Avg./24h:$ 3.84
Estim. total:$ 4,319.66
Latest Member:
franjo5
 
 
Seti@Home optimized science apps and information | Powered by Enigma 2.0 (RC1).
© 2003-2010, LSP Dev Team. All Rights Reserved.
Seti@Home optimized science apps and information Forums | Powered by SMF.
© 2005, Simple Machines LLC. All Rights Reserved.
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!