Seti@Home optimized science apps and information

Optimized Seti@Home apps => Windows => GPU crunching => Topic started by: Raistmer on 25 Jan 2009, 06:06:23 am

Title: AK V8 + CUDA MB team work mod
Post by: Raistmer on 25 Jan 2009, 06:06:23 am
This version intended to allow simultaneous SETI MB processing on CPU and GPU on the same host.

It's just workaround of BOINC's inability to maintain such config. So, as any workaround it has its own advantages, disadvantages and limitations. Peruse known issues and use this package wisely. Please, report all unknows issues in this thread.

Lets begin:
1) This first "proof of concept" version will work only on SSSE3-capable hosts (sorry AMD fans, if this will work SSE3  will be supported too of course). Only Intel Core and up for now.
1a) Now SSSE3,SSE3 and SSE2 supported.  AMD CPUs should use SSE3-variant with _AMD in name (if CPU supports SSE3 of course ;) otherwise - SSE2 ).
2) This package can work ONLY on SETI main. Even don't try to use it on SETI beta - you can lose tasks for nothing.
3) This CPU-GPU team will not play nicely with other GPU-related projects like GPU-grid. It's because no BOINC GPU-management mechanism is used in this version.
This fact has positive side too - you do not need GPU-aware BOINC at all. You just need host with CUDA-supported GPU. It should work even with BOINC 5.xx
4) <ncpus>NUMBER_OF_CORES+1</ncpus> is REQUIRED for productive work. If you let BOINC manage CPU cores number you will end up with one idle core, trust me ;)
5) This AK V8 build was not PGOed so it will show worse performance than current CPU-only AK V8 SSSE3x app (will be fixed if this approach will be useful)(fixed already)
6) Probably will not use second GPU on dual-GPU hosts. (confirmed)

How it works:
for BOINC it looks as usual CPU opt app installed. BOINC will call CPU app (AK_v8b_win_SSSE3x_GPU_CPU_team.exe in our case) ans assign one of SETI MB tasks for it. But this app aware of possibility to use GPU for computations. It will check if another instance (it knows only itself and its clones, so - no other GPU-related projects please) already use GPU and if not - will start GPU-related app (MB_6.08_mod_CPU_team_CUDA.exe in our case) and suspend itself until GPU app finish. This CUDA app will do all work as usually but will do it on GPU leave CPU almost free.
That's why you should increase number of cores. BOINC should run NUMBER_OF_CORES+1 app thinking they all are CPU-related (some cheating of poor old BOINC here ;) )

After installation try to keep eye on first few results - this is pretty new approach and I can't give any guaranties if it will work for your config. If something will go wrong, please, revert to old variant you used before and describe your issue  in this thread.

P.S. Now you can easily see how fast CUDA is indeed (on non-VLAR tasks). CPU apps completed <20% of their tasks when CUDA app finished its first task on my Q9450+9600GSO host ;)
Enjoy!

[attachment deleted by admin]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 25 Jan 2009, 06:55:50 am
I was in the middle of flushing my Beta queue on the Q9300 anyway, since we have no new versions to test just now. I'll give this a run when I'm ready to switch, but it may be six hours or so till I get there - not quite sure how many of the remaining tasks are VLAR.

Have you any idea how compatible this package is with AP, if I transfer my r103 block into the app_info?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 25 Jan 2009, 06:58:29 am
AP r103 is included as usually ! IT should work with AP too. But if you will have only AP tasks it will do NUMBER_OF_CORES+1 AP r103 and no CUDA MB. => GPU will be idle.
(AP r103 provided "as is" w/o any modifications, it will use CPU just as will do any another app from another CPU-only project as Einstein for example. I expect some issues only with another GPU-enabled projects. And some inefficiencies because of BOINC inability to pair projects. This VERY needed feature still missing! We need option to pair one project with another....
I will post beta-site variant in pre-release area. This one will not work on beta.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Grey Shadow on 25 Jan 2009, 12:47:06 pm
Hi again.

Great mod, thanks a lot. The first one allowing me to crunch MB units with CUDA and at the same time use my PC for other tasks. However one bug still persists (it is present also in stock 6.08, according to my experience). Certain MB workunits start as usually (about 30 seconds with CPU, then switch to GPU), but are processed extremely slow (almost as AP ones). Also when they are processed PC starts working much slower so usually I have to cancel them manually.

The sample of such workunit is http://setiathome.berkeley.edu/result.php?resultid=1134111853

It looke like this is the same VLAR issue?

Is it possible to do something to prevent this? Do you mind adding VLAR-killing ability to this mod?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 25 Jan 2009, 01:50:34 pm

Is it possible to do something to prevent this? Do you mind adding VLAR-killing ability to this mod?

Yes. This mod could be extended in two ways.
1) More advanced CPU/GPU choosing at app start. That is, if task is VLAR - stay with CPU, else - try pass task to GPU.
2) VLAR autokill mod.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Grey Shadow on 25 Jan 2009, 02:18:57 pm
Thanks, will be waiting for these modifications :)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 25 Jan 2009, 02:41:46 pm
Finally cleared the last of my VLARs at Beta, installed this mod - and guess what, I got a 20-full of VLAR at Main!

Like http://setiathome.berkeley.edu/result.php?resultid=1134023275 - AR=0.009331

This rig will do that sort of AR quicker on the CPU than the GPU, so I'd be interested in option (1) - hand over to CPU at VLAR - rather than autokill.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 25 Jan 2009, 03:21:03 pm
Finally cleared the last of my VLARs at Beta, installed this mod - and guess what, I got a 20-full of VLAR at Main!

Like http://setiathome.berkeley.edu/result.php?resultid=1134023275 - AR=0.009331

This rig will do that sort of AR quicker on the CPU than the GPU, so I'd be interested in option (1) - hand over to CPU at VLAR - rather than autokill.
It's really possible. Especially on quad!

Algorithm:
1) Suspend all tasks.
2) resume non-VLAR task - it will be assigned to CUDA app. (I suppose SETI is single active project - you could enhance algorithm for more complex cases)
3) resume 4 (for quad) VLAR tasks - they will be assigned to CPU. Resume some non-VLARS for GPU. (GPU will crunch much faster so while CPU finish VLAR, GPU will finish few non-VLARs).
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 25 Jan 2009, 03:23:00 pm
Thanks, will be waiting for these modifications :)
No sense to wait - use current version right now instead. Even with slow VLAR processing the use GPU is free addon to CPU now (of course if you don't participate in other GPU-related projects.)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 25 Jan 2009, 03:43:46 pm

Algorithm:
1) Suspend all tasks.
2) resume non-VLAR task - it will be assigned to CUDA app. (I suppose SETI is single active project - you could enhance algorithm for more complex cases)
3) resume 4 (for quad) VLAR tasks - they will be assigned to CPU. Resume some non-VLARS for GPU. (GPU will crunch much faster so while CPU finish VLAR, GPU will finish few non-VLARs).


Snag:
1) CPUs busy on 2 x AP, and 2 x Einstein - can't divert them to GPU
2) MB cache currently consists entirely of VLAR - all too similar to my Beta experience

So like you say, I'll just treat the GPU as a free bonus, and let it carry on at the best speed it can manage.

One possible drawback of your mod, and the way it bypasses BOINC's knowledge of CUDA: it doesn't do task-switching very well - I've already found it trying to run 5 x CPU and 0 x GPU a couple of times. Easy to manage with task suspension, but it still means babysitting.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 25 Jan 2009, 05:00:16 pm

One possible drawback of your mod, and the way it bypasses BOINC's knowledge of CUDA: it doesn't do task-switching very well - I've already found it trying to run 5 x CPU and 0 x GPU a couple of times. Easy to manage with task suspension, but it still means babysitting.

If only SETI MB used - all will be fine - always 4+1. If you will use AP too - things bacome complicated - yes, 5+0 possible (if no free SETI MB tasks) And if another project is used too, well, chances to get 5+0 increase. It could be solved by increasing SETI project share.
Sure task scheduling is BOINC job, no science app job. And my mod just works instead BOINC now.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 25 Jan 2009, 05:11:30 pm
This is replacement for CUDA part of V8 of my package. This build has VLAR autokill ability.
You need to decompress this file into SETI project directory (when BOINC switched off of course) if you don't want process VLAR on CUDA.

That is, if VLAR task goes to CPU app - it will be processed. If it goes to CUDA app - task will be aborted with error (BAD_HEADER).

EDIT: There was wrong file name  (.exe twice). Archive replaced, please, remove secondary .exe by renaming manually or download new archive.


[attachment deleted by admin]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 26 Jan 2009, 11:10:08 am
V8a update available.
Changes:

- VLAR autokill mod enabled for CUDA app
- PGO redone for CPU app
- Wall-clock elapsed time since last restart (or since start of task) is added to stderr for both apps.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Slawek on 26 Jan 2009, 11:51:58 am
AMD  SSE3 (X2 Athlon ) working on this build ?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 26 Jan 2009, 11:57:38 am
AMD  SSE3 (X2 Athlon ) working on this build ?

No, will do SSE3 soon.
BTW, does anyone need SSE2 and low ?
That is, does anybody have SSE2-only CPU with CUDA-enabled GPU ?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Slawek on 26 Jan 2009, 05:39:59 pm
If Athlon work better on SSE2 .. why not :P
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 26 Jan 2009, 06:03:53 pm
Well, it seems new ICC have even worse support of AMD chips than it has before so SSE3 AMD compatible build will take more time than I expected...  :-\
Title: Re: AK V8 + CUDA MB team work mod
Post by: Kiva on 27 Jan 2009, 05:50:14 am
@ Raistmer

Your hard work is much appreciated - thanks :bow:

regards
Kim Vater, Team Norway.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Marius on 27 Jan 2009, 07:17:03 pm
Good news, and i'm very interested in this release! (A8v8 is the best!)

