+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: CPU <-> GPU rebranding  (Read 204953 times)

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: CPU <-> GPU rebranding perl script
« Reply #165 on: 05 Jul 2009, 01:08:43 pm »

But since seti beta is basicly the same i could make this work, but is it wurth the trouble? (its totally designed for a single project now)

Not sure that there are many who needs rebranding for beta project (though I needed that for some time, but not too often). The real problem is: peoples who participate in both projects will be unable to use your program on SETI main too, where it is very needed.

Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #166 on: 05 Jul 2009, 01:38:49 pm »
Log says :
CPU tasks: 0 (0 VLAR/VHAR)
GPU tasks: 0 (0 VLAR/VHAR)

I investigated the client_state.xml you send me and the xml is corrupt causing my xml parser (and also IE8 parser) to truncate large parts of the xml.

IE8 report the following error: End tag 'iax_nbytes' does not match the start tag 'max_nbytes'.
  <max_nbytes>65536</iax_nbytes>

Simply fixing that will solve this problem.

Greetings,
Marius


Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #167 on: 05 Jul 2009, 01:51:25 pm »
Not sure that there are many who needs rebranding for beta project (though I needed that for some time, but not too often). The real problem is: peoples who participate in both projects will be unable to use your program on SETI main too, where it is very needed.
I agree a lot, beta not working isn't the worst thing what can happen, but it should certainly not conflict with main. I'm studying on this as we speak (together with a couple of other items which came up today).

Do you have a project url of seti beta? (or other url for additional info)

Greetings,
Marius

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: CPU <-> GPU rebranding perl script
« Reply #168 on: 05 Jul 2009, 02:00:32 pm »
Sure.
<master_url>http://setiweb.ssl.berkeley.edu/beta/</master_url>

\projects\setiweb.ssl.berkeley.edu_beta\

Offline Josef W. Segur

  • Janitor o' the Board
  • Knight who says 'Ni!'
  • *****
  • Posts: 3112
Re: CPU <-> GPU rebranding perl script
« Reply #169 on: 05 Jul 2009, 02:16:53 pm »

But since seti beta is basicly the same i could make this work, but is it wurth the trouble? (its totally designed for a single project now)

Not sure that there are many who needs rebranding for beta project (though I needed that for some time, but not too often). The real problem is: peoples who participate in both projects will be unable to use your program on SETI main too, where it is very needed.

