+- +-
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 234218 times)

Offline Geek@Play

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 330
Re: CPU <-> GPU rebranding perl script
« Reply #150 on: 05 Jul 2009, 09:59:39 am »
Marius.........This morning found 2 of my host computers had run out of CUDA work.  CPU's had lot's of work.  I am incommunicado with Berkeley due to bandwidth maxed out at Berkeley.  I set the config file as follows.

[Settings]
Position=50
OnlyVLarVHar=0
TrueAngleRate=1
DataPath=D:\BOINC\
BoincBinPath=C:\Program Files\BOINC\

[Automatic]
Automatic=0
Interval=4
CPUPerInterval=50
GPUPerInterval=150

After running ReSchedule I observed several work units were aborted by the AutoKill function of V11 CUDA app.  Is it possible that in the reassignment of work from CPU's to CUDA that some VLARVHAR work was moved but should not have been?

[edit]
Actually more than several.  20 spread out on 4 computers.
« Last Edit: 05 Jul 2009, 10:11:29 am by Geek@Play »
Boinc....Boinc....Boinc....Boinc

Samuel

  • Guest
Re: CPU <-> GPU rebranding perl script
« Reply #151 on: 05 Jul 2009, 10:15:16 am »
The only thing that is kind of suspicious to me is that you suspend boinc while running the tool. In the basic configuration boinc leaves the applications in memory confronting those with unexpected changes in the client_state.xml. Advise is to stop boinc completely and not suspend it. But i don't think this will cause the disk-full errors though....

But surely your program stops BOINC first thus removing the (suspended) apps from memory. I certainly saw the manager window empty of tasks.

The client's managed to download some new units, I'll try different approaches after Federer and Roddick have finished.

Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #152 on: 05 Jul 2009, 10:17:17 am »
Marius.........This morning found 2 of my host computers had run out of CUDA work.  CPU's had lot's of work.  I am incommunicado with Berkeley due to bandwidth maxed out at Berkeley.  I set the config file as follows.

[Settings]
...
TrueAngleRate=1
...

After running ReSchedule I observed several work units were aborted by the AutoKill function of V11 CUDA app.  Is it possible that in the reassignment of work from CPU's to CUDA that some VLARVHAR work was moved but should not have been?
Please uncheck the TrueAngleRate checkbox and do another reschedule. I think you will notice an akward rise in the V*AR unts.

With TrueAngleRate checked it is using a different VLAR/VHAR detection method (see reschedule.txt file). Some of those could be aborted by vlarkill. I will remove that detection method in 1.9 as this is causing to much problems with vlarkill

Greetings,
Marius


Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #153 on: 05 Jul 2009, 10:18:32 am »
But surely your program stops BOINC first thus removing the (suspended) apps from memory. I certainly saw the manager window empty of tasks.
You are absolutely right, my mistake ;)

Offline MarkJ

  • Knight o' The Realm
  • **
  • Posts: 96
Re: CPU <-> GPU rebranding perl script
« Reply #154 on: 05 Jul 2009, 10:25: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? ??? 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 %.

The i7 I referred to in Boinc_alpha (still has about 10 tasks waiting), says the Seti DCF is 3.18. I did calculate the flops for the app_info but its always possible that I got them wrong.  :o
There are a bunch of 608's that have completed with 4 hour elapsed times, quite likely because they were V*AR and didn't get changed over before starting. These have probably skewed the DCF value.

I only keep a 1 day cache so its possible to flush it and reset debts/dcf and recalc flops for the app_info. I was kinda hoping the optimized AP 505 would be available then I could do the app_info and check the other values at the same time.

Offline Geek@Play

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 330
Re: CPU <-> GPU rebranding perl script
« Reply #155 on: 05 Jul 2009, 10:39:27 am »
This config...........

[Settings]
Position=50
OnlyVLarVHar=0
TrueAngleRate=0
DataPath=D:\BOINC\
BoincBinPath=C:\Program Files\BOINC\

[Automatic]
Automatic=0
Interval=4
CPUPerInterval=50
GPUPerInterval=150

Resulted with this.........

---------------------------
Reschedule version 1.8
Time: 05-07-2009 09:22:59
User forcing a reschedule

Stopping BOINC service
BOINC service is stopped
CPU tasks: 255 (255 VLAR/VHAR)
GPU tasks: 230 (215 VLAR/VHAR)
Boinc applications
setiathome_enhanced 603 windows_intelx86
setiathome_enhanced 608 windows_intelx86 cuda
After reschedule:
CPU tasks: 470 (470 VLAR/VHAR)
GPU tasks: 15 (0 VLAR/VHAR)
Starting BOINC service
BOINC service started

and I'm trying to get a 50-50 split on the work units.
All this is run from a batch file with this commmand.........

ReSchedule.exe /Autorun 50
Boinc....Boinc....Boinc....Boinc

Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #156 on: 05 Jul 2009, 10:54:21 am »
CPU tasks: 470 (470 VLAR/VHAR)
GPU tasks: 15 (0 VLAR/VHAR)
Starting BOINC service
BOINC service started

