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

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

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

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

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

Author Topic: Multiple WU's per GPU  (Read 25994 times)

Offline TouchuvGrey

  • Knight o' The Round Table
  • ***
  • Posts: 151
Multiple WU's per GPU
« on: 08 Dec 2010, 09:48:03 pm »
My old brain has failed me yet again. i know i have seen the instructions
here, but cannot recall where. i have 2 video cards a GTS 250 and a GTX 460.
i would like to run 2 work units at the same time  per card.
My cc_config.xml currently looks like this:

<cc_config>
<log_flags>
<sched_op_debug>1</sched_op_debug>
<work_fetch_debug>1</work_fetch_debug>
</log_flags>
<options>
<use_all_gpus>1</use_all_gpus>
</options>
</cc_config>

            What do i need to change it to ?
Because we are NOT alone.

Offline arkayn

  • Janitor o' the Board
  • Knight who says 'Ni!'
  • *****
  • Posts: 1230
  • Aaaarrrrgggghhhh
    • My Little Place On The Internet
Re: Multiple WU's per GPU
« Reply #1 on: 08 Dec 2010, 10:48:45 pm »
My old brain has failed me yet again. i know i have seen the instructions
here, but cannot recall where. i have 2 video cards a GTS 250 and a GTX 460.
i would like to run 2 work units at the same time  per card.
My cc_config.xml currently looks like this:

<cc_config>
<log_flags>
<sched_op_debug>1</sched_op_debug>
<work_fetch_debug>1</work_fetch_debug>
</log_flags>
<options>
<use_all_gpus>1</use_all_gpus>
</options>
</cc_config>

            What do i need to change it to ?

You would need to change it in the app_info.xml file, find the line that says count and change it to 0.5

Offline Josef W. Segur

  • Janitor o' the Board
  • Knight who says 'Ni!'
  • *****
  • Posts: 3112
Re: Multiple WU's per GPU
« Reply #2 on: 09 Dec 2010, 03:11:11 pm »
...
i have 2 video cards a GTS 250 and a GTX 460.
i would like to run 2 work units at the same time  per card.
...

The 200 series cards like your GTS 250 are not capable of running more than one WU at a time, and there's no way to tell BOINC to treat two cards in one host differently. You'll have to move a card to a different host or give up the idea.
                                                                                               Joe

Offline TouchuvGrey

  • Knight o' The Round Table
  • ***
  • Posts: 151
Re: Multiple WU's per GPU
« Reply #3 on: 09 Dec 2010, 08:00:31 pm »
i must be misunderstanding what i am seeing in
that case ( this is not unusual )

12/9/2010 6:18:42 PM   SETI@home   Restarting task 13ja10aa.7071.21335.12.10.234_0 using setiathome_enhanced version 608
12/9/2010 6:18:42 PM   SETI@home   Restarting task 13ja10aa.7071.21335.12.10.228_0 using setiathome_enhanced version 608
12/9/2010 6:18:42 PM   SETI@home   Restarting task 13ja10aa.7071.21335.12.10.225_0 using setiathome_enhanced version 608
12/9/2010 6:18:42 PM   SETI@home   Restarting task 13ja10aa.7071.21335.12.10.222_0 using setiathome_enhanced version 608

12/9/2010 6:18:42 PM      [wfd]: work fetch start
12/9/2010 6:18:42 PM   SETI@home   chosen: minor shortfall NVIDIA GPU: 0.00 inst, 936855.26 sec
12/9/2010 6:18:42 PM      [wfd] ------- start work fetch state -------
12/9/2010 6:18:42 PM      [wfd] target work buffer: 0.86 + 864000.00 sec
12/9/2010 6:18:42 PM      [wfd] CPU: shortfall 6848715.19 nidle 7.84 saturated 0.00 busy 0.00 RS fetchable 0.00 runnable 0.00