Forgive my ignorance in this matter, but what is the best way to install this while keeping the current queue (if that's possible). Currently i have a seti queue of nearly 700 workunits for my quad. Normally i would use "no new tasks" and let it run until the queue is empty, then copy the new files into BOINC\projects\setiathome.berkeley.edu, then allowing new tasks. But it would take several day's to flush the queue and start the AKv8b/cuda. Any tips?
Title: Re: AK V8 + CUDA MB team work mod
Post by: popandbob on 27 Jan 2009, 11:01:11 pm
As expected it only uses 1 GPU on multi GPU setup...
So far so good though...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 28 Jan 2009, 03:25:26 am
@ Raistmer

Your hard work is much appreciated - thanks :bow:

regards
Kim Vater, Team Norway.

Thanx.

AMD-friendly version now available  (see attachment at first post). It's restricted in SSE level to SSE3 that some Athlon 64 and all AMD's x2 and Phenoms should support.
File: Raistmer's_opt_package_V8a_CPU_GPU_team_SSE3.rar
Additional changes: improved elapsed time representation.
Title: Re: AK V8 + CUDA MB team work mod
Post by: The Naja on 28 Jan 2009, 06:20:43 am
Just installed your version on my Q6600 + 8600GT, taking the opportunity of the lack of new MU from S@H (servers overloaded)

- i configured CPU to 5 in my prefs
- I authorized GPU usage in my prefs

Before, was only using ak_V8 and APr103, without GPU

Now, I'm waiting some WU to be D/L, crossing fingers...

Don't hesitate to tell me if you see something wrong in my setup... ;-)

Cheers
Title: Re: AK V8 + CUDA MB team work mod
Post by: The Naja on 28 Jan 2009, 07:58:27 am
Hello,

I just received some WU... I would like some confirmations.

Are CUDA units tagged differently in the 'application' column of BOINC Manager ?

The point is:

- 4 WU are processed in parallel
- all of them are marked as 'setiathome_enhanced 6.08'
- the CPU cores are at 75%, meaning only 3 of them are used
- my screen refreh rate being reduced (laaaag), for sure the GPU is used
- I even put '6' in the CPU to be used on the BOINC prefs website, and I made a refresh afterwards...

Is this running as 'spec' ? How to have 5 WU processed in parallel ?

Thanks for all your tips...

Cheers

EDIT: I confirm that GPU is used: http://setiathome.berkeley.edu/result.php?resultid=1137360552 for instance

So it really means that only 3 CPU are used even if I put 6 cores (4 CPU +1 GPU +1) in the website prefs...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 28 Jan 2009, 09:19:05 am

So it really means that only 3 CPU are used even if I put 6 cores (4 CPU +1 GPU +1) in the website prefs...


You need to put the extra CPU (5, in your case) in a cc_config.xml local file. The website can only limit CPU numbers downward - it doesn't go up to 11.
Title: Re: AK V8 + CUDA MB team work mod
Post by: The Naja on 28 Jan 2009, 09:22:44 am
Thanks for your answer and for the clue,

Would yit be possible to have a link to such a template, and also in which folder to put it ?

Cheers
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 28 Jan 2009, 09:57:25 am
Thanks for your answer and for the clue,

Would yit be possible to have a link to such a template, and also in which folder to put it ?


There's plenty of discussion on the main board, but here goes:

Code: [Select]
<cc_config>
<options>
<ncpus>5</ncpus>
</options>
</cc_config>

(from BOINC Client configuration (http://boinc.berkeley.edu/wiki/Client_configuration))

As stated on that page, it goes at the root level of your BOINC data folder.

Once in place, you can load and activate it from the advanced menu in BOINC Manager, 'Read config file'. When you change the number of CPUs this way, expect BOINC to re-run benchmarks.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 28 Jan 2009, 08:02:15 pm
And now test on SSE3-capable Athlon 64 (Venice)

WU : PG0009.wu
AK_v8b_win_SSE3.exe : 1082.844 secs CPU
AK_v8b_win_SSE2_GPU_CPU_team.exe : 1035.328 secs CPU
Speedup     : 4.39%
Ratio       : 1.05 x

WU : PG0395.wu
AK_v8b_win_SSE3.exe : 1012.813 secs CPU
AK_v8b_win_SSE2_GPU_CPU_team.exe : 986.641 secs CPU
Speedup     : 2.58%
Ratio       : 1.03 x

WU : PG0444.wu
AK_v8b_win_SSE3.exe : 871.516 secs CPU
AK_v8b_win_SSE2_GPU_CPU_team.exe : 824.000 secs CPU
Speedup     : 5.45%
Ratio       : 1.06 x

WU : PG1327.wu
AK_v8b_win_SSE3.exe : 946.563 secs CPU
AK_v8b_win_SSE2_GPU_CPU_team.exe : 875.781 secs CPU
Speedup     : 7.48%
Ratio       : 1.08 x

As you can see SSE2 build performs better than SSE3 one on SSE3-capable (early) AMD. Maybe on latest Phenom SSE3-situation was improved ?
Could someone of our pre-testers or regular users try to run KWSN bench for AK_v8b_SSE3 and AK_v8b_SSE2 on new Phenom CPU to shed light on current situation with AMD SSE3 support quality ?


Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 28 Jan 2009, 08:20:21 pm
It is quite possible the SSE3 build, being a generic P4 switch (QxO or QxP?) , is assuming the presence of hardware prefetchers that those generations of AMD don't have, and of course long Pipelines (Along with the IPP libraries too).  It's difficult that the two architectures are so different at that period.  I'm leaning more and more towards a preference for isolating the core functions, maybe even into DLL's one day, but starting simply with a delay loaded choice of FFTs might be a start.
Title: Re: AK V8 + CUDA MB team work mod
Post by: The Naja on 29 Jan 2009, 06:59:10 am


As stated on that page, it goes at the root level of your BOINC data folder.

Once in place, you can load and activate it from the advanced menu in BOINC Manager, 'Read config file'. When you change the number of CPUs this way, expect BOINC to re-run benchmarks.

Haselgrove: thanks a lot for your explanations.

I ran a few tests yesterday based on your message.

It went fine on configuration point of view, but my computer was nut usable anymore: screen refresh was horrible: an alt-tab between 2 applications was taking at least 8 seconds.

Graphic drivers: latest from Nvidia website from last Saturday.

I had to roll back to AK_V8 + AP r103 package I was using before, no GPU used.

Hope this can give some clues for you guys, thanks again...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 29 Jan 2009, 06:46:47 pm
New combo for AMD CPUs with SSE3 support is available.
At least for early AMD CPUs with SSE3 support (x86 mode) AK_v8 SSE2 version works faster than SSE3 one.
So this build aimed for such CPUs (SSE3 AP and SSE2 AK_v8).
If new Phenoms don'r show such speed degradation on SSE3 instruction set I would like to know it ( with benchmark results posted of course).
Package name: Raistmer's_opt_package_V8a_CPU_GPU_team_SSE3_AMD.rar
Attached to first thread post.
Title: Re: AK V8 + CUDA MB team work mod
Post by: jj_glos on 30 Jan 2009, 12:35:51 am
As expected it only uses 1 GPU on multi GPU setup...
So far so good though...

Anyone got any ideas on how to get 2 GPU going? It pains me to leave one idle...
Title: Re: AK V8 + CUDA MB team work mod
Post by: YukonTrooper on 30 Jan 2009, 01:55:01 am
I'm getting lots of computation errors.  Cuda app running fine + 4x AK V8 running fine, but fifth AK V8 will start and stop at 8-9 seconds with computation error.  Fifth AK V8 starts again and repeats.  Computation errors stack up quick!  I'm doing SETI and SETI Beta, but only installed package to setiathome.berkeley.edu folder not setiathome.berkeley.edu_beta folder.

Specs:

i7 920
GTX 260 216SP w/178.xx
Title: Re: AK V8 + CUDA MB team work mod
Post by: theoldman on 30 Jan 2009, 06:08:23 am
Hi there.
Some errors from me:
Quote
SETI@home error -12 Unknown error
cudaAcc_find_triplets erroneously found a triplet twice in find_triplets_kernel
File: d:/BTR/seticuda/seti_boinc/client/cuda/cudaAcc_pulsefind.cu
Line: 236
In this result: http://setiathome.berkeley.edu/result.php?resultid=1138810950
Computer specs here: http://setiathome.berkeley.edu/show_host_detail.php?hostid=3503812
No overclock in CPU or videocard, video driver is 181.22 WHQL.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 30 Jan 2009, 06:52:23 am
As expected it only uses 1 GPU on multi GPU setup...
So far so good though...

Anyone got any ideas on how to get 2 GPU going? It pains me to leave one idle...
Yes.
Use V7x package. It relies on BOINC GPU scheduling and will use both yours GPU. But will not do SETI MB on CPU.
But you can do SETI AP on CPU, with opt app too.
So this V8 "team" mod doesn't make V7x packages obsolete, it just provide another way  - in one config some way will lead to better performance, in other configs it will be another way.
So, for dual/many GPU configs I strongly recommend to use V7 of my package, not V8 one.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 30 Jan 2009, 06:55:02 am
I'm getting lots of computation errors.  Cuda app running fine + 4x AK V8 running fine, but fifth AK V8 will start and stop at 8-9 seconds with computation error.  Fifth AK V8 starts again and repeats.  Computation errors stack up quick!  I'm doing SETI and SETI Beta, but only installed package to setiathome.berkeley.edu folder not setiathome.berkeley.edu_beta folder.

Specs:

i7 920
GTX 260 216SP w/178.xx

Could you provide link on that host, please?
5th AK v8 (first one, actually) shouldn't take 8-9 seconds. It should take 0 seconds to pass control to CUDA MB....
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 30 Jan 2009, 06:58:56 am
Hi there.
Some errors from me:
Quote
SETI@home error -12 Unknown error
cudaAcc_find_triplets erroneously found a triplet twice in find_triplets_kernel
File: d:/BTR/seticuda/seti_boinc/client/cuda/cudaAcc_pulsefind.cu
Line: 236
In this result: http://setiathome.berkeley.edu/result.php?resultid=1138810950
Computer specs here: http://setiathome.berkeley.edu/show_host_detail.php?hostid=3503812
No overclock in CPU or videocard, video driver is 181.22 WHQL.

Yes, this is known inherently error of CUDA MB (but was unknown if this bug still with us or not).
Probably you can do nothing to avoid it, just kepp crunching - I hope this error prety rare. Thanks for report (I passed bug report to developer).
Title: Re: AK V8 + CUDA MB team work mod
Post by: P51 Mustang on 30 Jan 2009, 10:17:25 am
I tried to install your version 8aon my quad core, but all the units that went to the gpu all were getting computation errors, so I removed the opt app to just let the defalut process for now.

Here are two of the errored out tasks:

http://setiathome.berkeley.edu/result.php?resultid=1140067400
http://setiathome.berkeley.edu/result.php?resultid=1140067408
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 30 Jan 2009, 10:22:23 am
I tried to install your version 8aon my quad core, but all the units that went to the gpu all were getting computation errors, so I removed the opt app to just let the defalut process for now.

Here are two of the errored out tasks:

http://setiathome.berkeley.edu/result.php?resultid=1140067400
http://setiathome.berkeley.edu/result.php?resultid=1140067408
You didn't install it correctly, reinstall. And try to describe sequence of operations you did first time.

Title: Re: AK V8 + CUDA MB team work mod
Post by: P51 Mustang on 30 Jan 2009, 10:43:46 am
I downloaded this file:  Raistmer's_opt_package_V8a_CPU_GPU_team.rar

Stopped BOINC and then ran net boinc stop to make sure nothing was still running.

Copied the contents of the download to ....BOINC\projects\setiathome.berkeley.edu

Made the cc_config.xml file and placed that in the appropriate spot.

I then restarted BOINC and watched all the units hitting the gpu error out.  None of the units processing via the cpu were erroing out, just the gpu ones.

As for reinstalling it, that will have to wait until I get home from work.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 30 Jan 2009, 10:52:24 am
Looks all done right.
But, it seems you use service BOINc install (net stop boinc - it's for stopping service). and pre-V6 BOINC, V6 BOINC use BOINCdata folder instead BOINC folder. IS it true?
Title: Re: AK V8 + CUDA MB team work mod
Post by: YukonTrooper on 30 Jan 2009, 11:02:07 am
I'm getting lots of computation errors.  Cuda app running fine + 4x AK V8 running fine, but fifth AK V8 will start and stop at 8-9 seconds with computation error.  Fifth AK V8 starts again and repeats.  Computation errors stack up quick!  I'm doing SETI and SETI Beta, but only installed package to setiathome.berkeley.edu folder not setiathome.berkeley.edu_beta folder.

Specs:

i7 920
GTX 260 216SP w/178.xx

Could you provide link on that host, please?
5th AK v8 (first one, actually) shouldn't take 8-9 seconds. It should take 0 seconds to pass control to CUDA MB....

http://setiathome.berkeley.edu/result.php?resultid=1140502904
Title: Re: AK V8 + CUDA MB team work mod
Post by: P51 Mustang on 30 Jan 2009, 11:21:02 am
Looks all done right.
But, it seems you use service BOINc install (net stop boinc - it's for stopping service). and pre-V6 BOINC, V6 BOINC use BOINCdata folder instead BOINC folder. IS it true?


Was running BOINC version 5.10.45, then 6.2.19 and now have installed version 6.4.5.  When I installed 6.2.19 and 6.4.5, I chose advanced and then Protected application execution.  When installing newer versions, I just stopped BOINC and then installed the new version using the defaults for path.

This machine is running Vista Home Premium 64 bit.  The actual path is C:\Programdata\Boinc\projects\setiathome.berkley.edu
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 30 Jan 2009, 11:34:58 am
protected execution=service execution (almost).
But under Vista service BOINC can't get access to CUDA-capable GPU. It seems you should try to reinstall BOINC first.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 30 Jan 2009, 11:35:56 am
I'm getting lots of computation errors.  Cuda app running fine + 4x AK V8 running fine, but fifth AK V8 will start and stop at 8-9 seconds with computation error.  Fifth AK V8 starts again and repeats.  Computation errors stack up quick!  I'm doing SETI and SETI Beta, but only installed package to setiathome.berkeley.edu folder not setiathome.berkeley.edu_beta folder.

Specs:

i7 920
GTX 260 216SP w/178.xx

Could you provide link on that host, please?
5th AK v8 (first one, actually) shouldn't take 8-9 seconds. It should take 0 seconds to pass control to CUDA MB....

http://setiathome.berkeley.edu/result.php?resultid=1140502904


Ok, 180.xx drivers are required.
Title: Re: AK V8 + CUDA MB team work mod
Post by: P51 Mustang on 30 Jan 2009, 11:48:41 am
protected execution=service execution (almost).
But under Vista service BOINC can't get access to CUDA-capable GPU. It seems you should try to reinstall BOINC first.


If it cant access the CUDA-capable GPU when run as a service, then why is it happily chugging away on CUDA apps when using the standard Berkley apps?  Or is it when BOINC sees the app_info.xml file then it can't access the gpu?

Edit:

On second thought, I don't think the computer has been rebooted for some time, so BOINC may not actually be running as a service right now.  I'll also verify what version of video driver is installed.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 30 Jan 2009, 12:01:37 pm
Stock app should experience the same difficulties with server installation. So if stock works the reason in something else.

What driver do you use? 180.x required. I looked on yor link to result - "invalid device symbol" there.
This one: http://setiathome.berkeley.edu/result.php?resultid=1140067400
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 30 Jan 2009, 12:30:48 pm
Yes, this is known inherently error of CUDA MB (but was unknown if this bug still with us or not).
Probably you can do nothing to avoid it, just kepp crunching - I hope this error prety rare. Thanks for report (I passed bug report to developer).

I have had two of these recently (with stock v6.08) - one already purged, the other
http://setiathome.berkeley.edu/result.php?resultid=1137771930
Title: Re: AK V8 + CUDA MB team work mod
Post by: P51 Mustang on 30 Jan 2009, 03:58:22 pm
Stock app should experience the same difficulties with server installation. So if stock works the reason in something else.

What driver do you use? 180.x required. I looked on yor link to result - "invalid device symbol" there.
This one: http://setiathome.berkeley.edu/result.php?resultid=1140067400


Traced it down to the wrong video drivers.  Version 178.24 was installed Jan 7th 2009.  It has now been upgraded to version 181.22
Title: Re: AK V8 + CUDA MB team work mod
Post by: YukonTrooper on 30 Jan 2009, 07:22:38 pm
I'm getting lots of computation errors.  Cuda app running fine + 4x AK V8 running fine, but fifth AK V8 will start and stop at 8-9 seconds with computation error.  Fifth AK V8 starts again and repeats.  Computation errors stack up quick!  I'm doing SETI and SETI Beta, but only installed package to setiathome.berkeley.edu folder not setiathome.berkeley.edu_beta folder.

Specs:

i7 920
GTX 260 216SP w/178.xx

Could you provide link on that host, please?
5th AK v8 (first one, actually) shouldn't take 8-9 seconds. It should take 0 seconds to pass control to CUDA MB....

http://setiathome.berkeley.edu/result.php?resultid=1140502904


Ok, 180.xx drivers are required.

Hmmm, but GPU WU's aren't the problem, it's the AK V8 WU's.  :-\
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 31 Jan 2009, 02:07:22 am
I'm getting lots of computation errors.  Cuda app running fine + 4x AK V8 running fine, but fifth AK V8 will start and stop at 8-9 seconds with computation error.  Fifth AK V8 starts again and repeats.  Computation errors stack up quick!  I'm doing SETI and SETI Beta, but only installed package to setiathome.berkeley.edu folder not setiathome.berkeley.edu_beta folder.

Specs:

i7 920
GTX 260 216SP w/178.xx

Could you provide link on that host, please?
5th AK v8 (first one, actually) shouldn't take 8-9 seconds. It should take 0 seconds to pass control to CUDA MB....

http://setiathome.berkeley.edu/result.php?resultid=1140502904


Ok, 180.xx drivers are required.

Hmmm, but GPU WU's aren't the problem, it's the AK V8 WU's.  :-\

Look at link you provided. It points on CUDA processed task.
ADDON: form stderr of your result:
Cuda error 'cudaMemcpyToSymbol(cudaAcc_GaussFit_settings, (void*) &settings, sizeof(settings))' in file 'd:/BTR/seticuda/seti_boinc/client/cuda/cudaAcc_gaussfit.cu' in line 454 : invalid device symbol.

The answer is the same - update to 18x.xx drivers.
Title: Re: AK V8 + CUDA MB team work mod
Post by: wickedguy on 31 Jan 2009, 12:59:51 pm
Working very Great on my Amd X2 5000+ with an old 8800 Gs Card!

But I cant use my SLI 9800Gtx+ on my Q6600. :(
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 31 Jan 2009, 03:45:35 pm
Working very Great on my Amd X2 5000+ with an old 8800 Gs Card!

But I cant use my SLI 9800Gtx+ on my Q6600. :(

SLI is not supported by CUDA. It will see cards in SLI mode as one device (if will work at all).
Title: Re: AK V8 + CUDA MB team work mod
Post by: wickedguy on 31 Jan 2009, 04:06:04 pm
Working very Great on my Amd X2 5000+ with an old 8800 Gs Card!

But I cant use my SLI 9800Gtx+ on my Q6600. :(

SLI is not supported by CUDA. It will see cards in SLI mode as one device (if will work at all).

My bad, i means my 2 x 9800gtx. Of course I disabled SLI. But your package doesnt use my second card at all :(
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 31 Jan 2009, 04:11:04 pm
Yes, it shouldn't, read again first post.
For dual GPU configs V7x of combo is more suitable, V8x for single GPU only.
Title: Re: AK V8 + CUDA MB team work mod
Post by: wickedguy on 31 Jan 2009, 05:05:45 pm
Yes, it shouldn't, read again first post.
For dual GPU configs V7x of combo is more suitable, V8x for single GPU only.

Yup I read it, and i used it! But I cant get any more AP Wu since the last 3-4days, So i switched to V8x for that reason  ;D
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 31 Jan 2009, 05:19:43 pm
Yes, it shouldn't, read again first post.
For dual GPU configs V7x of combo is more suitable, V8x for single GPU only.

Yup I read it, and i used it! But I cant get any more AP Wu since the last 3-4days, So i switched to V8x for that reason  ;D
Yeah, unfortunately both approaches have their own flaws. Hope sooner or later BOINC will do shceduling work by itself as it should be.
For now I can recommend switching to V7x combo while doing another CPU-based project like Einstein. That way you will use both GPU cards and do good things with your CPU also.
AP work is now ceased cause new AP version in testing...
Title: Re: AK V8 + CUDA MB team work mod
Post by: YukonTrooper on 31 Jan 2009, 07:39:26 pm
Look at link you provided. It points on CUDA processed task.
ADDON: form stderr of your result:
Cuda error 'cudaMemcpyToSymbol(cudaAcc_GaussFit_settings, (void*) &settings, sizeof(settings))' in file 'd:/BTR/seticuda/seti_boinc/client/cuda/cudaAcc_gaussfit.cu' in line 454 : invalid device symbol.

The answer is the same - update to 18x.xx drivers.
I noticed that, but I didn't think anything of it because it was the AK V8 processes failing; however, I updated to 180.xx and I now see how everything works.  MB works but CUDA doesn't show up in Boinc Manager.  This is normal, correct?  Can I suspend CUDA without suspending anything else for when I play games, or do I have to cancel the whole project?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Josef W. Segur on 01 Feb 2009, 01:38:29 am
...
AP work is now ceased cause new AP version in testing...

The ap_splitters at main finished splitting all the data the project had on hand, a hoped-for shipment from Arecibo didn't arrive Friday, and the HPSS which has the reserve stock of unsplit data was being upgraded so Matt couldn't get more data. If they've also decided to not split AP work when there's some available, that's good too.
                                                                                   Joe
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 01 Feb 2009, 05:21:02 am
...
AP work is now ceased cause new AP version in testing...

The ap_splitters at main finished splitting all the data the project had on hand, a hoped-for shipment from Arecibo didn't arrive Friday, and the HPSS which has the reserve stock of unsplit data was being upgraded so Matt couldn't get more data. If they've also decided to not split AP work when there's some available, that's good too.
                                                                                   Joe
It's offtopic to current thread but too curious not to ask :)
Is data set that possible to process with AP so smaller than MB one ?? We do MB many years already - do that huge data array not suitable for AP ?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 01 Feb 2009, 05:22:56 am
I noticed that, but I didn't think anything of it because it was the AK V8 processes failing; however, I updated to 180.xx and I now see how everything works.  MB works but CUDA doesn't show up in Boinc Manager.  This is normal, correct?  Can I suspend CUDA without suspending anything else for when I play games, or do I have to cancel the whole project?

Reread first post once more ;D
There is NO separate CUDA app from BOINC point of view. BOINC doesn't know anything about this CUDA app. It's modified AK_v8 who will call CUDA and who will fail for BOINC if CUDA fails.
Title: Re: AK V8 + CUDA MB team work mod
Post by: FireGate_13 on 01 Feb 2009, 09:28:58 am
I noticed the next strange things:
1. When MB_6.08_mod_CPU_team_CUDA.exe starts uses 100% of one core for about 1 minute.
2. I was surprised when I saw BOINC was crunching astropulse units I had stored in my pc even if I had installed correctly your mod. It used optimised ap_5.00r103_SSE3.exe so it is good..
3. I was confused when I saw 3 threads , 2 astropulse and one seti MB running on my 2 cores (AMD x2 5400+) and CUDA dissappeared from my task manager. the 2 AP were using 25% and seti_MB_cpu 50%.

I really would like to see which of three SETI_MB_wu's is using my GPU. Before it was written like this: (CUDA) in  boinc manager.
Thanks for your great mod! I love it!
My system is :
AMD x2 5400+(2.6Ghz) and nvidia 9800GT(oc'ed) and when my cpu had 11% done of two wu's my gpu had allready finished its first unit:D It's like it runs 10x faster!!!
Title: Re: AK V8 + CUDA MB team work mod
Post by: Leopoldo on 01 Feb 2009, 10:16:03 am
1. When MB_6.08_mod_CPU_team_CUDA.exe starts uses 100% of one core for about 1 minute.

It's just a sign about CUDA starting part

Quote
3. I was confused when I saw 3 threads , 2 astropulse and one seti MB running on my 2 cores (AMD x2 5400+) and CUDA dissappeared from my task manager. the 2 AP were using 25% and seti_MB_cpu 50%.

I really would like to see which of three SETI_MB_wu's is using my GPU. Before it was written like this: (CUDA) in  boinc manager.

Did you miss Message 859062 from Raistmer at S@H forum (http://setiathome.berkeley.edu/forum_thread.php?id=51621&nowrap=true#859062)?

i.e.

Quote
"
How it works:
for BOINC it looks as usual CPU opt app installed. BOINC will call CPU app (AK_v8b_win_SSSE3x_GPU_CPU_team.exe in our case) and assign one of SETI MB tasks for it. But this app aware of possibility to use GPU for computations. It will check if another instance (it knows only itself and its clones, so - no other GPU-related projects please) already use GPU and if not - will start GPU-related app (MB_6.08_mod_CPU_team_CUDA.exe in our case) and suspend itself until GPU app finish. This CUDA app will do all work as usually but will do it on GPU leave CPU almost free.
"
So on single core you should see one working AK_v8, one suspended AK_v8 (0 CPU time and 0 % CPU usage) and one CUDA app.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 01 Feb 2009, 10:57:48 am
1. When MB_6.08_mod_CPU_team_CUDA.exe starts uses 100% of one core for about 1 minute.
2. I was surprised when I saw BOINC was crunching astropulse units I had stored in my pc even if I had installed correctly your mod. It used optimised ap_5.00r103_SSE3.exe so it is good..
3. I was confused when I saw 3 threads , 2 astropulse and one seti MB running on my 2 cores (AMD x2 5400+) and CUDA dissappeared from my task manager. the 2 AP were using 25% and seti_MB_cpu 50%.

I really would like to see which of three SETI_MB_wu's is using my GPU. Before it was written like this: (CUDA) in  boinc manager.
1. It's OK, but not for min but ~half min (maybe for your system 60 secons is OK too).
2. Sure it will do AP tasks too, how do you think for what I included opt AP in package? ;)
3. how long did you see that? first 60 seconds (it's OK and no problem) or full task duration (it's bad and needs investigation)?

And about wich task using GPU - it's simple - look at stderr.txt in slots folders. BOINC will never say it using CUDA cause it doesn't know about it in this combo, I thought I described used algorithm in first post...
Title: Re: AK V8 + CUDA MB team work mod
Post by: tpl on 01 Feb 2009, 11:22:00 am
Hi,
use notebook with 9700m gt but i can`t find nvidia driver 180.xx.
I find only 179.xx for Notebook...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 01 Feb 2009, 11:41:44 am
Hi,
use notebook with 9700m gt but i can`t find nvidia driver 180.xx.
I find only 179.xx for Notebook...

Try to use some beta driver.... If you can;t upgrade to 18x.x it seems this modded app just not for your hardware/software still ( kick nVidia for new driver versions they should do that )
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 01 Feb 2009, 02:34:56 pm
I don't know anything about downloads ending in .rar. For a Windows PC what do I do with it to extract and run the optimized apps? Or, is it for Linux only?
Thanks
Art
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 01 Feb 2009, 02:37:51 pm
I don't know anything about downloads ending in .rar. For a Windows PC what do I do with it to extract and run the optimized apps? Or, is it for Linux only?
Thanks
Art

7-zip (as used by many Lunatics downloads) can handle it.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 01 Feb 2009, 02:41:20 pm
I don't know anything about downloads ending in .rar. For a Windows PC what do I do with it to extract and run the optimized apps? Or, is it for Linux only?
Thanks
Art
www.rarlab.com
To learn something new is always good ;)
Title: Re: AK V8 + CUDA MB team work mod
Post by: The Grinch on 02 Feb 2009, 12:53:35 am
Lerning any new AND use open source are the best way!
so 7-Zip can handle RAR without problems.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Josef W. Segur on 02 Feb 2009, 04:47:58 am
It's offtopic to current thread but too curious not to ask :)
Is data set that possible to process with AP so smaller than MB one ?? We do MB many years already - do that huge data array not suitable for AP ?

They're running 4 ap_splitters and 5 mb_splitters as part of the attempt to have both sets get through the data at similar rates, they just haven't gotten a perfect balance yet so AP finished ahead of MB. The amount of data they can have available for splitting at any time is limited, so they want to split it for both applications at the same time.

The old Line feed data could be split for AP, though they'd have to make a modified splitter to handle the different input. But as long as we haven't used up the ALFA data I don't think they'll consider it. I just hope that they got the data copied off the DLT tapes into HPSS storage or similar, otherwise it might not be practical.
                                                                           Joe
Title: Re: AK V8 + CUDA MB team work mod
Post by: FireGate_13 on 02 Feb 2009, 10:33:27 am
3. how long did you see that? first 60 seconds (it's OK and no problem) or full task duration (it's bad and needs investigation)

Look.. I didnt measure the time.. I was watching happening for about one minute before I closed Boinc and restarted it to correct it. I will watch the progress in case I find that happening again .

Thanks for your great job:)
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 03 Feb 2009, 10:33:29 am
I don't know anything about downloads ending in .rar. For a Windows PC what do I do with it to extract and run the optimized apps? Or, is it for Linux only?
Thanks
Art
www.rarlab.com
To learn something new is always good ;)

Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 03 Feb 2009, 10:50:02 am
Re Raistmer's post of this morning I downloaded all 4. Two are labeled SSE3, two SSSE3. I have a SSSE3 capable processor (Q6600) and CUDA capable GPU. So I assume I should use one of the two SSSE3 distributions. What do I do just pick the download having the latest date on the file AK_v8b_win_SSSE3x_GPU_CPU_team.exe?

On my screen that would be this one Raistmer's_opt_package_V8a_CPU_GPU_team.rar\ with date 20090126 18:43, 7Zip reports 1100kB on file AK_v8b_win_SSSE3x_GPU_CPU_team.exe.

And thanks for the replies on what to do with *.rar files......Everyone has to have that first experience with anything new. Now I know.

Regards
Art
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 03 Feb 2009, 10:55:02 am
Maybe I get it, as I get used to how things are done here. The file named *_V8a* is for AMD processors, the file named *_V8* is for Intel?

Thanks regards
Art
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 03 Feb 2009, 11:15:55 am
And thanks for the replies on what to do with *.rar files......Everyone has to have that first experience with anything new. Now I know.
Sure, no prob :)

Quote from: k6xt link=topik?515.msg13737#msg13737 date=1233676502
Maybe I get it, as I get used to how things are done here. The file named *_V8a* is for AMD processors, the file named *_V8* is for Intel?
No-no-no, for AMD will have_AMD in name. V8 and V8a differs in will it kill VLAR or will it process VLAR. Due current Berkeley's network troubles I would recommend V8.
(and AMD can't support SSSE3 btw, only SSE3)
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 03 Feb 2009, 11:49:00 am
Raistmer says:
No-no-no, for AMD will have_AMD in name. V8 and V8a differs in will it kill VLAR or will it process VLAR. Due current Berkeley's network troubles I would recommend V8.
(and AMD can't support SSSE3 btw, only SSE3)
V8 it is, thank you. Especially since I don't know what VLAR is. :-)
Title: Re: AK V8 + CUDA MB team work d
Post by: k6xt on 03 Feb 2009, 12:31:32 pm
It appears I have things running but can't tell if the GPU is processing. Task Manager shows five instances of AK_v8b_win_SSSE3x_GPU_CPU_team, and one instance of
MB_6.08_mod_CPU_team_CUDA. All 4 processors are at 100%

I have ncpu=5 in cc_config which shows up in BOINC messages and also Boinc shows 5 running tasks.

Have I got it right?

Thanks
Art

Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 03 Feb 2009, 12:51:46 pm
V8 it is, thank you. Especially since I don't know what VLAR is. :-)

Sorry, problems with acronims was pointed out on SETI main already, maybe it's worth to have some dictionary thread indeed. VLAR=VeryLowAngleRange - in short, very small value of one of task parameters. It depends from how big angle motion of telescope was at recording this particular WU and will be different for different WUs.

And about your installation, if MB_6.08_mod_CPU_team_CUDA takes few % of CPU time to time, 4 copies of AK_v8b_win_SSSE3x_GPU_CPU_team take ~25% of CPU each and 5th copy of AK_v8b_win_SSSE3x_GPU_CPU_team takes no CPU - yes, it works as should. You can check it via  Windows Task Manager (Ctr-Shift-Esc or Ctr-Alt-Del )
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 03 Feb 2009, 01:31:08 pm
My WinTask Manager looks like you say it should. MB_*_CUDA.exe takes 1% occasionally, there are four AK tasks taking 25% each.

But I have two AK tasks running at zero % not one. I tried "end process" but #6 keeps coming back. Well I guess all is OK. Boinc tasks shows 5 tasks running.

The Q6600 is overclocked at 3.1GHz. I can squeeze 3.2GHz out of it but around that speed Prime95 will occasionally stop on an error. Not worth the trouble or lost WU I think. I set CPU fan target in BIOS to 60 deg C which the system maintains easily.

Now to see if host average rises!

Thanks
Art
Title: Re: AK V8 + CUDA MB team work mod
Post by: Grey Shadow on 03 Feb 2009, 01:42:20 pm
Hi Raistmer,

Would you mind updating your mod to switch between CPU/GPU for VLAR units (as you mentioned on the first page - if task is VLAR - stay with CPU, else - try pass task to GPU)? VLAR Autokill works perfectly, at last I have stable SETI setup using GPU and not requiring constant attention, but sometimes it is very pity to see that 20 WUs downloaded between constant "out of work" messages go to trash bin...

Thanks in advance :)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 03 Feb 2009, 02:26:08 pm
Hi Raistmer,

Would you mind updating your mod to switch between CPU/GPU for VLAR units (as you mentioned on the first page - if task is VLAR - stay with CPU, else - try pass task to GPU)? VLAR Autokill works perfectly, at last I have stable SETI setup using GPU and not requiring constant attention, but sometimes it is very pity to see that 20 WUs downloaded between constant "out of work" messages go to trash bin...

Thanks in advance :)

Well, still can't figure out how accomplish that w/o going to idle GPU. as you said VLARs will come in bunches (20 tasks in your example) if GPU will reject to do them passing them to CPU - well, GPU will be just idle. No gains. So, much better to use V8 (not V8a) for now - as I remember it should process VLARs on GPU instead of abort it. BTW, CUDA app from all V8 packages are interchengeable so you could just overwrite single EXE (with stopped BOINC of course) to switch between VLAR kill and VLAR process.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Grey Shadow on 03 Feb 2009, 02:53:38 pm
I understand your concern, but GPU-crunching of VLAR workunit requires at least the same time as CPU-crunching. So there will be almost no gain from allowing GPU-crunching of VLARs. Also when I was using stock apps or V8 I was very worried by PC overload during VLAR crunching by GPU - PC starts working very-very slow and unstable, it is almost impossible to use it for any other purposes during that time... really I think that CPU efficace in such conditions also decrease so we loose any gain from GPU involvement.

Of course, the best way is to postpone VLAR workunit if GPU is idle and go to next available workunit, but as I understand this is BOINC task so optimized apps can't achieve this without client support.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 03 Feb 2009, 04:39:59 pm
I understand your concern, but GPU-crunching of VLAR workunit requires at least the same time as CPU-crunching. So there will be almost no gain from allowing GPU-crunching of VLARs.
Well, you recive one additional core instead 2 or even 3 - it worse of course but not bad too ;)

Quote
Also when I was using stock apps or V8 I was very worried by PC overload during VLAR crunching by GPU - PC starts working very-very slow and unstable, it is almost impossible to use it for any other purposes during that time...
I see, but because experiment with tuning AK_v8 on different ARs failed (there was no speed increase if I did PGO only on VLAR dyn data set instead of complete set) adding AR recognition now on low priority really.

Quote
really I think that CPU efficace in such conditions also decrease so we loose any gain from GPU involvement.
Not so sure. Don't forget, sluggish user interface - one thing and CPU app performance - completely another...

Quote
Of course, the best way is to postpone VLAR workunit if GPU is idle and go to next available workunit, but as I understand this is BOINC task so optimized apps can't achieve this without client support.
Yes, interaction with BOINC API needed...
Title: Re: AK V8 + CUDA MB team work mod
Post by: cyclejon on 03 Feb 2009, 06:04:25 pm
As you can see SSE2 build performs better than SSE3 one on SSE3-capable (early) AMD. Maybe on latest Phenom SSE3-situation was improved ?
Could someone of our pre-testers or regular users try to run KWSN bench for AK_v8b_SSE3 and AK_v8b_SSE2 on new Phenom CPU to shed light on current situation with AMD SSE3 support quality ?

Ran it on a phenom 9500 with the v8b apps and again with the regular v8 op apps. SSE2 was faster in the v8b apps, but the v8 apps were mixed. My athlon x2 4200 showed the same results except when put against x64 builds. SSE3 x64 ran faster than SSE2 x86. I'll attach the benchmark files from the phenom.

[attachment deleted by admin]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 04 Feb 2009, 06:28:15 am
WU : testWU-1.wu
AK_v8b_win_SSE3_GPU_CPU_team.exe : 199 seconds
AK_v8b_win_SSE2_GPU_CPU_team.exe : 6 seconds  
Speedup: 96.98%, Ratio: 33.17 x
 
Strange result.
How did you prevent call to CUDA app?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 04 Feb 2009, 06:31:04 am
Quote
Restarted at 100.00 percent.
  :o
Title: Re: AK V8 + CUDA MB team work mod
Post by: cyclejon on 04 Feb 2009, 08:53:40 am
The computer that ran on doesn't have a CUDA card in it. I don't know what happened to that wu, why it ended so soon.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 04 Feb 2009, 11:41:17 am
The computer that ran on doesn't have a CUDA card in it. I don't know what happened to that wu, why it ended so soon.

Hm... interesting what will be with team app in that case...
Because bot tested apps is not AMD specific ones, better to re-test their analogues w/o team mod. That is, "standart" AK_v8b_SSE3/2 versions. Theys should give same speeds and much better support standalone runs than "teamed" ones.
Title: Re: AK V8 + CUDA MB team work mod
Post by: cyclejon on 04 Feb 2009, 12:05:22 pm
Hm... interesting what will be with team app in that case...
Because bot tested apps is not AMD specific ones, better to re-test their analogues w/o team mod. That is, "standart" AK_v8b_SSE3/2 versions. Theys should give same speeds and much better support standalone runs than "teamed" ones.

I thought both of those apps were from your AMD packages.
The second test I posted is with the only other v8 apps i could find. I hadn't seen ak_v8b without gpu support. I don't have direct access to either of the phenom machines on my account, so i don't know when i'll be able to retest.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 04 Feb 2009, 12:18:07 pm
Hm... interesting what will be with team app in that case...
Because bot tested apps is not AMD specific ones, better to re-test their analogues w/o team mod. That is, "standart" AK_v8b_SSE3/2 versions. Theys should give same speeds and much better support standalone runs than "teamed" ones.

I thought both of those apps were from your AMD packages.
The second test I posted is with the only other v8 apps i could find. I hadn't seen ak_v8b without gpu support. I don't have direct access to either of the phenom machines on my account, so i don't know when i'll be able to retest.


SSE2 one was in AMD-specific package indeed, now that version obsolete. Try to download new one (first page). There should be _AMD in app name.
AK_v8 available in "Download" section of this site.
Title: Re: AK V8 + CUDA MB team work mod
Post by: cyclejon on 04 Feb 2009, 12:36:03 pm
SSE2 one was in AMD-specific package indeed, now that version obsolete. Try to download new one (first page). There should be _AMD in app name.
AK_v8 available in "Download" section of this site.

Ok, I hadn't seen the new version. What app should i run it against?
The results I labeled as nonCUDA were from the download section.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 04 Feb 2009, 12:59:28 pm
SSE2 one was in AMD-specific package indeed, now that version obsolete. Try to download new one (first page). There should be _AMD in app name.
AK_v8 available in "Download" section of this site.

Ok, I hadn't seen the new version. What app should i run it against?
The results I labeled as nonCUDA were from the download section.
Think you can just install new  AMD-specific package. Included CPU-based app will slightly (~1-2% no more) faster than usual SSE2 AK_v8 on AMD chips, it tested already on Phenoms too (and on prev AMD SSE3-capable CPUs).
Unless you have Phenom-II no more testing required on this stage IMHO.
Title: Re: AK V8 + CUDA MB team work mod
Post by: MAOJC on 04 Feb 2009, 01:08:38 pm
AMD  SSE3 (X2 Athlon ) working on this build ?

No, will do SSE3 soon.
BTW, does anyone need SSE2 and low ?
That is, does anybody have SSE2-only CPU with CUDA-enabled GPU ?


Yep have old Opteron (SSE2) OC'd with a 9600  GTX under XP

So the AMD file on the first page will now work?
Title: Re: AK V8 + CUDA MB team work mod
Post by: cyclejon on 04 Feb 2009, 01:13:09 pm
Unless you have Phenom-II no more testing required on this stage IMHO.

Ok, I don't have a Phenom II yet, maybe when my tax refund comes in. I may test just out of curiousity.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 04 Feb 2009, 01:19:52 pm
AMD  SSE3 (X2 Athlon ) working on this build ?

No, will do SSE3 soon.
BTW, does anyone need SSE2 and low ?
That is, does anybody have SSE2-only CPU with CUDA-enabled GPU ?


Yep have old Opteron (SSE2) OC'd with a 9600  GTX under XP

So the AMD file on the first page will now work?
No, I will assemble working package and put on first page soon.
Currently only SSE3 and up supported. (provided AP is SSE3 one)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 04 Feb 2009, 01:45:45 pm
Version for SSE2 only CPUs added.
Title: Re: AK V8 + CUDA MB team work mod
Post by: MAOJC on 04 Feb 2009, 01:47:19 pm
AMD  SSE3 (X2 Athlon ) working on this build ?

No, will do SSE3 soon.
BTW, does anyone need SSE2 and low ?
That is, does anybody have SSE2-only CPU with CUDA-enabled GPU ?


Waiting with baited breath. ;)

Yep have old Opteron (SSE2) OC'd with a 9600  GTX under XP

So the AMD file on the first page will now work?
No, I will assemble working package and put on first page soon.
Currently only SSE3 and up supported. (provided AP is SSE3 one)

Title: Re: AK V8 + CUDA MB team work mod
Post by: Grey Shadow on 04 Feb 2009, 02:04:00 pm
Just noticed one strange thing.
If BOINC (I use 6.4.5) downloads new workunits with shorter deadline it stops crunching previous WUs and switches to new ones. But GPU-crunching doesn't start - all workunits are processed only by CPU cores. As a result GPU stays idle till all short-deadline workunits are finished and computation of previous ones resumes.

I assume that it happens because when GPU crunching starts GPU-thread became fixed to parcitular workunit and nothing can be changed before this workunit is finished (completed or aborted). I don't know if such behavior is special for your 8a mod or it also affects stock app, but it will be really great of you defeat it :)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 04 Feb 2009, 02:34:18 pm
Just noticed one strange thing.
If BOINC (I use 6.4.5) downloads new workunits with shorter deadline it stops crunching previous WUs and switches to new ones. But GPU-crunching doesn't start - all workunits are processed only by CPU cores. As a result GPU stays idle till all short-deadline workunits are finished and computation of previous ones resumes.

I assume that it happens because when GPU crunching starts GPU-thread became fixed to parcitular workunit and nothing can be changed before this workunit is finished (completed or aborted). I don't know if such behavior is special for your 8a mod or it also affects stock app, but it will be really great of you defeat it :)

It's specific to V8 approach of handling GPU, stock and V7 will not suffer from it.
Restart BOINc when it happens and consider to work in download big cache->suspend network->process tasks->resume network->renew cache mode with V8. There is no way to repair this but forbid BOINC to with to another task untill it finishes current one.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Grey Shadow on 04 Feb 2009, 03:17:06 pm
Thank you for your response.
I'll try to turn off network communications when I am unable to control BOINC for long time.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 04 Feb 2009, 05:07:25 pm
Each time when CUDA app finishes BOINC can take decisio to switch to another project. In that case 4 (for quad) SETI MB/AP apps will continue with CPU , GPU will be idle and another CPU-related app (for another project) will be started.
The less cores has PC the more probable such situation.

Solution could be regular checking by CPU SETI MB app if GPU app is running and if not -> exit immediately with zero status.
This exit should be treated by BOINC as non-error exit. It will restart task allowing CPU team app call CUDA app again to continue computations on GPU.
This should decrease amount of time GPU stays idle.

Will try to perform such modification (CPU app could check if GPU is free or busy each checkpoint interval for example - it's very good time to exit - right after making checkpoint  ;D )
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 04 Feb 2009, 05:39:36 pm
Ok, app modified and built, now SSSE3 version only.

If someone interesting in decreasing PGU idle time, please, try it and report here. It will inform about rescheduling attempt by this line in stderr:
"Idle GPU detected, trying to reschedule task to GPU, exiting..."

You need stop BOINC, extract AK_v8 version from attached archive in place of old one and start BOINC.
Please, don't forget, only SSSE3 for now.


[attachment deleted by admin]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 04:51:44 am
There is some situation when VLAR autokill will waste resources:

If VLAR task is already near completion on CPU but re-scheduling to GPU occurs, almost complete task will be killed by CUDA app autokill mod.

To avoid such situation VLAR task will be not killed but processed on GPU if it was started before (if it has non-zero progress already). If it's fresh VLAR task it will be aborted as before.
That way CPU "investments" in task will be saved.

Update to CUDA app attached.
This update appropriate to any SSE level of CPU.


ADDON: you can see if it works by this line in stderr:
"VLAR WU (AR: xxxxx )detected, but task partially done already, continuing computations"

[attachment deleted by admin]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 06:01:42 am
And another update - now it's hack into BOINC API.
This build should ignore BOINC request to suspend execution when BOINC switched to another task.
This should reduce idle GPU time and increase total system performance.
Update appropriate for all SSE levels.

Special thanks go to Jason who pointed me where to dig :)

Warning: I don't know if it will work as intended so consider this update as experimental one. If you have no time to watch your BOINC installation or you feel yourself not to be able to deal with possible consequences, please, don't use it.

I would like to recive some feedback if it helps avoid GPU idle state or how it works on your host in general.

[attachment deleted by admin]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 08:58:50 am
I noticed some bug in current CUDA mod behavior. Mostly it's OS problem with correct scheduling but net result - idle GPU:

When I run another CPU intensive application (single threaded)  (quantum chem calculations in this particular case) GPU temperature goes to almost idle value and CPU consumption of CUDA app goes to zero. I use quad so only 1 core could be busy with non-BOINC task =>OS could just reschedule CUDA app on another core... but it seems Vista doesn't understand that fact.
And what is cure in this situation?: I restricted non-BOINC app to CPU#3 only and restricted CUDA app to CPU#0-2 (all except 3). No process priority changed, only affinity corrections.
And GPU temp restores, %done begin increasing, CPU consumption of CUDA app restored.

Pure example of CPU scheduling bug in Vista IMHO.

So, think CUDA app modification with affinity bound to first CPU can easy such situation (I can't re-set CUDA app affinity each 6 minutes, but can exclude first CPU for very long running non-BOINC app).  Maybe it will help with another cases of CUDA hang with 0 CPU consumption described before.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 05 Feb 2009, 09:09:42 am
Pure example of CPU scheduling bug in Vista IMHO.

Nope, It's not a bug, it's on purpose.  If it fills up the first processors first, then the other three can power down and save energy (probably intended for notebooks I suppose).  You might want to double check that power saving is disabled in the Bios (&Vista settings?) , and do exactly what you did, assign the single threaded program to the last core. You shouldn't need  to place affinity controls on the cuda feeder then, but it would be interesting to know if it then migrates to the last core.

XP Rules!  ;)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 09:14:22 am
Pure example of CPU scheduling bug in Vista IMHO.

Nope, It's not a bug, it's on purpose.  If it fills up the first processors first, then the other three can power down and save energy.  You might want to double check that power saving is disabled in the Bios, and do exactly what you did, assign the single threaded program to the last core. You shouldn't need  to place affinity controls on the ciuda feeder then, but it would be interesting to know if it then migrates to the last core.

XP Rules!  ;)

Sorry, not the case. Power saving disabled, moreover, you forgot that all CPUs still busy with another 4 CPU-based tasks (2 Ak_v8 2 einstein on moment of observation). So there is absolutely no power saving could be done there.

And change affinity only for non-BOINC app is not enough. After I did that situation remains the same. And only when I exclude that core for CUDA app it begin work as usual.
I repeat this experiment few times so pretty sure in that.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 05 Feb 2009, 09:24:20 am
Power saving disabled, moreover, you forgot that all CPUs still busy with another 4 CPU-based tasks (2 Ak_v8 2 einstein on moment of observation). So there is absolutely no power saving could be done there.
LoL fair enough , you didn't say you were running other apps, and the scheduling algorithm will still attempt to oversubscribe the first core before moving on, So it is still the Windows strategy at work, despite all cores running.

Quote
And change affinity only for non-BOINC app is not enough. After I did that situation remains the same. And only when I exclude that core for CUDA app it begin work as usual.
I repeat this experiment few times so pretty sure in that.

Yep, so you are running these apps:  Single thread chem model, + 2xAKv8, 2xEinstein & 1xCuda, Which equals full subscription + 1.04 cores.  Unfortunately Windows scheduler on any version isn't very good with that.  For proof , run RthDribl (GPU test App) without other apps or Boinc Running (Smooth), Then Run Boinc with no Cuda app, and look again at RthDribl (jerky).  Boinc alone interacting with Windows CPU Scheduler is oversubscribed already (Using up all time slices).

Beter If oversubscribed, when you have some app that interacts to cause crowded scheduling, might be  to reduce Boinc allocation by 1 core.  [Hmm... Might be nice if Boinc adjusted this automatically on the fly ....]

Jason
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 05 Feb 2009, 09:54:40 am

[Hmm... Might be nice if Boinc adjusted this automatically on the fly ....]

Did you see the trac tickets #841 (http://boinc.berkeley.edu/trac/ticket/841) and #842 (http://boinc.berkeley.edu/trac/ticket/842) that Jord made us write the other day?

Sounds like we need to extend <exclusive_app> to include <exclusive_app_resource_count_n> - "My game takes 2 cpu cores and a video card, please".
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 05 Feb 2009, 10:05:13 am
I didn't see it no, but it is one thing that makes sense, and I'll take a closer look.  I would kindof like to see Boinc detect the oversubscription status, and throttle itself back a core (or more) without intervention (as obviously Windows doesn't quite manage).

Some good discussion on Intel's TBB wiki recongnises the problems:
from Here (http://www.threadingbuildingblocks.org/wiki/index.php?title=Using_TBB#If_I_have_an_n-core_system.2C_and_I_have_other_important_programs_running_on_some_of_those_cores.2C_will_TBB_take_over_all_n_cores.3F_Or_will_it_leave_some_of_the_cores_alone_to_do_other_things.3F)

Quote
...In the future, we hope to see additional interfaces in operating systems to coordinate threaded applications including those built with TBB. We agree with those who have called for OSes to get out of the business of scheduling threads and focus instead on allocation of processors to applications. It’s an interesting topic to say the least.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 10:06:07 am
yes....
But I thought in such "overloaded" condition where many procasses in ready state OS should just use round-robin shceduling (for example) on each priority level and give full quantum for each app. And it will do that except it can't realize that if one core busy with higher priority process on one core it could still execute low priority ones on another cores... It fails to do that.
Priorities were: non-BOINC thread - normal (16 ?), 2 AK_v8 and 2 einstein - 4 worker threads each with priority of 1. CUDA worker thread - priority of 3.
So, CUDA should preempt all other BOINC threads (and it do this usually) but can't fight with non-BOINC thread unless explicit affinity is setted...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 05 Feb 2009, 10:13:50 am
yes....
But I thought in such "overloaded" condition where many procasses in ready state OS should just use round-robin shceduling (for example) on each priority level and give full quantum for each app. And it will do that except it can't realize that if one core busy with higher priority process on one core it could still execute low priority ones on another cores... It fails to do that.
Priorities were: non-BOINC thread - normal (16 ?), 2 AK_v8 and 2 einstein - 4 worker threads each with priority of 1. CUDA worker thread - priority of 3.
So, CUDA should preempt all other BOINC threads (and it do this usually) but can't fight with non-BOINC thread unless explicit affinity is setted...

Correct,  oversubscribed condition means there is not enough to go around no matter what, so it gives 'Even Stevens' to 'try' to be fair and try to minimise the user experience impact (via round robin).  It doesn;t magically provide extra slices.  But subscribing 5.04 cores worth of full time slices to 4 cores is still 'only' oversubscribed by 25%+, which I don't think would normally be enough to visibly impact the user (except games & RthDribl Etc) enough to notice, but is probably enough to make the cuda feeder miss its window repeatedly?  Dunno, that's your department  ;) I only know what I see in non-gpu mode running RthDribl, and probably still applies when running the GPU app (maybe even moreso).


Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 10:25:42 am
My point is (why I call it "bug") that if I manually constrain resources available for CUDA app (exclude some cores) it works better (with the same load on system, I don't create free time slices that way, right?). What prevent OS to do the same on its own level?...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 05 Feb 2009, 10:37:31 am
My point is (why I call it "bug") that if I manually constrain resources available for CUDA app (exclude some cores) it works better (with the same load on system, I don't create free time slices that way, right?). What prevent OS to do the same on its own level?...

Ah, you're getting to the crux of the problem there IMO.

Here you have intelligent knowledge of the programs running, so you can say "I want this program to go over onto this other core, where it won't clash with this other program".  A CPU scheduler can't do that, it is dumb, and that is Intel's point in that remark that they would like to see OS's get out of trying to manage threads.  To make the scheduler too much smarter will just load the system more, so it is probably trying to be too smart already.

As soon as the cores are oversubscribed, Windows will treat the threads all equally, So to it there is no difference where it puts the Cuda App or anything else, because it is full nomatter what.  But we know there are differences between the three other kinds of apps, and that in many cases the AK app, and probably the Einstein one will yield, but the cuda one likely relies on switching to kernel mode (Which is slow)  and has prioritised interrupt events and callbacks, but is still user mode so get's treated equally.  Thankfully AKv8 for example has very little I/O to check, and probably has some times to yield waiting for memory, and almost never makes kernel calls.

Jason
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 10:50:51 am
Agreed :)
Well, attached app little more "smart" in this sense and will leave worker thread on single (first) core. It could give some performance degradation indeed in general case (it can't fill idle window of another core) but it really helped in my situation. And achieved GPU temp is highest (the same was when no non-BOINC app runs).

It's can't be considered as upgrade cause it will help in some cases (when CUDA app appers freezing w/o reason) and can decrease performance (slightly if will do it) in other cases.

ADDON:
And some suggestion: If you experience some delays (PC behave sluggish) when running CUDA app and browsing Inet, playing game or watching video on multicore system, try exclude first CPU (By setting affinity for process in task manager) for non-BOINC app that experience delays (i.e. browser, game, media player). You could get better experience that way. Don't forget to upgrade to attached build of course in this case.

[attachment deleted by admin]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 05 Feb 2009, 10:59:32 am
Will see what it does on dual core & 9600GSO OC's 20%,  as I've run out of AstroPulse  ::)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 11:07:01 am
Will see what it does on dual core & 9600GSO OC's 20%,  as I've run out of AstroPulse  ::)

Well, I do production run with CUDA "team" combo for few days already (that's why so many updates last 2 days - I start to notice flaws and ways they could be eliminated ;D ) Will see how fast my RAC will climb back and higher.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 05 Feb 2009, 11:11:09 am

Well, I do production run with CUDA "team" combo for few days already (that's why so many updates last 2 days - I start to notice flaws and ways they could be eliminated ;D ) Will see how fast my RAC will climb back and higher.


Careful - you'll get drummed out of the BOINC Union if you start doing things like that. Noticing flaws, indeed? And fixing them? Unheard of!  :P
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 11:12:48 am
LoL ;D

Well, here my current RAC history (for Quad with 9600GSO)

(http://pic.ipicture.ru/uploads/090205/thumbs/2jXJQVbeTN.png) (http://ipicture.ru/Gallery/Viewfull/12828756.html)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 05 Feb 2009, 11:18:54 am
LoL ... You need less cores, and to run AstroPulse  ;D Let me see if I can remember my photobucket account.

[Now for this new app, I have my AstroPulse section, and Enhanced with this new exe with the ciuda * fftw DLL's right , Anything else needed ? ]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 11:25:28 am
LoL ... You need less cores, and to run AstroPulse  ;D Let me see if I can remember my photobucket account.

[Now for this new app, I have my AstroPulse section, and Enhanced with this new exe with the ciuda * fftw DLL's right , Anything else needed ? ]
Well, think not. You could try to use this build as "standalone" CUDA app, w/o AK_v8 modified part. So you will do AP on CPU and MB on GPU...

(And you you want AK_v8 on CPU too - better just download V8a combo and then edit app_info and upgrade CUDA app as needed)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 05 Feb 2009, 11:28:52 am
Oh I see, But there is no AP left, How I make it run AK & Cuda then?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 11:31:14 am
Oh I see, But there is no AP left, How I make it run AK & Cuda then?

Download V8a combo (full package) from first page of this thread. Then update CUDA app to one of latest flavors :)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 05 Feb 2009, 12:00:08 pm
Will Do,
   I think your quad has some way to rise yet.  Here's the E8400 @ 3.6GHz + 9600GSO@20%OC running v7VLARKillMod on GPU & AP on CPU  ,  90% on  main shown, 10% beta.  and in 45 Degrees C weather ;D  (Dip is where the AP validators were off those few days).

(http://i192.photobucket.com/albums/z94/jason_gee/E8400AP9600GSOMB.jpg) (http://s192.photobucket.com/albums/z94/jason_gee/?action=view&current=E8400AP9600GSOMB-1.jpg)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 01:02:56 pm
Will Do,
   I think your quad has some way to rise yet.  Here's the E8400 @ 3.6GHz + 9600GSO@20%OC running v7VLARKillMod on GPU & AP on CPU  ,  90% on  main shown, 10% beta.  and in 45 Degrees C weather ;D  (Dip is where the AP validators were off those few days).

(http://i192.photobucket.com/albums/z94/jason_gee/E8400AP9600GSOMB.jpg) (http://s192.photobucket.com/albums/z94/jason_gee/?action=view&current=E8400AP9600GSOMB-1.jpg)

Hm... Interesting :) My quad @2.66GHz now..... I have MB not too suitable for OCing (I bought it in hope to use onboard graphics card for rendering display and to allow dedicated GPU for crunching but.... can't boot with both (on chip and 9600GSO) cards enabled. So it was not too clever choice, to buy Q35 MotherBoard..
Title: Re: AK V8 + CUDA MB team work mod
Post by: Yellow_Horror on 05 Feb 2009, 03:30:00 pm
I notice some "wrong" behaviour: if a task goes to urgent state and the client starts it "pushing out" the current CUDA task, the new task don't transit to CUDA but stays on the CPU, so there are 3 tasks on my 2-core CPU and the GPU is idle until one of the tasks is finished.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 05 Feb 2009, 04:24:27 pm
I notice some "wrong" behaviour: if a task goes to urgent state and the client starts it "pushing out" the current CUDA task, the new task don't transit to CUDA but stays on the CPU, so there are 3 tasks on my 2-core CPU and the GPU is idle until one of the tasks is finished.

Look 1-2 pages before for update that cures this situation.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 05 Feb 2009, 05:22:19 pm
Since we're playing "Mine's bigger than yours", here's my Q9300:

(http://img4.imageshack.us/img4/8699/cudaracmm2.th.png) (http://img4.imageshack.us/my.php?image=cudaracmm2.png)

Started with no CUDA, then a couple of weeks CUDA Beta testing (including those 70 consecutive VLARs), then switched CUDA to Main.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Vager on 05 Feb 2009, 07:50:08 pm
I think I'm seeing some of the symptoms you're describing Raistmer. I tried your moded app in your previous post, and I thought that the problem was solved as I don't think I made it past 24 hours without my GPU going idle. I applied the app last night and this morning my GPU temp was high telling me that it was being used. When I got home today I noticed that the temp was back to normal indicating that nothing was being used.
 So after reading your post about Vista (I'm using the 64bit version) which app do I change the affinty for? I'm not sure which one is used soley for the GPU. I have 4 processes running. (I only have a dual core)

AK_v8b_win_SSSE3x_GPU_CPU_team.exe is running at 3 instances 2 of them running around 22% and the 3rd one running at 00 CPU usage. The MB_6.08_mod_CPU_team_CUDA.exe file is running at 50% CPU. Which process would I change as all for of them have both CPU's checked off for the affinity.

Thanks
Vager
Title: Re: AK V8 + CUDA MB team work mod
Post by: SoNic on 05 Feb 2009, 08:21:17 pm
Agreed :)
Well, attached app little more "smart" in this sense and will leave worker thread on single (first) core. It could give some performance degradation indeed in general case (it can't fill idle window of another core) but it really helped in my situation. And achieved GPU temp is highest (the same was when no non-BOINC app runs).

OK, I have read almost all the thread, I have DL the SSE3 package (I have a Core2Duo) and this version of CUDA app. Mt task manager now shows one AK_V8 app at 50%, one AK_V8 at 00% and one MB_9.08 CUDA at 2%.
In Boinc manager I have 2 working units, one normal and another one that doesn't increase the CPU time field (but it is working).
Is this normal? I did make an config file with 3 CPU's and placed it on the work folder.
The CUDA app will run at 50% just for a while at the begining...
PC is very responsive.
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 05 Feb 2009, 08:40:07 pm
I have this app running on Q6600+GPU. GUI performance on screen is very slow and jerky. It seems the app is not slowinng/stopping when I wish to use the gui. When I kill BOINC the user performance is restored.

I tried setting priorities in Task Manager - this had no effect.

How do I cure this, so I can use the PC while it crunches?

Thanks Art
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 05 Feb 2009, 08:44:54 pm

OK, I have read almost all the thread, I have DL the SSE3 package (I have a Core2Duo) and this version of CUDA app. Mt task manager now shows one AK_V8 app at 50%, one AK_V8 at 00% and one MB_9.08 CUDA at 2%.
In Boinc manager I have 2 working units, one normal and another one that doesn't increase the CPU time field (but it is working).
Is this normal? I did make an config file with 3 CPU's and placed it on the work folder.
The CUDA app will run at 50% just for a while at the begining...
PC is very responsive.
Quote

Maybe you have cc_config in the wrong folder? It resides in BOINC, two levels up from the work folder.
Title: Re: AK V8 + CUDA MB team work mod
Post by: cyclejon on 05 Feb 2009, 08:54:10 pm
I have this app running on Q6600+GPU. GUI performance on screen is very slow and jerky. It seems the app is not slowinng/stopping when I wish to use the gui. When I kill BOINC the user performance is restored.

What OS and gui theme are you using? Vista's Aero theme lagged with CUDA work for me, I had to drop back to Vista Basic.
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 05 Feb 2009, 09:00:13 pm
I have this app running on Q6600+GPU. GUI performance on screen is very slow and jerky. It seems the app is not slowinng/stopping when I wish to use the gui. When I kill BOINC the user performance is restored.

What OS and gui theme are you using? Vista's Aero theme lagged with CUDA work for me, I had to drop back to Vista Basic.

Windows XP modified (i.e. no theme) plain background on WinXP SP3, Q6600 OC 3.1GHz, GEForce 8500GT no OC. The issue seems to be that the app is not relinquishing GPU cycles when it is supposed to.


Thanks Art
Title: Re: AK V8 + CUDA MB team work mod
Post by: cyclejon on 05 Feb 2009, 09:29:12 pm
I don't know then, I have a GeForce 8600GTS with 256MB ram and the only problems I have now are during task switches.
Title: Re: AK V8 + CUDA MB team work mod
Post by: SoNic on 05 Feb 2009, 09:41:12 pm
Maybe you have cc_config in the wrong folder? It resides in BOINC, two levels up from the work folder.

That was it, silly me :) Thanks a lot, now my PC is slughish too  ;D
Wold be nice that those tickets will be solved quickly, especially the one about suspending only the CUDA at will...
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 05 Feb 2009, 09:59:15 pm
I don't know then, I have a GeForce 8600GTS with 256MB ram and the only problems I have now are during task switches.

I don't think its card memory. My 8500 has 512MB. Its GPU scheduling or something and reading thru prior posts on this thread it seems some of the experts and code wizards are working on it.
Title: Re: AK V8 + CUDA MB team work mod
Post by: ceciltseng on 05 Feb 2009, 11:43:14 pm
is passable AK V8 + CUDA MB team work with 2 or 3 GPU at same time ?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 06 Feb 2009, 01:58:15 am
I think I'm seeing some of the symptoms you're describing Raistmer. I tried your moded app in your previous post, and I thought that the problem was solved as I don't think I made it past 24 hours without my GPU going idle. I applied the app last night and this morning my GPU temp was high telling me that it was being used. When I got home today I noticed that the temp was back to normal indicating that nothing was being used.
 So after reading your post about Vista (I'm using the 64bit version) which app do I change the affinty for? I'm not sure which one is used soley for the GPU. I have 4 processes running. (I only have a dual core)

AK_v8b_win_SSSE3x_GPU_CPU_team.exe is running at 3 instances 2 of them running around 22% and the 3rd one running at 00 CPU usage. The MB_6.08_mod_CPU_team_CUDA.exe file is running at 50% CPU. Which process would I change as all for of them have both CPU's checked off for the affinity.

Thanks
Vager

for BOINC only you should not change affinity. Only if some non- BOINC CPU consuming task working....
GPU temp will fall dow time to time - when it starts new task. It's notmal.
It's not normal only if this fall takes more than ~min
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 06 Feb 2009, 02:04:52 am
Agreed :)
Well, attached app little more "smart" in this sense and will leave worker thread on single (first) core. It could give some performance degradation indeed in general case (it can't fill idle window of another core) but it really helped in my situation. And achieved GPU temp is highest (the same was when no non-BOINC app runs).

OK, I have read almost all the thread, I have DL the SSE3 package (I have a Core2Duo) and this version of CUDA app. Mt task manager now shows one AK_V8 app at 50%, one AK_V8 at 00% and one MB_9.08 CUDA at 2%.
In Boinc manager I have 2 working units, one normal and another one that doesn't increase the CPU time field (but it is working).
Is this normal? I did make an config file with 3 CPU's and placed it on the work folder.
The CUDA app will run at 50% just for a while at the begining...
PC is very responsive.
For core2 duo you should use SSSE3 version - it will faster. Moreover you probably forgot about cc_config.xml file. Ont core still idle in your config
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 06 Feb 2009, 02:09:02 am
Maybe you have cc_config in the wrong folder? It resides in BOINC, two levels up from the work folder.

That was it, silly me :) Thanks a lot, now my PC is slughish too  ;D
Wold be nice that those tickets will be solved quickly, especially the one about suspending only the CUDA at will...

So you have responsive system w/o cc_config ? Then remove it. On good GPU it's better to have GPU working even if one core idle than to have all cores loaded but turning off GPU.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 06 Feb 2009, 02:40:40 am
So you have responsive system w/o cc_config ? Then remove it. On good GPU it's better to have GPU working even if one core idle than to have all cores loaded but turning off GPU.

And Lucky for me it's working best that way (1 core mostly idle), because it's another hot day here  ::)
Title: Re: AK V8 + CUDA MB team work mod
Post by: SoNic on 06 Feb 2009, 06:47:14 am
So you have responsive system w/o cc_config ? Then remove it. On good GPU it's better to have GPU working even if one core idle than to have all cores loaded but turning off GPU.

It is a noticeable difference with 3 units compared to only 2, but hey, at night, who cares :) And it is not THAT bad, I won't be able to play games and IE it is kinda slow (I am using more Safari and that is faster anyway). And it is a cold day here, I need the heat :)
I have a C2D E4300 and a GeForce 9500GT w/512M. Running only seti. Maybe I can make a batch file to switch between 2 and 3 CPU (bad part is that BOINC did run the benchmarks after the "read config file").
I am using the file with SSE3 in description for non-AMD - it's the right one I guess?
I have now 3seti  units running in Boinc and in traskman it shows 2 AK at 46-48%, one AK at 0% linked with the CUDA that takes 2-4%...
Too bad that it is aborting (nicelly) the VLAR units - I guess it is a work in progress, you will figure those too?
Thank you a lot!
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 06 Feb 2009, 11:36:21 am
I am using the file with SSE3 in description for non-AMD - it's the right one I guess?
Hm, as I wrote on your first question it's NOT correct.
Correct version for Core2 Duo will be SSSE3 one. (Here it posted w/o any SSE reference as it was first available release).
SSE3 will give decreased performance.
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 06 Feb 2009, 11:53:00 am
So you have responsive system w/o cc_config ? Then remove it. On good GPU it's better to have GPU working even if one core idle than to have all cores loaded but turning off GPU.
Quote

I tried removing cc_config and restarting BOINC. BOINC ran with one core more or less idle but the GPU, according to its temperature, is crunching. Removing cc_config did not affect the sluggish video performance - which is so poor it makes the PC unusable. I have to stop BOINC to do anything with it.
Title: Re: AK V8 + CUDA MB team work mod
Post by: chelski on 06 Feb 2009, 12:09:14 pm
I notice some "wrong" behaviour: if a task goes to urgent state and the client starts it "pushing out" the current CUDA task, the new task don't transit to CUDA but stays on the CPU, so there are 3 tasks on my 2-core CPU and the GPU is idle until one of the tasks is finished.

Look 1-2 pages before for update that cures this situation.


Have been running the new affinity worker with the "Team" package.  Worked wonderfully and cured the "transition" error previously when new CUDA task gets stuck at 0:00:01.  Also noticed work transitions seamlessly from GPU to CPU a(When the CPU finishes a unit it tend to take over the ongoing CUDA WU.  Kind of surprised me at first until I realised that was how my CPU tasks seems to run faster.  CUDA worker then starts a new WU)

Thanks again Raistmer for all the effort in helping us run the various CUDA clients without having to pull all our hair off :D  I would say it looks like the latest Team package with the new worker it is stable and fast enough to consider making it to the main lunatics optimised client page!
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 06 Feb 2009, 01:05:21 pm
Agreed :)
Well, attached app little more "smart" in this sense and will leave worker thread on single (first) core. It could give some performance degradation indeed in general case (it can't fill idle window of another core) but it really helped in my situation. And achieved GPU temp is highest (the same was when no non-BOINC app runs).

It's can't be considered as upgrade cause it will help in some cases (when CUDA app appers freezing w/o reason) and can decrease performance (slightly if will do it) in other cases.

ADDON:
And some suggestion: If you experience some delays (PC behave sluggish) when running CUDA app and browsing Inet, playing game or watching video on multicore system, try exclude first CPU (By setting affinity for process in task manager) for non-BOINC app that experience delays (i.e. browser, game, media player). You could get better experience that way. Don't forget to upgrade to attached build of course in this case.

The new CUDA app attached to the above Raismer post has fixed my sluggish behavior problem. While I can still see the effects of maximum GPU work load the GUI is usable for other things now. All 4 cores are active at 25% each, the CUDA application shows the occasional 1% CPU usage, GPU temperature indicates full load, all cores are at 100%, and I can use the GUI.

One effect I will turn off is the Nvidia window-transparency-while-dragging feature. This is slow to activate when the GPU is at 100%.

I note there are now seven AK_V8b* instances plus the CUDA app running.  Seven seems like a lot. Boinc Tasks shows five running, two "waiting to run". I assume one of the five running is the CUDA app.

Very satisfied user! :-))
Title: Re: AK V8 + CUDA MB team work mod
Post by: ofp1 on 06 Feb 2009, 02:02:16 pm
Hi,
Can anyone post detaliled instructions on how to optimize a system with CUDA.

I have a Intel Quad Core 9500 4 GB Ram and a Nvidia evga GTX 260 Graphics Card on Windows Vista Ultimate 32 bits optimized only with  Win32_AK_AP_SSE41

Thanks
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 06 Feb 2009, 05:33:37 pm
Raistmer thanks for all you have done i have use your app all the time from the start with gpu and all working fine. Thank's for your great support !!!

PS :i will post the results but i'm waiting the new watercooling kit for my system and push it to te limit now my Q6600 is OC to 3.4Ghz i think i will reach 3.8 with the watercooling will see :)

Best Regard's
D.Draganov
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 06 Feb 2009, 08:29:44 pm
Raistmer thanks for all you have done i have use your app all the time from the start with gpu and all working fine. Thank's for your great support !!!

PS :i will post the results but i'm waiting the new watercooling kit for my system and push it to te limit now my Q6600 is OC to 3.4Ghz i think i will reach 3.8 with the watercooling will see :)

Best Regard's
D.Draganov

Mr. Dragonov what mobo are you using? My MSI P35 Neo Combo/Q6600 starts errors at 3.2GHz with memory not overclocked.

I second your thanks to Raistmer. Great software.
Thanks
Title: Re: AK V8 + CUDA MB team work mod
Post by: Vager on 07 Feb 2009, 01:44:19 am
Ok here's the reason why my GPU stops working.. I'm not sure why..

Here's what a normal completed task looks like when it's worked on by my GPU

setiathome_CUDA: Found 1 CUDA device(s):
   Device 1 : GeForce 8800 GTS
           totalGlobalMem = 335544320
           sharedMemPerBlock = 16384
           regsPerBlock = 8192
           warpSize = 32
           memPitch = 262144
           maxThreadsPerBlock = 512
           clockRate = 1350000
           totalConstMem = 65536
           major = 1
           minor = 0
           textureAlignment = 256
           deviceOverlap = 0
           multiProcessorCount = 12
setiathome_CUDA: No device specified, determined to use CUDA device 1: GeForce 8800 GTS
SETI@home using CUDA accelerated device GeForce 8800 GTS
CPU-GPU team mod by Raistmer
Priority normalize modification by Raistmer
Priority of worker thread rised successfully
Priority of process adjusted successfully
Total GPU memory 335544320    free GPU memory 230916096

Now here's what happens after SETI is CPU-GPU team is running for maybe 12 to 24 hrs.

setiathome_CUDA: Found 1 CUDA device(s):
   Device 1 : Device Emulation (CPU)
           totalGlobalMem = -1
           sharedMemPerBlock = 16384
           regsPerBlock = 8192
           warpSize = 1
           memPitch = 262144
           maxThreadsPerBlock = 512
           clockRate = 1350000
           totalConstMem = 65536
           major = 9999
           minor = 9999
           textureAlignment = 256
           deviceOverlap = 0
           multiProcessorCount = 16
setiathome_CUDA: device 1 is emulation device and should not be used, supports 9999.9999
setiathome_CUDA: No SETI@home capabale CUDA GPU found...
SETI@home NOT using CUDA, falling back on host CPU processing

The totalGlobalMem is showing -1 and the Major Minor values are showing 9999, 9999 . I also notice that the MB_6.08_mod_CPU_team_CUDA.exe Process is pegged at 50% instead of the usual low value everytime the CPU feeds data to the GPU. Then What I do to simply fix this is just restart BOINC, after that everything seems to run fine once again.

Please keep in mind that I just today upgraded to a Quad Core Q6600, so I'm not sure if this will still happen. I was running previously a Dual Core E6600.

Thanks
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 07 Feb 2009, 03:03:52 am
i use Asus Striker 2 Extreme but my memory is weak it is only 1333mhz corsair  :-\ if i had a 1800 wow  :D

Best Regards
D.Draganov
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 07 Feb 2009, 08:22:12 am

setiathome_CUDA: device 1 is emulation device and should not be used, supports 9999.9999
setiathome_CUDA: No SETI@home capabale CUDA GPU found...
SETI@home NOT using CUDA, falling back on host CPU processing


Program failed to find your GPU for some reason... try to chnage video-drivers or underclock GPU a little - maybe it will help...

Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 07 Feb 2009, 08:23:34 am
I lost main HDD drive on desktop PC tomorrow (it fails on self-boot test, some hardware failure) so will be busy with data restoration for some time...
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 08 Feb 2009, 01:59:23 pm
I don't know if this is believable: My PC has run Raistmer's optimization for several days now. Some of the CUDA units are earning results. Comparing work units earning similar credit (i.e. say 50 points) a CPU will take 3500 seconds while the GPU takes 130 seconds.

This would mean my GPU 8500GT, one of the slowest  and oldest CUDA capable on Nvidias list, without any overclocking, processes about 7 times faster than all four overclocked Q6600 cores combined!

But, there are several (4 to 8 or more) CPU work unit results  between each GPU result in the PC task list. This fact would argue at best the GPU is only equal to one CPU. Or that the GPU is frequently idle. I don't quite know how to find out.

Maybe the times are not accurate.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 08 Feb 2009, 02:01:31 pm
It was disscussed many times already. Look on elapsed times, not CPU ones....
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 08 Feb 2009, 02:35:35 pm
It was disscussed many times already. Look on elapsed times, not CPU ones....

Where do I find 'elapsed time'? I do not see it in the task list area. I went back through stdoutdae.txt, cannot find any task taking under one hour. Am I in the wrong file?

Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 08 Feb 2009, 02:43:46 pm
in stderr of finished result.
On web site go to result info
Title: Re: AK V8 + CUDA MB team work mod
Post by: Stelminator on 08 Feb 2009, 06:42:34 pm
just wanted to mention, Windows 7 is less than useful for this trick.

I ran this on Windows 7 64bit.  Definitely stupid.  The drivers are old, 179.23 (GPUZ ftw).  From other threads, I assume 180 or something higher is required for this to function properly.  (I figured that out after I realized something was wrong).

That said, I believe the teamwork algorithm was working superbly.  Other than the fact that every CUDA WU errored out almost immediately, there were exactly the right number of tasks for my i7 system; 9 total, with 8 maxing the CPU, and one more only stealing part of 1 cpu long enough to do setup or teardown.  No idea how much it would use while functioning, because they all died quickly.  Also, 2 of the cpu tasks were AP's.

Here's hoping BOINC will fix the scheduling sooner rather than later, or Nvidia will release new drivers for me.  Unfortunately, there's no way I'm going back to Vista.  Win7 is "Vista, done right", imo.

if/when there are drivers that will let this work, is there any chance of a SSE4.1 build?  On that note, I haven't been able to find what the speed difference for SSE4.1 vs SSSE3, SSE3, and so forth are, nor anything regarding if SSE4.2 provides anything useful to the project.  If/when I'm able, I'll certainly experiment to see if 8x SSSE3 on i7 + 1x 9400 GT is faster than just 8x SSE4.1.

Great job and thank you!
Title: Re: AK V8 + CUDA MB team work mod
Post by: NudgeyNR on 08 Feb 2009, 06:50:33 pm
My system....
Q6600@2.66
4GB DDR2 1066
GTX260
8600GTS
Boinc V6.6.0

Any ideas why boinc is reporting my system has a GTX260 & 8600GTS, but my account data on berkeley is saying 2 x 8600GTS's ?
I am using the V8 + CUDA apps with great success, how do i know which GPU is being used ?

Also i have tested Boinc 6.6.4 without the AK apps and it runs 2 CUDA wu's plus 4 CPU wu's noproblems. The CUDA wu's are extremely fast, just wish i could use the opt apps along side with the same success. I tried running the AK V8 + CUDA apps on 6.6.4 but Boinc crapped out and would not display any stats even though the wu's were still being processed.
Title: Re: AK V8 + CUDA MB team work mod
Post by: k6xt on 08 Feb 2009, 07:36:37 pm
in stderr of finished result.
On web site go to result info

Would that be this statement? If so I don't understand the stated time.

"Wall-clock time elapsed since last restart: 6902.6 seconds
called boinc_finish"

Also the above statement doesn't seem to exist in all completed WU that have been granted credit. Is this statement a part of your work and applies only to GPU-crunched WU?
Sorry for the bandwidth....just trying to understand what is happening.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Yellow_Horror on 09 Feb 2009, 08:30:09 am
How you like an idea to combine "VLAR stays on CPU" with "Advance to free GPU" techniques?

For example, let 3 WU's are crunched at 2core+1GPU system. The GPU task is finished up, take the new one - oops it's VLAR - stays on the CPU. For some time 3 WU's are crunched on CPU, then one of the previously running non-VLAR tasks will detect free GPU and switch to it.

Yes, it can end up in 3 VLARs crunching on CPU while GPU stays idle. But with more cores the situation is less probable. The main advantage of this scheme is that VLAR is never end up on the GPU giving the lazy uzer interface.

I am interested to test such version if you decide to create one (my CPU is limited to SSE3).
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 09 Feb 2009, 09:10:22 am
in stderr of finished result.
On web site go to result info

Would that be this statement? If so I don't understand the stated time.

"Wall-clock time elapsed since last restart: 6902.6 seconds
called boinc_finish"

Also the above statement doesn't seem to exist in all completed WU that have been granted credit. Is this statement a part of your work and applies only to GPU-crunched WU?
Sorry for the bandwidth....just trying to understand what is happening.


It's elapsed time value. From lats task restart or from beginning of task if there  were no restarts.
This output now added o all  new "team" builds.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 09 Feb 2009, 12:34:35 pm
Heads-up for people testing out the latest Alpha BOINC clients, and fiddling with cc_config.xml settings.

Quote from: John McLeod VII
The setting of <ncpus>0</ncpus> is NO LONGER the way to set it back to whatever the computer has (and I have this as a place holder on several machines).  It has to be <ncpus>-1</ncpus> to work.  Perhaps a warning about this should be put in the config documentation page is it is a rather nasty and hard to figure out problem.

Quote from: David Anderson
That's right; I recently changed things so that <ncpus>0</ncpus> means use zero CPUs (this was in response to a request from someone who wanted to compute only with GPU).
To get the actual #CPUs, use -1 or omit the element.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 10 Feb 2009, 06:41:22 am
Raismer there is some kind of bug i use the ak v8 + cuda mb mod and cc_config file to crunch 5 at a time work unit but at some time after working it is stoped crunch the 5-th unit it the boinc it says it is runnig but no progreess and the cpu is not at 100% after that  :o it is 75% again and after some time it goes only 50% and cunching only 3 work unit the other 2 says again in boinc that they are runnig but no progress when i go to the task manager they are in the memory but maybe they are stuck ?

or mayby have to start the cuda log but it is for cuda only here they are a cpu applications ???
and cuda log work perfect but the app that freezze is AK_v8b_win_SSSEx_GPU_CPU_team.exe*32 but why is 32 bit will you do 64bit for windows like mine xp x64 ??
and with some time the windows has prompt me a error message from this application when it stuck
Best Regards
D.Draganov



[attachment deleted by admin]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 10 Feb 2009, 11:22:46 am
whaterrormessage, what stderr og stuck tasks, links on results... too littleinfo to go.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 10 Feb 2009, 11:45:17 am
If this is similar to the stuck tasks I 'used to' get, then there'll be no error messages, etc.. at all.  It just sticks at zero progress.  Restarting Boinc (service or boinc itself depending on installation type) should get them going normally. 

If so, then restarting boinc is the only way I found to make them 'un-stick' and happens to me every couple of days or so.  To stop from having to manually handle this, I installed the VBScript from the other thread here, then, as I run as a service, made the modification described later in that thread to restart the service instead of terminating the tasks.  I haven't had to do any manual intervention since, but noticed it automatically restarts boinc every couple of days or so.  I was not  able to pin the 'sticky tasks' to any particular angle range or other factor that I could determine.

Jason
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 10 Feb 2009, 11:57:17 am
His picture shows that CUDA app still running ~4% CPU is normal ...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 10 Feb 2009, 11:58:09 am
If this is similar to the stuck tasks I 'used to' get, then there'll be no error messages, etc.. at all.  It just sticks at zero progress.  Restarting Boinc (service or boinc itself depending on installation type) should get them going normally. 

If so, then restarting boinc is the only way I found to make them 'un-stick' and happens to me every couple of days or so.  To stop from having to manually handle this, I installed the VBScript from the other thread here, then, as I run as a service, made the modification described later in that thread to restart the service instead of terminating the tasks.  I haven't had to do any manual intervention since, but noticed it automatically restarts boinc every couple of days or so.  I was not  able to pin the 'sticky tasks' to any particular angle range or other factor that I could determine.

Jason



me too i restart the boinc to go again there is no problem with the wu it is from the boinc or the app because it happen all the time
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 10 Feb 2009, 11:59:27 am
His picture shows that CUDA app still running ~4% CPU is normal ...
yes but it is the AK v8 app that is stuck i haven't got any problem with the gpu it is from the boinc or the app i don't know you are the pro wow  ::) ;D
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 10 Feb 2009, 12:01:37 pm
AKv8 stuck?  Uh Oh...(never heard of that before..)  I didn't do it  :P  Exit stage left ...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 10 Feb 2009, 12:12:02 pm
i don't know it some boinc problem because before 5 hours it work 3 work unit now when i come back it is working all the 5 again from time to time stop working 1 or 2 unit but they as you see on the pic are in the memory and the boinc says that they are running i don't know maybe because my xp is x64 ?? >:(
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 10 Feb 2009, 12:34:40 pm
Ahh,  may not apply completely in your situation, but this is basically how it works for me.  I reckon it is the imperfect Boinc scheduling mechanism still.  Thinking logically through my situation (And extending it to quad core scenario, I have only dual core so I'm using my imagination):

-  5 tasks going ( 4 x CPU & 1 x Cuda, Total ~4.04 CPU + 1 Cuda), was possible because cuda started first!
-  Cuda task finishes.
-  Boinc says I have 4 CPUs & 4 apps allocated (no more room for 0.04 CPU required for CUDa)
-  Boinc waits until 1 CPU task finishes (Gets down to 3) then allocates a new cuda task, has available CPU so allocates another AK task afterwards.  (five running again)

For myself, it worked best without using any ncpus mod, and sticking with Boinc 6.5.0.

Yeah I found it frustrating enough that I went back to running the v7VLARkill mod & AstroPulse on the CPUs, but with AP off on main, no longer a suitable option.

I hope there might be some useful clues amongst that mess, that might apply to your situation.

Jason.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 10 Feb 2009, 01:24:08 pm
aham but doesn't explain that when there are only 2 working and 3 working not 5 will wait to see the answer for the Raimster  :) Thank you

Best Regards
D.Draganov
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 10 Feb 2009, 03:48:04 pm
Still wanna see stderrs of hanging tasks.
There is update for "team" AK_v8 that will exit after checkpointing when it detects that CUDA not running. So, if CUDA task finishes, one of AK_v8 will exit with zero status.
BOINC will restart it then allowing CUDA app to run.
So, there should be no situations described by Jason now.

ADDON: here is update:
http://lunatics.kwsn.net/gpu-crunching/ak-v8-cuda-mb-team-work-mod.msg13780.html#msg13780
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 10 Feb 2009, 04:44:12 pm
will test this night
Thanks

Best Regards
D.Draganov
Title: Re: AK V8 + CUDA MB team work mod
Post by: ofp1 on 11 Feb 2009, 02:35:07 pm
Hi,
I am using Raistmer's V8a SSSE3 on a Quadcore 9550 and a GTX260  with cc_config.xml <ncpus>5</ncpus> option  and setiathome 6.4.5 on vista ultimate 32 bits, it was running ok  5 workunits at a time and the computer RAC climbed from 4600 to 7400 and still up but now I noticed that still are procesing 5 WU at a time but the CUDA seems to be not working  the GPU temperature is down (when it was crunching was about 74 and now is 50) and the procesing time is the same in all 5 WU, also in the BOINC messages  says NO CUDA device detected and it was detected before, and I am running out of WU's because it says "Project has no jobs available". What can I do? how do  I know if the GPU is working?
Thanks
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 11 Feb 2009, 03:17:38 pm
1) How you could know GPU is working - you already used right method - looked at GPU temp.
If temp = idle temp - GPU idle, if temp increased - GPU working hard.

2) If you have no work from SETI then you probably doing another non-CUDA enabled projects. So your CPU will do 5 CPU tasks and no CUDA ones.
Try to get new tasks for SETI MultiBeam.
Title: Re: AK V8 + CUDA MB team work mod
Post by: ofp1 on 11 Feb 2009, 04:58:23 pm
1) How you could know GPU is working - you already used right method - looked at GPU temp.
If temp = idle temp - GPU idle, if temp increased - GPU working hard.

2) If you have no work from SETI then you probably doing another non-CUDA enabled projects. So your CPU will do 5 CPU tasks and no CUDA ones.
Try to get new tasks for SETI MultiBeam.
Hi,
I am only running SETI, I still have some WU's but no one have been crunched by the GPU since yesterday and BOINC is not recognising my CUDA device.
How do I get new tasks from SETI MultiBeam?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 11 Feb 2009, 05:21:47 pm
Link on your host, please ?
Title: Re: AK V8 + CUDA MB team work mod
Post by: ofp1 on 11 Feb 2009, 05:49:02 pm
Link on your host, please ?


http://setiathome.berkeley.edu/show_host_detail.php?hostid=4711443

It seems is receiving WU's  now, I 'll check when I get home, but it still don't recognise the GTX260, yesterday it was OK
Thanks
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 11 Feb 2009, 05:58:32 pm
This result came from CUDA MB app.
http://setiathome.berkeley.edu/result.php?resultid=1159848143

BTW, update both CPU and GPU parts of package (links buried iun thread ~2-3 pages back) there is new apps available.
Maybe I do repack soon (don't want to touch it before opt AP new release)
Title: Re: AK V8 + CUDA MB team work mod
Post by: perryjay on 11 Feb 2009, 06:37:10 pm
Matt L posted this just a few minutes ago 

"Before releasing the astropulse application Eric had to add a couple fields to the result tables in the science database that are now necessary. These are large fields, and it's taking informix forever to update the table. The job was started 24 hours ago and is still chugging along. I guess it doesn't help that the assimilator queue is still rather large (though it is draining). So the release is delayed until this job finishes."

Looks like it won't be long now.
Title: Re: AK V8 + CUDA MB team work mod
Post by: ofp1 on 11 Feb 2009, 08:37:47 pm
This result came from CUDA MB app.
http://setiathome.berkeley.edu/result.php?resultid=1159848143

BTW, update both CPU and GPU parts of package (links buried iun thread ~2-3 pages back) there is new apps available.
Maybe I do repack soon (don't want to touch it before opt AP new release)

Hi,
I found the problem , when reinstalled Boinc 6.4.5 it has the option "Run in Protected Mode" and that is imcompatible with CUDA, just reinstall it again and uncheck the protected mode, now it´s crunching again with GPU

I´ll wait your repack of the new release in order to update all.

Thanks
Title: Re: AK V8 + CUDA MB team work mod
Post by: perryjay on 11 Feb 2009, 10:05:37 pm
This from Eric Korpela:

FYI, Astropulse 5.03 was released and workunit generation is back on. However, because the results are not compatible with 5.02, it was added as a new application (astropulse_v5).

Is the new op-ap ready yet??  :)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Josef W. Segur on 11 Feb 2009, 11:34:02 pm
Real Soon Now (http://en.wikipedia.org/wiki/Real_soon_now)...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 12 Feb 2009, 12:34:09 am
Is the new op-ap ready yet??  :)
Just after it passes internal validation tests. Consider it as "ready" ;)
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 12 Feb 2009, 04:39:46 am

I found the problem , when reinstalled Boinc 6.4.5 it has the option "Run in Protected Mode" and that is imcompatible with CUDA, just reinstall it again and uncheck the protected mode, now it´s crunching again with GPU


For the benefit of other readers: CUDA + Protected Mode is fine for Windows XP: it's just Vista (and I guess Windows 7) where you have to avoid Protected Mode.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 12 Feb 2009, 09:33:25 am
Jason G you are absolutly right i use the app that Raimster said and now only 1 wokrunit is in idle i think this is because of cuda use 4% ;D but can i do to work all the 5  :-\


Best Regards
D.Draganov
Title: Re: AK V8 + CUDA MB team work mod
Post by: Jason G on 12 Feb 2009, 09:39:07 am
because of cuda use 4% ;D but can i do to work all the 5  :-\

I have a dumb idea ...  What happens if you set the cuda app info section to say it uses 0.000000 CPUs ?

[Edit: But probably wouldn't try it with the 'team' version .. maybe you'd get many many instances ? ]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 12 Feb 2009, 02:07:46 pm
team version doesn't sencible to CUDA plan at all.
BOINC doesn't know that it runs CUDA app in "team" combo :)
It matters only for V7
Title: Re: AK V8 + CUDA MB team work mod
Post by: Archangel999 on 12 Feb 2009, 04:12:22 pm
hm will see what have with the newer pack hope will fix it  :-\
Title: Re: AK V8 + CUDA MB team work mod
Post by: WimTea on 13 Feb 2009, 10:09:41 am
This result (http://setiathome.berkeley.edu/result.php?resultid=1162183257) s my first with v8b and it's a bit weird. Found CUDA device but reverted back to CPU after encountering an error:
Cuda error 'cufftPlan1d(&fft_analysis_plans[FftNum], FftLen, CUFFT_C2C, NumDataPoints / FftLen)' in file 'd:/BTR/seticuda/seti_boinc/client/cuda/cudaAcc_fft.cu' in line 49 : out of memory.
setiathome_CUDA: CUDA runtime ERROR in plan FFT. Falling back to HOST CPU processing...

Any ideas? QX9550 11% OC'd, XP 64, 4Gb RAM, PNY Geforce 9800 GT 512 Mb, CUDA driver 181.22, SDK and toolkit 2.1 as described in Seti thread.
Will try another WU when some are available  again :( and report on that one.

[edit]
Just got another one. stderr.txt has the same message unforunately. Showed up about 10 sec. after starting the WU.
[/edit]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 13 Feb 2009, 01:17:31 pm
You have memory leak
Total GPU memory 536543232    free GPU memory 14418944
too low free GPU memory.
Try to restart OS. If it will happen again try another driver version. I had memory leak on Win2003 x64 too before. Now not, but it work less stable than Vista x86.
It seems x64 nVidia drivers too buggy still ....
Title: Re: AK V8 + CUDA MB team work mod
Post by: WimTea on 13 Feb 2009, 02:36:16 pm
Tx for the analysis. I'll try a reboot and different drivers. Don't want to revert ::) to XP 32 though... Btw could this leak also explain why every now and then the screen (an old faithful) turns black for a few secs?

[edit]
Had to try another one before a reboot:
Total GPU memory 0    free GPU memory 0
 :o
[/edit]
[edit2]
Rebooted. Mem OK now, but still no go...
 (http://setiathome.berkeley.edu/result.php?resultid=1162339127)
Cuda error 'cudaMemcpyToSymbol(cudaAcc_GaussFit_settings, (void*) &settings, sizeof(settings))' in file 'd:/BTR/seticuda/seti_boinc/client/cuda/cudaAcc_gaussfit.cu' in line 454 : invalid device symbol.

</stderr_txt>
]]>
 
Validate state Invalid
Claimed credit 0.0649666881657264
Granted credit 0
application version 6.08

[/edit2]
[edit3]
Seems the GPU bios version is also an issue, it advertises as an engineering version... Back to the shop with it I guess.
[/edit3]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 13 Feb 2009, 03:29:19 pm
hm... don't know about screen, maybe... It resemble driver restart under Vista, but AFAIK WinXP can't restart video-driver.
[offtopic]
It seems Windows slowly come to some features that more advanced OSes like QNX had few decades already. First was RDP (although not sure that RDP could be treated like native multi-node even now). Now driver restarts...
[/offtopic]

And about CUDA on x64 - I have CUDA MB hang time to time on my Win2003 x64 host. Suspending task helps (for now). I had no hung tasks on Vista x86.

Title: Re: AK V8 + CUDA MB team work mod
Post by: Devaster on 13 Feb 2009, 03:56:41 pm
on x64 WS2k8 no hangs too ...
Title: Re: AK V8 + CUDA MB team work mod
Post by: cyclejon on 13 Feb 2009, 04:41:55 pm
I'm not having any troubles with vista x64, drivers are 181.21
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 13 Feb 2009, 04:50:50 pm
both Win2008 and Vista are next Windows generation while Win2003 and XP belongs to the same generation...
Title: Re: AK V8 + CUDA MB team work mod
Post by: Stelminator on 14 Feb 2009, 01:21:06 pm
just wanted to mention, Windows 7 is less than useful for this trick.

I ran this on Windows 7 64bit.  Definitely stupid.  The drivers are old, 179.23 (GPUZ ftw).  From other threads, I assume 180 or something higher is required for this to function properly.  (I figured that out after I realized something was wrong).

That said, I believe the teamwork algorithm was working superbly.  Other than the fact that every CUDA WU errored out almost immediately, there were exactly the right number of tasks for my i7 system; 9 total, with 8 maxing the CPU, and one more only stealing part of 1 cpu long enough to do setup or teardown.  No idea how much it would use while functioning, because they all died quickly.  Also, 2 of the cpu tasks were AP's.

Here's hoping BOINC will fix the scheduling sooner rather than later, or Nvidia will release new drivers for me.  Unfortunately, there's no way I'm going back to Vista.  Win7 is "Vista, done right", imo.

if/when there are drivers that will let this work, is there any chance of a SSE4.1 build?  On that note, I haven't been able to find what the speed difference for SSE4.1 vs SSSE3, SSE3, and so forth are, nor anything regarding if SSE4.2 provides anything useful to the project.  If/when I'm able, I'll certainly experiment to see if 8x SSSE3 on i7 + 1x 9400 GT is faster than just 8x SSE4.1.

Great job and thank you!

Now running the current 8a set from the first post in this thread.
http://setiathome.berkeley.edu/show_host_detail.php?hostid=4789529

Just wanted to follow up:

I installed the latest drivers for Vista on my Win7 system, they work great.  i7 is now crunching along on 8 virtual cores + 1 GPU.  I haven't benchmarked anything, but my anecdotal report is that this SSSE3 build completes MB WUs faster than the 4.1 build on the main page.  In addition, I now have the GPU running, which is nearly twice as slow as one CPU thread, but surely makes up for any loss of speed on the CPU (though I still think it is a gain and not a loss).
Title: Re: AK V8 + CUDA MB team work mod
Post by: efmer (fred) on 14 Feb 2009, 01:30:46 pm
I'm not having any troubles with vista x64, drivers are 181.21
Had a crash on the cuda program  x86 last night. Switched back to the V6 packages. One of the main problems with V8 and BOINC 6.45 is it requests less work by the day. It has a buffer of  < 4 day with a setting of 10. (this was before there was no work) All task run way below 1 hour but the rest time counter always stay above 1 hour and mostly on 1:20 1:30. Seen a task complete at 20 Minutes and the rest time went ... up instead of down as it normally does.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 14 Feb 2009, 03:02:22 pm
I'm not having any troubles with vista x64, drivers are 181.21
Had a crash on the cuda program  x86 last night. Switched back to the V6 packages. One of the main problems with V8 and BOINC 6.45 is it requests less work by the day. It has a buffer of  < 4 day with a setting of 10. (this was before there was no work) All task run way below 1 hour but the rest time counter always stay above 1 hour and mostly on 1:20 1:30. Seen a task complete at 20 Minutes and the rest time went ... up instead of down as it normally does.
Switching back to V6 is meaningless. They deprecated already. V8 CUDA app has all improvements from V6 + some more.
What crash you had to decide such downgrade ?
Title: Re: AK V8 + CUDA MB team work mod
Post by: efmer (fred) on 15 Feb 2009, 04:41:19 am
I'm not having any troubles with vista x64, drivers are 181.21
Had a crash on the cuda program  x86 last night. Switched back to the V6 packages. One of the main problems with V8 and BOINC 6.45 is it requests less work by the day. It has a buffer of  < 4 day with a setting of 10. (this was before there was no work) All task run way below 1 hour but the rest time counter always stay above 1 hour and mostly on 1:20 1:30. Seen a task complete at 20 Minutes and the rest time went ... up instead of down as it normally does.
Switching back to V6 is meaningless. They deprecated already. V8 CUDA app has all improvements from V6 + some more.
What crash you had to decide such downgrade ? That is not the only reason, but the CUDA task just stopped.
Why? because I run some other projects as well and e.g. Wold Community Grid is greedy and downloads a lot of work and goes into High p mode. That stops the Cuda task altogether and worse SETI does not download any work, so the buffer gets very low. When you have a new AP ready I switch to that version. The completion time is now about 15 Minutes and on the V8 it goes to 1:30  and more even as the work is done much faster.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 15 Feb 2009, 05:20:33 am
Try V7, but not V6.
Title: Re: AK V8 + CUDA MB team work mod
Post by: efmer (fred) on 15 Feb 2009, 05:47:56 am
Try V7, but not V6.

Done, but the cuda exe is the same MB_6.08a_mod_VLAR_fix_CUDA.exe. And the AP is no longer working anyway.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 15 Feb 2009, 06:17:35 am
Try V7, but not V6.

Done, but the cuda exe is the same MB_6.08a_mod_VLAR_fix_CUDA.exe. And the AP is no longer working anyway.

AP upgrade will be in V9, still waiting online validations.
Title: Re: AK V8 + CUDA MB team work mod
Post by: toomnymods on 15 Feb 2009, 10:37:06 pm
i downloaded and installed raistmer's newest sse3 code and installed it into the seti@berkley folder and also installed boinc's newest 6.4.5 software and still only 4 wu's are going at once :/ gpu isnt doing anything..

need instructions on what to do in simplest terms possible i am by no means some computer genius and cant understand 95% the stuff you guys are talking about..
by the way i have a intel q6600 on windows xp with sp3


edit.... i noticed 1 work unit is being completed like every 3.5 minutes this must be the one the gpu is doing i have a EVGA gtx260 doing this one and i have 1 idle cpu core but the other 3 cpu cores are crunching like normal 50-58 mins a wu
Title: Re: AK V8 + CUDA MB team work mod
Post by: Yellow_Horror on 16 Feb 2009, 03:16:58 am
i downloaded and installed raistmer's newest sse3 code and installed it into the seti@berkley folder and also installed boinc's newest 6.4.5 software and still only 4 wu's are going at once :/ gpu isnt doing anything..

need instructions on what to do in simplest terms possible i am by no means some computer genius and cant understand 95% the stuff you guys are talking about..
by the way i have a intel q6600 on windows xp with sp3

You have to place a file named "cc_config.xml" with the following content into your "\Documents and Settings\All Users\Application Data\BOINC\" directory to allow 5 tasks altogether:

[---cut here---]
<cc_config>
<options>
<ncpus>5</ncpus>
</options>
</cc_config>
[---cut here---]
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 16 Feb 2009, 05:22:10 am
http://lunatics.kwsn.net/gpu-crunching/modified-seti-mb-cuda-opt-ap-package-for-full-gpu-utilize.msg12177.html#msg12177
Title: Re: AK V8 + CUDA MB team work mod
Post by: toomnymods on 16 Feb 2009, 10:24:17 am
thanks for the help.. my computer's wu avg. is skyrocketing now,lol
Title: Re: AK V8 + CUDA MB team work mod
Post by: e6600 on 16 Feb 2009, 12:53:15 pm
hmm, i think i got a problem.  i recently upgraded to v8 sse3_AMD from v5b/v6 (idk which one) and ive noticed that mb units are crunching away slower.  before the switch my gpu (8800gt) smashed through mbs in probably 10 minutes or less, but now it seems like the gpu is crunching at the rate of the CPU (amd 5200+ x2 3.3ghz)

is this normal?  thanks

oh and my gpu's temps dropped about 15c from before... used to be around 70c with v5b/v6 and now its 55c @_@

another edit: one mb WU finished and right when another started, the gpu temps went back up to 70c and its crunching like it used to.. is it just a small mb size?  seems like ive got many smaller mb wus when i had v6  :D
Title: Re: AK V8 + CUDA MB team work mod
Post by: Marius on 17 Feb 2009, 06:22:10 pm
Playing games like WOW and doing cuda in the background doesn't go very well. Is there a way to disable/suspend only cuda while playing?

something like a semaphore file?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 17 Feb 2009, 06:24:54 pm
Playing games like WOW and doing cuda in the background doesn't go very well. Is there a way to disable/suspend only cuda while playing?

something like a semaphore file?
No :)
Try to kick BOINC devs some more for it ;D
Title: Re: AK V8 + CUDA MB team work mod
Post by: Zeus Fab3r on 19 Feb 2009, 03:51:03 am
3) This CPU-GPU team will not play nicely with other GPU-related projects like GPU-grid. It's because no BOINC GPU-management mechanism is used in this version.
This fact has positive side too - you do not need GPU-aware BOINC at all. You just need host with CUDA-supported GPU. It should work even with BOINC 5.xx
4) <ncpus>NUMBER_OF_CORES+1</ncpus> is REQUIRED for productive work. If you let BOINC manage CPU cores number you will end up with one idle core, trust me ;)