Of the 3637 hosts active at Beta, 2741 are also active on SETI main (derived from http://boinc.netsoft-online.com/e107_plugins/boinc/get_cpcs.php ).

Obviously the rebranding should either handle both cleanly, or be recoded to not affect Beta. The problem is that client_state.xml is only similar to real XML and the parts which apply to different projects are only separated positionally rather than being isolated properly by tags.
                                                                           Joe

Samuel

  • Guest
Re: CPU <-> GPU rebranding perl script
« Reply #170 on: 05 Jul 2009, 02:18:36 pm »
Thanks for clearing this up, this could/will save lots of rebranding compared to the current version. And thank you samuel7 for reminding me about it! (so logical when you hear it afterwards  :()

You're welcome!

My cuda queue is 80% VHAR, so won't run your program now. Waiting for v1.9 with VLARonly...  ;)

Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #171 on: 05 Jul 2009, 02:42:37 pm »
Obviously the rebranding should either handle both cleanly, or be recoded to not affect Beta. The problem is that client_state.xml is only similar to real XML and the parts which apply to different projects are only separated positionally rather than being isolated properly by tags.

LOL, the current xml is indeed kind of a clumbsy approach and i believe they are very well aware of it and are going to change it (over time). Sofar not much harm, it just needs some work on my side ;)

SETI-GPU-process

  • Guest
Re: CPU <-> GPU rebranding perl script
« Reply #172 on: 05 Jul 2009, 03:05:10 pm »
Am I the only one having trouble downloading this?  

Can't get 1.7 or 1.8..says IE can't d/l from site...

Any other link to it available?
I downloaded ReSchedule 1.8 about 6 hours ago and just did so again 3 minutes ago, just to make sure. Using Firefox 3.5 under Vista x64.

Unfortunately, currently I have no SETI work units to try out ReSchedule. :(

Offline Purple Rabbit

  • Squire
  • *
  • Posts: 38
Re: CPU <-> GPU rebranding perl script
« Reply #173 on: 05 Jul 2009, 03:54:52 pm »
There's no actual need to rebrand VHAR. They run adequately on the GPU, and they don't cause any screen stuttering or other computer-use problems.

Ah ha (light bulb goes on)! I think this answers my question from a few days ago. VHAR doesn't error out with VLARKill 11, it just runs slightly (unnoticeably to a human?) slower. This could explain why moving VLAR/VHAR to the CPU, then moving 75% (with unknown, or unremembered settings) to the CPU only caused a little carnage with many more (ultimately successful) GPU tasks.

I apologize if someone patiently explained this to me previously. I just now understand. I sometimes need certain words in a special order  :P

Rick

« Last Edit: 05 Jul 2009, 04:13:17 pm by Purple Rabbit »

Brodo

  • Guest
Re: CPU <-> GPU rebranding perl script
« Reply #174 on: 05 Jul 2009, 04:14:50 pm »
Also posted on the SAH Number Crunching Forum

BEWARE - UNEXPECTED SIDE EFFECT OF USING RESCHEDULE PROGRAM

Hi All
Reschedule works at the client level but if you use it to move 6.03 (CPU) units to the GPU when they are returned the server still thinks they were crunched by the CPU. As a result the server thinks you have one hellishly hot CPU and allocates extra units to the CPU accordingly.

Therefore if you have a slow CPU driving a fast video card you are likely to find that the CPU is allocated an impossible number of units for it to complete on time. e.g. I have a 3GHz P4 driving a GTS-250. When the dam broke and I was able to download units again I was allocated 349 units to the CPU and 200 to the GPU. These 349 units represent about a months crunching for the poor old P4. When I used ReSchedule to move some of these units to the GPU, as soon as I restarted BOINC it immediately set about downloading more CPU units to make up for the ones I had shifted.

So, if your using ReSchedule to move CPU units to the GPU be aware of this and keep an eye on the number of units that the server allocares and uploads to the CPU. At the moment I'm having to run "No New Tasks" to avoid CPU overload.

@ Marius.
Would it be possible to add an option to this program to only move VLAR's to the CPU and leave the VHAR's on the video card(s) ? It would help minimise this problem and the issues where a large number of units get moved to the CPU. As Richard said there is really no need for the VHAR's to be moved.

Thanks
Brodo

Offline Purple Rabbit

  • Squire
  • *
  • Posts: 38
Re: CPU <-> GPU rebranding perl script
« Reply #175 on: 05 Jul 2009, 05:41:15 pm »
@ Marius.
Would it be possible to add an option to this program to only move VLAR's to the CPU and leave the VHAR's on the video card(s) ? It would help minimize this problem and the issues where a large number of units get moved to the CPU. As Richard said there is really no need for the VHAR's to be moved.

I'll second that  ;)

I'm looking for tasks that don't abort, run reasonably well and maximize GPU usage. I use my GPU as an additional processor. Because it's kind of old (8600GTS, bought in May 2008...sigh) it can do the "normal" tasks in 30 to 45 minutes. The Q6600 does "normal" CPU tasks in about  1 hour  so they're almost the same in the grand scheme of things.  A minute or two one way or the other is insignificant for me.

Of course it's interesting playing with it  ;D

Rick
« Last Edit: 05 Jul 2009, 05:50:47 pm by Purple Rabbit »

Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #176 on: 05 Jul 2009, 06:36:15 pm »
@Brodo: Interesting, this would explain why my inputs are so unbalanced these day's. I was thinking this was caused by just swapping the contents of boinc data between different computers (a few week back everything dried up and i swapped a few computers). This not only gives a unbalance in applications but also in computers.

@Brodo/Rabbit: I'm working on the VLAR, and its already finished but i just want to play with it a little more before releasing it. Also want to test a bit more on Vista before i release this as that OS is causing less joy (=pain and problems) then i expected.

The server seems to give indeed a lot of vlar/vhar these day's, i do not know if thats because of rebranding or just bad luck.

Signing off,
Marius

Offline Purple Rabbit

  • Squire
  • *
  • Posts: 38
Re: CPU <-> GPU rebranding perl script
« Reply #177 on: 05 Jul 2009, 08:08:46 pm »
Great! I'm all ears  ;D

I'm sure version 1.9 (or whatever) will be even better. It's been fun to play with your script just to see what it did. I'm not a programmer (just an old hardware engineer) so I'm allowed to consider these things to be magic. Besides it's ONLY software  ;D

Rick
« Last Edit: 05 Jul 2009, 09:18:36 pm by Purple Rabbit »

Mongo

  • Guest
Re: CPU <-> GPU rebranding perl script
« Reply #178 on: 06 Jul 2009, 09:46:51 am »

@ Marius.
Would it be possible to add an option to this program to only move VLAR's to the CPU and leave the VHAR's on the video card(s) ? It would help minimise this problem and the issues where a large number of units get moved to the CPU. As Richard said there is really no need for the VHAR's to be moved.

Thanks
Brodo


I'll third this suggestion!

That's the best idea yet.  Just(ONLY) rebrand a VLAR if it is destined for a GPU.  Don't touch/modify anything else.  NADA.

Thanks!

Martin

waiting for version 1.9...

Offline kevin6912

  • Knave
  • Posts: 12
Re: CPU <-> GPU rebranding perl script
« Reply #179 on: 06 Jul 2009, 10:26:06 am »
To bad the low angle range and high angle range to look for is not in INI file. Then people could increase the high angle range to something like 24.999 and the very high angle range tasks would be left on the GPU.

Regards,
Kevin

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 162
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 134
Total: 134
Powered by EzPortal