12/9/2010 6:18:42 PM   SETI@home   chosen: minor shortfall NVIDIA GPU: 0.00 inst, 936855.26 sec
12/9/2010 6:18:42 PM      [wfd] ------- start work fetch state -------
12/9/2010 6:18:42 PM      [wfd] target work buffer: 0.86 + 864000.00 sec
12/9/2010 6:18:42 PM      [wfd] CPU: shortfall 6848715.19 nidle 7.84 saturated 0.00 busy 0.00 RS fetchable 0.00 runnable 0.00
12/9/2010 6:18:42 PM   SETI@home   [wfd] CPU: fetch share 0.00 LTD 0.00 backoff dt 3887.85 int 86400.00
12/9/2010 6:18:42 PM      [wfd] NVIDIA GPU: shortfall 936855.26 nidle 0.00 saturated 394927.13 busy 0.00 RS fetchable 1000.00 runnable 1000.00
12/9/2010 6:18:42 PM   SETI@home   [wfd] NVIDIA GPU: fetch share 1.00 LTD 0.00 backoff dt 0.00 int 0.00
12/9/2010 6:18:42 PM   SETI@home   [wfd] overall LTD -1931022.03

12/9/2010 6:18:42 PM   SETI@home   [wfd] CPU: fetch share 0.00 LTD 0.00 backoff dt 3887.85 int 86400.00
12/9/2010 6:18:42 PM      [wfd] NVIDIA GPU: shortfall 936855.26 nidle 0.00 saturated 394927.13 busy 0.00 RS fetchable 1000.00 runnable 1000.00
12/9/2010 6:18:42 PM   SETI@home   [wfd] NVIDIA GPU: fetch share 1.00 LTD 0.00 backoff dt 0.00 int 0.00
12/9/2010 6:18:42 PM   SETI@home   [wfd] overall LTD -1931022.03

it looks to me like i'm running 2 WU's on each card. If that is not the case
please enlighten me as to what i'm seeing.
Because we are NOT alone.

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: Multiple WU's per GPU
« Reply #4 on: 09 Dec 2010, 10:05:19 pm »
200 series ( and even 8800 series like the GTS 250  ::))  *should* run 2 instances at a time fine provided you don't run out of memory.  They just won't benefit from doing so directly, since context switch hardware wasn't included until Fermi.  Since you have 400 series there, the likely benefit will outweigh any added cost penalty to the older card (Your mileage may vary).

Note that the operation you're seeing is AFTER, many driver revisions & improvements, so I am surprised that it is working also.  Joe's statements were quite correct not so long ago (though I can't pinpoint the exact dates/versions of the corrections .  Too many changes too quickly  ;))

... Cuda 3.1 was most definitely broken with mixing generations in the same host, which I reported through nVidia's registered developer program.  These things are fixed in Cuda 3.2.  The Cuda 3.0 build in operation, should also be fine as your host shows, just be certain to keep an eye on things  ;)
« Last Edit: 09 Dec 2010, 10:12:50 pm by Jason G »

Offline Vyper

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 376
Re: Multiple WU's per GPU
« Reply #5 on: 10 Dec 2010, 05:54:58 am »
I have a done a quite thorough benchmark over at my blog containing performance data of various official/unofficial executables and benefits when doing full WU runs.

Head over there to check..

http://vyper.kafit.se

Kind regards Vyper

Offline Frizz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 541
Re: Multiple WU's per GPU
« Reply #6 on: 10 Dec 2010, 06:31:01 am »
Head over there to check..

http://vyper.kafit.se

Is it rape when I click on the link? I mean ... it's in Sweden  ;D
Please stop using this 1366x768 glare displays: http://www.facebook.com/home.php?sk=group_153240404724993

Offline Vyper

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 376
Re: Multiple WU's per GPU
« Reply #7 on: 10 Dec 2010, 07:54:36 am »
Head over there to check..

http://vyper.kafit.se

Is it rape when I click on the link? I mean ... it's in Sweden  ;D

Lol!! No! :D

Regards Vyper

Offline PatrickV2

  • Knight o' The Round Table
  • ***
  • Posts: 139
Re: Multiple WU's per GPU
« Reply #8 on: 10 Dec 2010, 12:13:27 pm »
200 series ( and even 8800 series like the GTS 250  ::))  *should* run 2 instances at a time fine provided you don't run out of memory.  They just won't benefit from doing so directly, since context switch hardware wasn't included until Fermi.  Since you have 400 series there, the likely benefit will outweigh any added cost penalty to the older card (Your mileage may vary).