Hi Raistmer... Just need to know if it is possible to run this mod on all cores with my Q6600+GPU, with older 5.xx client? In other words, does older clients even support cc_config.xml file? I've tried allready, but it always end up with one idle core. You said "...should work even with 5.xx" wich is more like "if you're crazy enough" to me. I've been stucked with 5.xx cause I get used to 'return results immediately' feature. Bottomline.. Can I stay in the past or should I've switch to Boinc 6.xx ?
Thnx and keep up with good work.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 19 Feb 2009, 08:13:08 am
I didn't check that but it _should_work on BOINC 5 too.
cc_config should be placed in BOINC directory.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Zeus Fab3r on 19 Feb 2009, 08:38:58 pm
I didn't check that but it _should_work on BOINC 5 too.
cc_config should be placed in BOINC directory.
Still no fun on my 5.3.12 client. I've tried with cc_config on default (BOINC root) location and even copied it on project dir. but, as before, it end up with 3 occupied cores + cuda. There aren't any new lines on boinc messages tab
during startup, so it looks like boinc doesn't detect the presence of cc_ file?
My box is std. XP_SP2 x86 config with latest nVidia 181.22@Asus 9600GT. Any thoughts on how to force the last core to run with V8a?
Title: Re: AK V8 + CUDA MB team work mod
Post by: SoNic on 19 Feb 2009, 10:55:33 pm
Un my XP, cc_config needed to be in \BOINC\AppData folder.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Josef W. Segur on 20 Feb 2009, 12:25:06 am
I didn't check that but it _should_work on BOINC 5 too.
cc_config should be placed in BOINC directory.
Still no fun on my 5.3.12 client. I've tried with cc_config on default (BOINC root) location and even copied it on project dir. but, as before, it end up with 3 occupied cores + cuda. There aren't any new lines on boinc messages tab
during startup, so it looks like boinc doesn't detect the presence of cc_ file?
My box is std. XP_SP2 x86 config with latest nVidia 181.22@Asus 9600GT. Any thoughts on how to force the last core to run with V8a?