and I'm trying to get a 50-50 split on the work units.
All this is run from a batch file with this commmand.........
Yes, didn't i tell you you would see an akward rise in V*AR :o. V*AR are always forced on the cpu no matter what happends to avoid vlarkill, then as a bonus it tries to confirm to the 50% rule but it cannot do this unfortunately.

Compare your's with mine. i have over 1k of f<beep> V*AR! (9 day's queue)
CPU tasks: 1035 (1035 VLAR/VHAR)
GPU tasks: 942 (0 VLAR/VHAR)
The numbers of V*ar are so bad lately i just reschedule with 100% to gpu.

Offline Geek@Play

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 330
Re: CPU <-> GPU rebranding perl script
« Reply #157 on: 05 Jul 2009, 11:03:00 am »
OK.....thanks for the explanation.

« Last Edit: 05 Jul 2009, 11:10:27 am by Geek@Play »
Boinc....Boinc....Boinc....Boinc

Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #158 on: 05 Jul 2009, 11:15:18 am »
OK.....thanks for the explanation.

If you reschedule 100% to GPU does that not leave the CPU's cold??
Yes, normally it would, but with the current overflow of VLAR/VHAR units i push every unit to cuda that becomes available (and isn't v*ar), this keeps my cuda going for the moment.

Samuel

  • Guest
Re: CPU <-> GPU rebranding perl script
« Reply #159 on: 05 Jul 2009, 11:29:36 am »
Yes, didn't i tell you you would see an akward rise in V*AR :o. V*AR are always forced on the cpu no matter what happends to avoid vlarkill, then as a bonus it tries to confirm to the 50% rule but it cannot do this unfortunately.

Suggestions for future versions:
Perhaps only VLAR should be forced to CPU. Allow VHAR to go either way, default to CPU however. Maybe the test function could show the task counts by AR group (VLAR/VHAR/other) before and after with current settings.

Thanks again for your work.


Offline BANZAI56

  • Squire
  • *
  • Posts: 20
Re: CPU <-> GPU rebranding perl script
« Reply #160 on: 05 Jul 2009, 11:33:51 am »
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?

Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #161 on: 05 Jul 2009, 11:48:41 am »
Suggestions for future versions:
Perhaps only VLAR should be forced to CPU. Allow VHAR to go either way, default to CPU however. Maybe the test function could show the task counts by AR group (VLAR/VHAR/other) before and after with current settings.
Internally i know exactly those groups, but if you are using Raistmer's MB_6.08_mod_CUDA_V11_VLARKill_refined.exe al vhar's will be automaticly killed AFAIK (true angle rate > 1.127), so i assume you are running a different tool what can handle a VHAR?

Or i'm i wrong here? (i use Raistmer's tool for several years now and don't even know what the original tools are any more)

Offline Richard Haselgrove

  • Messenger Pigeon
  • Knight who says 'Ni!'
  • *****
  • Posts: 2819
Re: CPU <-> GPU rebranding perl script
« Reply #162 on: 05 Jul 2009, 12:00:54 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. Raistmer has just observed a slight efficiency gain (i.e. optimisation) by using the CPU instead of the GPU for VHAR, but it's not enough to lose any sleep over. In any case, much of the efficiency gain is lost on Quads and above when there are lots of VHAR about, because they suffer from memory bus contention.

VLAR are different entirely. Their efficiency on GPU is abysmal, and the general screen delay makes the rest of the computer unusable - it's driven away many potential crunchers. Anything you can do to keep them off the GPU is a big step forward - but I prefer rebranding to killing.

Samuel

  • Guest
Re: CPU <-> GPU rebranding perl script
« Reply #163 on: 05 Jul 2009, 12:03:54 pm »
Suggestions for future versions:
Perhaps only VLAR should be forced to CPU. Allow VHAR to go either way, default to CPU however. Maybe the test function could show the task counts by AR group (VLAR/VHAR/other) before and after with current settings.
Internally i know exactly those groups, but if you are using Raistmer's MB_6.08_mod_CUDA_V11_VLARKill_refined.exe al vhar's will be automaticly killed AFAIK (true angle rate > 1.127), so i assume you are running a different tool what can handle a VHAR?

Or i'm i wrong here? (i use Raistmer's tool for several years now and don't even know what the original tools are any more)

No no no, VHAR runs fine with all Raistmer's apps. Only VLARs are killed (by apps so named). Discussion here

Edit - Richard beat me to it

Offline Marius

  • Knight o' The Realm
  • **
  • Posts: 84
Re: CPU <-> GPU rebranding perl script
« Reply #164 on: 05 Jul 2009, 12:18:06 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. Raistmer has just observed a slight efficiency gain (i.e. optimisation) by using the CPU instead of the GPU for VHAR, but it's not enough to lose any sleep over. In any case, much of the efficiency gain is lost on Quads and above when there are lots of VHAR about, because they suffer from memory bus contention.

VLAR are different entirely. Their efficiency on GPU is abysmal, and the general screen delay makes the rest of the computer unusable - it's driven away many potential crunchers. Anything you can do to keep them off the GPU is a big step forward - but I prefer rebranding to killing.

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  :()

 

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: 355
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 37
Total: 37
Powered by EzPortal