Note that the operation you're seeing is AFTER, many driver revisions & improvements, so I am surprised that it is working also.  Joe's statements were quite correct not so long ago (though I can't pinpoint the exact dates/versions of the corrections .  Too many changes too quickly  ;))

... Cuda 3.1 was most definitely broken with mixing generations in the same host, which I reported through nVidia's registered developer program.  These things are fixed in Cuda 3.2.  The Cuda 3.0 build in operation, should also be fine as your host shows, just be certain to keep an eye on things  ;)

So, err, just so I have it spelled out to me: ;)

My 8800GTX should also be able to run 2 WU's at the same time, but it will not make any difference in the total throughput?

So, bottom-line, the current way it crunches (1 WU at a time) is fine and dandy?

Regards,

Patrick.

Offline skildude

  • Knight o' The Round Table
  • ***
  • Posts: 168
Re: Multiple WU's per GPU
« Reply #9 on: 10 Dec 2010, 12:55:22 pm »
the key is that newer GPU's can handle the multiple apps running.  older cards cannot

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: Multiple WU's per GPU
« Reply #10 on: 10 Dec 2010, 01:20:14 pm »
more precisely, older GPU can benefit from multiple tasks running only if there are big enough periods of idle GPU through app execution. Such idle period should be long enough to offset switching cost.
If not, running few instances per GPU will be counterproductive because of switching overhead.

Offline Pepi

  • Knight o' The Realm
  • **
  • Posts: 119
Re: Multiple WU's per GPU
« Reply #11 on: 22 Dec 2010, 07:25:43 pm »
Just to to say ( confirm) that GTX 460  can work three WU  in same time. On average after 33 minutes got three results. 

Offline Frizz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 541
Re: Multiple WU's per GPU
« Reply #12 on: 23 Dec 2010, 05:01:19 am »
more precisely, older GPU can benefit from multiple tasks running only if there are big enough periods of idle GPU through app execution. Such idle period should be long enough to offset switching cost.

Astropulse OpenCL version for example benefits a lot when running multiple tasks. Check out my findings here: http://setiathome.berkeley.edu/forum_thread.php?id=62385&nowrap=true#1057180
Please stop using this 1366x768 glare displays: http://www.facebook.com/home.php?sk=group_153240404724993

Offline Pepi

  • Knight o' The Realm
  • **
  • Posts: 119
Re: Multiple WU's per GPU
« Reply #13 on: 23 Dec 2010, 06:18:59 am »
multibeam WU
I have 5670 and 5770. And both cannot run 2 WU in same time: Boinc show normal progress for first WU and no progress from second WU, But when first WU is finished then second starts. Can you help me
5670 has 512 MB ram
5770 has 1024 MB ram
so I think they have enough memory to process wu. And they are so slow compared to cuda...

Offline Claggy

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 3111
    • My computers at Seti Beta
Re: Multiple WU's per GPU
« Reply #14 on: 23 Dec 2010, 06:23:07 am »
multibeam WU
I have 5670 and 5770. And both cannot run 2 WU in same time: Boinc show normal progress for first WU and no progress from second WU, But when first WU is finished then second starts. Can you help me
5670 has 512 MB ram
5770 has 1024 MB ram
so I think they have enough memory to process wu. And they are so slow compared to cuda...
you do have -instances_per_device 2 set in your app_info don't you?

Claggy

 

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