The cc_config.xml didn't exist until May 2006, the <ncpus> option was added for BOINC 5.5.4 on 21 June 2006. I did not check how it was used at that time.
                                                                           Joe
Title: Re: AK V8 + CUDA MB team work mod
Post by: Zeus Fab3r on 20 Feb 2009, 05:42:53 am
I didn't check that but it _should_work on BOINC 5 too.
cc_config should be placed in BOINC directory.
Still no fun on my 5.3.12 client. I've tried with cc_config on default (BOINC root) location and even copied it on project dir. but, as before, it end up with 3 occupied cores + cuda. There aren't any new lines on boinc messages tab
during startup, so it looks like boinc doesn't detect the presence of cc_ file?
My box is std. XP_SP2 x86 config with latest nVidia 181.22@Asus 9600GT. Any thoughts on how to force the last core to run with V8a?

The cc_config.xml didn't exist until May 2006, the <ncpus> option was added for BOINC 5.5.4 on 21 June 2006. I did not check how it was used at that time.
                                                                           Joe

Thanks for pointing that to me. Going for client update. Cheers.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Duke of Guinness on 20 Feb 2009, 11:12:11 am
Thanks Raistmer!!!
Title: Re: AK V8 + CUDA MB team work mod
Post by: Mach on 20 Feb 2009, 02:15:57 pm
Having a small problem...I'm pretty sure I'm using v8b (the one called 'more clever autokill mod'?).  Anyway, for the most part, everything runs great.  However, when boinc downloads newer wu's with a more immediate date, boinc switches out one of the currently running wu's with the new one in high priority mode (in my case, this seems to almost always be the wu currently in GPU).  When this happens, the new wu is not placed in the GPU and I end up having all 3 wu's processed by my 2 CPU cores. :o I can remedy the situation by shutting down boinc and restarting, but this isn't always possible (ie. the middle of the night).  Any ideas on a possible fix?

*Edit*  Just remembered seeing the 'ignore boinc suspend request' patch...gonna give that a try and see if it makes a difference.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 20 Feb 2009, 02:25:16 pm
Thanks Raistmer!!!

Welcome :)

Having a small problem...I'm pretty sure I'm using v8b (the one called 'more clever autokill mod'?).  Anyway, for the most part, everything runs great.  However, when boinc downloads newer wu's with a more immediate date, boinc switches out one of the currently running wu's with the new one in high priority mode (in my case, this seems to almost always be the wu currently in GPU).  When this happens, the new wu is not placed in the GPU and I end up having all 3 wu's processed by my 2 CPU cores. :o I can remedy the situation by shutting down boinc and restarting, but this isn't always possible (ie. the middle of the night).  Any ideas on a possible fix?

Check what CPU based app you use, check what checkpoint interval you use (CPU app will check if GPU is idle only after checkpoint completion so big checkpoint nterval will delay idle GPU detection).

Title: Re: AK V8 + CUDA MB team work mod
Post by: Mach on 20 Feb 2009, 02:56:45 pm
Quote
Check what CPU based app you use, check what checkpoint interval you use (CPU app will check if GPU is idle only after checkpoint completion so big checkpoint nterval will delay idle GPU detection).

I'm using the app_info.xml file supplied with your v8a package...as far as I can tell, it calls AK_V8b_win_SSE3_AMD_GPU_CPU_team.exe which then distributes to either the ap_5.00r103_SSE3.exe or MB_6.08_mod_CPU_team_CUDA.exe based on GPU availability.  The one exception is when it calls ap_5.00r103_SSE3.exe directly for version 500 AP WUs.

I can't find the checkpoint interval, but the GPU usually completes MB WUs in approx 5 mins and picks up the next WU without problem.  When the problem occurs, all 3 WUs continue on CPU until one is completed (not 100% sure if the next WU starts on the GPU correctly or not as I usually end up shutting down and restarting boinc).  Definitely continues longer than 10-20 minutes without switching to the GPU in any case.

As I mentioned in my edited post above, I've added the 'ignore boinc suspend' patch.  Will give an updat as to whether this works after I have some time to monitor behavior.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 20 Feb 2009, 04:10:29 pm
Look this thread (few pages back) for CPU app update (only for SSSE3 version) named GPU_watch_update_for_SSSE3.rar
Title: Re: AK V8 + CUDA MB team work mod
Post by: Mach on 20 Feb 2009, 09:13:41 pm
That mod sounds exactly what I need in this case.  Unfortunately, my CPU only supports the SSE3 instruction set and not SSSE3  :(  Oh well, guess I'll just have to live with the occasional idle GPU for the time being.  Thanks for the prompt responses above, Raistmer  ;D
Title: Re: AK V8 + CUDA MB team work mod
Post by: Mach on 21 Feb 2009, 02:14:11 am
Ok, after a little more monitoring, I've come to the conclusion that when the above mentioned problem shows up (WU utilizing the GPU is swapped out for another WU of higher priority, leaving the GPU in an idle state), the GPU is never reloaded with another WU.  I've monitored the process and even after all three of the WUs complete, more WUs are started, but never moved to GPU processing.  It's almost as if the GPU is never flagged as free when the WU is swapped out and the team mod is sending any further work to the CPU cores.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 21 Feb 2009, 03:51:41 am
That mod sounds exactly what I need in this case.  Unfortunately, my CPU only supports the SSE3 instruction set and not SSSE3  :(  Oh well, guess I'll just have to live with the occasional idle GPU for the time being.  Thanks for the prompt responses above, Raistmer  ;D
Don't worry, soon will be SSE3 support added too, just check this thread time to time.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 21 Feb 2009, 03:54:08 am
It's almost as if the GPU is never flagged as free when the WU is swapped out and the team mod is sending any further work to the CPU cores.

You can check this: try to open file gpu_file_lock in SETI@home project directory when your GPU is idle.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Geek@Play on 21 Feb 2009, 11:12:16 am
Raistmer............
Running this "team" version of software.  Yesterday found one of my quad computers running 5 Astropulse work units on the cpu's.  I paused one of the AstroPulse work units and resumed it later in order to start up a cuda work unit.  Has this been reported before?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 21 Feb 2009, 01:03:32 pm
Raistmer............
Running this "team" version of software.  Yesterday found one of my quad computers running 5 Astropulse work units on the cpu's.  I paused one of the AstroPulse work units and resumed it later in order to start up a cuda work unit.  Has this been reported before?
Yes. It can't be repaired w/o direct interaction with BOINC. So as I said many times, kick BOINC devs for native CPU + GPU support for same app. They do this for srock apps already, now they should provide the way to do the same with app_info file installed.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Marius on 21 Feb 2009, 06:18:20 pm
Playing games like WOW and doing cuda in the background doesn't go very well. Is there a way to disable/suspend only cuda while playing?

something like a semaphore file?
No :)
Try to kick BOINC devs some more for it ;D

That must be you as i'm running apps from you for over 1 year now ;)
solution: c:\ut\pssuspend.exe MB_6.08_mod_CPU_team_CUDA.exe
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 21 Feb 2009, 06:32:38 pm
Playing games like WOW and doing cuda in the background doesn't go very well. Is there a way to disable/suspend only cuda while playing?

something like a semaphore file?
No :)
Try to kick BOINC devs some more for it ;D

That must be you as i'm running apps from you for over 1 year now ;)
solution: c:\ut\pssuspend.exe MB_6.08_mod_CPU_team_CUDA.exe
Sure you can suspend process via ProcessLasso, via ProcessExplorer or by any other means... but it's OS level solution, not BOINC level one.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Barnie3 on 22 Feb 2009, 04:40:05 pm
I have a small problem, may be noobish, don't know.
My client doesnt request new WUs. It always ask for 0 seconds of new work although the cue is nearly empty now and it should be enough for 8 days (tried different settings here)
A few days ago i installed the third package of first post of this thread on my intel dualcore. Once in a while i had AP WUs in my cue so i edited the app_info.xml and cutted the lines referencing AP. It worked nicely thereafter, but now ... no more WUs at all. Certainly i am not sure if there is a connection with my editing as it does not help to restore the original app_info.xml as provided by raistmer. Any ideas ?

p.s. sry for my bad english

edit:

i had to learn that the client does not request new tasks if there are too much unsent results waiting to be transferred. In the net i've read that too much is something like more than two times the number of your cores. I can't proove this, but from the behavior of my clients this seems to be reasonable.
Title: Re: AK V8 + CUDA MB team work mod
Post by: andreas on 25 Feb 2009, 02:16:32 am
Hi all,

I'm running the AK V8 + CUDA MB team mod since last week, and everything was fine till the weekend. The WU's from my cache worked fine, but after finaly getting new work, I got quite a lot compute errors withs BOINC telling me "Outpute file xy_0 for task xy is absent". On one machine I get these errors for about 1 out of 20 WU's, but the other is much worse (so I switched it to get no new work).

Any suggestions for this problem?

BTW, when I started the mod the first time I observed the following:
The 6.03 WU's from my cache were processed fine, but all new work was 6.08 WU's (prcessed fine as well). As I understand it, the team mode should be able to process both types (as the are not realy different, just another name basically), then why is my BOINC just getting 6.08 WU's and not mixed work, depending on availability? This is not a problem, I'm just curious.

And Raistmer and all involved, keep up the good work. It realy is appreciated.

Andreas
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 25 Feb 2009, 04:05:52 am
Hi all,

I'm running the AK V8 + CUDA MB team mod since last week, and everything was fine till the weekend. The WU's from my cache worked fine, but after finaly getting new work, I got quite a lot compute errors withs BOINC telling me "Outpute file xy_0 for task xy is absent". On one machine I get these errors for about 1 out of 20 WU's, but the other is much worse (so I switched it to get no new work).

Any suggestions for this problem?

BTW, when I started the mod the first time I observed the following:
The 6.03 WU's from my cache were processed fine, but all new work was 6.08 WU's (prcessed fine as well). As I understand it, the team mode should be able to process both types (as the are not realy different, just another name basically), then why is my BOINC just getting 6.08 WU's and not mixed work, depending on availability? This is not a problem, I'm just curious.

And Raistmer and all involved, keep up the good work. It realy is appreciated.

Andreas
1) Probably your BOINC installation was unable to load files from berkeley's servers. Network connection overloaded now so corrupted downloads is very likely.
2) BOINC will mark all new work with latest app version available to it.
Title: Re: AK V8 + CUDA MB team work mod
Post by: andreas on 25 Feb 2009, 04:24:27 am

1) Probably your BOINC installation was unable to load files from berkeley's servers. Network connection overloaded now so corrupted downloads is very likely.
2) BOINC will mark all new work with latest app version available to it.


Anything I can do to avoid download corruption other than wait for better times?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 25 Feb 2009, 04:39:54 am

1) Probably your BOINC installation was unable to load files from berkeley's servers. Network connection overloaded now so corrupted downloads is very likely.
2) BOINC will mark all new work with latest app version available to it.


Anything I can do to avoid download corruption other than wait for better times?
Perhaps nothing :( It's network-related problems and if server drop connection client can't do anything with this...
Title: Re: AK V8 + CUDA MB team work mod
Post by: andreas on 25 Feb 2009, 04:45:06 am
Thanks for answering so fast.

Andreas
Title: Re: AK V8 + CUDA MB team work mod
Post by: Leopoldo on 25 Feb 2009, 04:58:46 am
Hi Andreas,

I got quite a lot compute errors withs BOINC telling me "Outpute file xy_0 for task xy is absent". On one machine I get these errors for about 1 out of 20 WU's, but the other is much worse (so I switched it to get no new work).

Output file is absent due to VLAR-killing, mod works ;) There is no need to NoNewTasks

Quote
The 6.03 WU's from my cache were processed fine, but all new work was 6.08 WU's (prcessed fine as well).

6.03 - due to WUs already cached in project directory, BOINC marked them already with 6.03 (in client_state.xml), so BOINC will copy 6.03 app in appropriate slot directory before processing.

And all new WUs will be marked by BOINC with maximum appropriate version from app_info.xml, so 6.08

When all remaining 6.03-WUs has been processed, BOINC will delete 6.03 app from project directory.
Title: Re: AK V8 + CUDA MB team work mod
Post by: andreas on 25 Feb 2009, 05:12:39 am
Hi Andreas,

Output file is absent due to VLAR-killing, mod works ;) There is no need to NoNewTasks


I thought I had the version without VLAR-killing, but I might have got that mixed up.

Thanks for info,
Andreas
Title: Re: AK V8 + CUDA MB team work mod
Post by: andreas on 25 Feb 2009, 05:37:47 am
This is replacement for CUDA part of V8 of my package. This build has VLAR autokill ability.
You need to decompress this file into SETI project directory (when BOINC switched off of course) if you don't want process VLAR on CUDA.

That is, if VLAR task goes to CPU app - it will be processed. If it goes to CUDA app - task will be aborted with error (BAD_HEADER).

EDIT: There was wrong file name  (.exe twice). Archive replaced, please, remove secondary .exe by renaming manually or download new archive.


Leopoldo,

if I get this correct, VLAR-killing should produce a different error (bad-header and not missing output file), so I'll hope Raistmer is right, and the problem is corrupted downloads.

Greatings to all Earthlings,
Andreas
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 25 Feb 2009, 05:57:12 am

if I get this correct, VLAR-killing should produce a different error (bad-header and not missing output file), so I'll hope Raistmer is right, and the problem is corrupted downloads.


Whenever there is an error (of any sort), no output file will be produced, and so BOINC will report that it is missing. If there were download iproblems, BOINC would be talking about missing input files.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Leopoldo on 25 Feb 2009, 06:25:29 am

Leopoldo,

if I get this correct, VLAR-killing should produce a different error (bad-header and not missing output file), so I'll hope Raistmer is right, and the problem is corrupted downloads.

VLAR-killed result is indicated as missing output file in BOINC Manager (the idea was to not pollute science database with incorrect results, so result file is deleted by mod).

Truth about result was VLAR-killed or not You can see in your result at SETI@Home Tasks page ("Your results" button in BOINC Manager) - there is leftmost link at line with every WU, which leads to page with result. Raistmer's VLAR-killing mod add info about killng.
Title: Re: AK V8 + CUDA MB team work mod
Post by: andreas on 25 Feb 2009, 06:44:02 am

VLAR-killed result is indicated as missing output file in BOINC Manager (the idea was to not pollute science database with incorrect results, so result file is deleted by mod).

Truth about result was VLAR-killed or not You can see in your result at SETI@Home Tasks page ("Your results" button in BOINC Manager) - there is leftmost link at line with every WU, which leads to page with result. Raistmer's VLAR-killing mod add info about killng.


You were completly right:

"stderr out   

<core_client_version>6.4.5</core_client_version>
<![CDATA[
<message>
 - exit code -6 (0xfffffffa)
</message>
<stderr_txt>

VLAR WU (AR: 0.008423 )detected... autokill initialised
SETI@home error -6 Bad workunit header

File: ..\seti_header.cpp
Line: 212


</stderr_txt>
]]>"

Thanks again,
Andreas
Title: Re: AK V8 + CUDA MB team work mod
Post by: andreas on 26 Feb 2009, 09:20:25 am
Hi all,

the following questions may sound stupid to some, but I couldn't find answers to them with google:

How can I recognice a VLAR WU in my BOINC manager? I want to assign them to cpu manually while gpu is bu{y.

And what does the "name" of a WU tell me?

Greetings,
Andreas
Title: Re: AK V8 + CUDA MB team work mod
Post by: Leopoldo on 26 Feb 2009, 10:46:15 am
Hello, Andreas!

How can I recognice a VLAR WU in my BOINC manager? I want to assign them to cpu manually while gpu is bussy.

In BOINC Manager there is no column with particular characteristic of a workunit (because BM can control different projects, where workunits differs completely).

VLAR (Very Low Angle Range) workunits has true_angle_range<0.14 - IMHO these workunits were recorded when focal point of the radio telescope at Arecibo was tracking something in the sky during the recording period; "normal" workunits recorded without the tracking, so focal point moved in the sky with Earth rotation.

You can found VLARs with the help of outside tool like command script (published somethere at SETI@Home forum and named "findvlar.bat"). I changed that script (especially path to data folder) and using it:

@echo off
findstr "<true_angle_range>0\.1[0-3] <true_angle_range>0\.0 " "C:\Program Files\BOINC\Data\projects\setiathome.berkeley.edu\*.*" > !VLAR!.txt
start !VLAR!.txt
exit


Quote
And what does the "name" of a WU tell me?

Naming system of SETI@Home workunits is described here: http://www.boinc-wiki.info/Work_Unit_Name_-_SETI@Home
Title: Re: AK V8 + CUDA MB team work mod
Post by: andreas on 26 Feb 2009, 10:56:03 am
Thanks for info Leopoldo,

Andreas
Title: Re: AK V8 + CUDA MB team work mod
Post by: YukonTrooper on 06 Mar 2009, 09:00:45 pm
AP r103 is included as usually ! IT should work with AP too. But if you will have only AP tasks it will do NUMBER_OF_CORES+1 AP r103 and no CUDA MB. => GPU will be idle.
(AP r103 provided "as is" w/o any modifications, it will use CPU just as will do any another app from another CPU-only project as Einstein for example. I expect some issues only with another GPU-enabled projects. And some inefficiencies because of BOINC inability to pair projects. This VERY needed feature still missing! We need option to pair one project with another....
I will post beta-site variant in pre-release area. This one will not work on beta.

Does this mean I can put AP app in beta folder?  I have all files from the package in main folder only.  :-\
Title: Re: AK V8 + CUDA MB team work mod
Post by: Richard Haselgrove on 07 Mar 2009, 04:50:28 am

Does this mean I can put AP app in beta folder?  I have all files from the package in main folder only.  :-\


In general, you should not install optimised apps at SETI Beta - the aim of the project, after all, is to test SETI's own applications!

But when there are no new applications being tested, as at present, then it shouldn't be a problem. Just keep a (frequent) eye on http://setiweb.ssl.berkeley.edu/beta/apps.php or the message boards, and be prepared to disable the optimised application quickly if SETI testing resumes. So no massive caches, please.

Having said that, no you can't just drop the AP packages into Beta. You'll be validating against Astropulse v5.01, so you should use r109 if you use anything at all. And the application name at Beta is still Astropulse, not Astropulse_v5, so you have some conversion work to do.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Mike O on 10 Mar 2009, 03:57:02 pm
Heres a silly question (or maybe not?)
What part of the nVidia actually does the math. The cores or the Shaders?
I'm wondering if I need to overclock one the other or both. I am trying to get the max with out over heating my nVidia cards.
Any one know for sure?
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 10 Mar 2009, 05:10:54 pm
Heres a silly question (or maybe not?)
What part of the nVidia actually does the math. The cores or the Shaders?
I'm wondering if I need to overclock one the other or both. I am trying to get the max with out over heating my nVidia cards.
Any one know for sure?

The engine core freq increase gave smallest speed increase so far. And very poor in OCing.
Memory give some speedup, need to be measured still (I still check upper memory freq OCing limit). It was reported on beta that shaders freq gives best speedup.
Title: Re: AK V8 + CUDA MB team work mod
Post by: Mike O on 10 Mar 2009, 05:52:47 pm
Heres a silly question (or maybe not?)
What part of the nVidia actually does the math. The cores or the Shaders?
I'm wondering if I need to overclock one the other or both. I am trying to get the max with out over heating my nVidia cards.
Any one know for sure?

The engine core freq increase gave smallest speed increase so far. And very poor in OCing.
Memory give some speedup, need to be measured still (I still check upper memory freq OCing limit). It was reported on beta that shaders freq gives best speedup.

Thanks.. I'll kick the shaders up a bit and see if that works.
Thanks again for the hard work on these mods. They work well.
Title: Re: AK V8 + CUDA MB team work mod
Post by: YukonTrooper on 23 Mar 2009, 02:27:23 am
3/22/2009 2:42:47 PM|SETI@home|Message from server: Your app_info.xml file doesn't have a version of Astropulse v5.

Any ideas?  I can't get the modified AP apps to work.  I have four modified AK apps working, but four regular AP apps.  Also running the CUDA app for 9 process total (using i7).
Title: Re: AK V8 + CUDA MB team work mod
Post by: Raistmer on 23 Mar 2009, 10:38:51 am
3/22/2009 2:42:47 PM|SETI@home|Message from server: Your app_info.xml file doesn't have a version of Astropulse v5.

Any ideas?  I can't get the modified AP apps to work.  I have four modified AK apps working, but four regular AP apps.  Also running the CUDA app for 9 process total (using i7).
Upgrade to V10 or take AP v5 section from V10 app_info file.
Title: Re: AK V8 + CUDA MB team work mod
Post by: alollini on 24 Apr 2009, 01:54:18 pm
Hello i use boinc v6.6.20 on windows xp pro sp2
cpu Q6600 with a gpu 9600 GSO 512 mb.
nvidia driver 18250
i downloaded the package Raistmer's_opt_package_V8_CPU_GPU_team.rar

with gpu number 1

with <ncpus>5</ncpus>

i run other projects along with seti on this host.

there is always 5 tasks running instead of 4, however i see no cuda running, i see only
setiathome_enhances_6.03 and only "running"

and by seeing my tasks, an average os 700 seconds for a seti block is norma cpu time.

(the 9600 gso should do it in approx 160-170 seconds)

gpu crunching is checked on the setiathome website preferences page.

I think that the correct cuda seti worker application was not downloaded.

how do i do that ?