Advanced search

Message boards : Number crunching : Multiple WUs on 1 GPU, good idea?

Author Message
Profile Scalextrix[Gridcoin]
Send message
Joined: 27 Jan 09
Posts: 34
Credit: 185,313,973
RAC: 0
Level
Ile
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwat
Message 36894 - Posted: 24 May 2014 | 18:38:38 UTC

Hello, I have been experimenting with app_config.xml and Im wondering if anyone else has tried 2 WUs on 1 GPU? I have it running now and it seems stable, my setup:
i7-3770k @ 4.2Ghz
GTX 780Ti
GTX 670
Win7 64bit
SWAN_SYNC=0
WDM=Disabled

Am trying this because of the less than 100% GPU utilisation when running 1 WU on a GPU, curiously running 2 WUs at 50% each has not resulted in 100%, but is still higher. I read about Win7 not doing a good utilisation job on Win7, trying to overcome it.

Anyone think this will produce more points?

Profile Carlesa25
Avatar
Send message
Joined: 13 Nov 10
Posts: 328
Credit: 72,619,453
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36895 - Posted: 24 May 2014 | 19:55:18 UTC - in response to Message 36894.

Hello: I have personally experienced in Linux, GTX770+FX8350 there is a small improvement in GPUGRID (in other projects with lower GPU load if it works great) but have two problems.

If tasks are no longer in danger of exceeding the 24H and lose the bonus and long process increases the possibility of error in the short tasks is better, always you will have the bonus but the danger with longer processing time always exists. Greetings.

Profile Beyond
Avatar
Send message
Joined: 23 Nov 08
Posts: 1112
Credit: 6,162,416,256
RAC: 0
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36896 - Posted: 24 May 2014 | 21:09:14 UTC - in response to Message 36894.

There was a thread in which Jacob Klein describes his experiences running 2 WUs. The short answer is that it leads to more WU errors and isn't a good idea. Look up the thread and you can read the whole epistle.

Profile Scalextrix[Gridcoin]
Send message
Joined: 27 Jan 09
Posts: 34
Credit: 185,313,973
RAC: 0
Level
Ile
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwat
Message 36898 - Posted: 25 May 2014 | 7:18:10 UTC - in response to Message 36896.

Thanks for the replies, I could not find that thread by Jacob but I will look out for issues.
Re the long running WU and lack of bonus am pretty sure that wont be an issue on the 780Ti, it seems to tear through even long tasks, with a single WU I was seein 5 hours. But it might be a problem on the 670.
I may use cc_config to lock the 670 to short tasks only and if running 2 WU together on that card is still a problem then make the short tasks run one at a time.
Ultimately Im in this for the science (not points) so if I see errors or invalid results I will be back to 1WU per GPU quite quickly.
Thanks for the advice.

Profile Beyond
Avatar
Send message
Joined: 23 Nov 08
Posts: 1112
Credit: 6,162,416,256
RAC: 0
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36899 - Posted: 25 May 2014 | 7:58:50 UTC - in response to Message 36898.

Thanks for the replies, I could not find that thread by Jacob but I will look out for issues.
Re the long running WU and lack of bonus am pretty sure that wont be an issue on the 780Ti, it seems to tear through even long tasks, with a single WU I was seein 5 hours. But it might be a problem on the 670.
I may use cc_config to lock the 670 to short tasks only and if running 2 WU together on that card is still a problem then make the short tasks run one at a time.
Ultimately Im in this for the science (not points) so if I see errors or invalid results I will be back to 1WU per GPU quite quickly.
Thanks for the advice.

Here's one of the threads:

http://www.gpugrid.net/forum_thread.php?id=3332

Here's the post where one of the project scientists asks to stop running 2x as it's causing invalid results:

http://www.gpugrid.net/forum_thread.php?id=3332&nowrap=true#29424

Profile Scalextrix[Gridcoin]
Send message
Joined: 27 Jan 09
Posts: 34
Credit: 185,313,973
RAC: 0
Level
Ile
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwat
Message 36900 - Posted: 25 May 2014 | 9:47:37 UTC - in response to Message 36899.

If the project requested we don't do it, then I am not doing it, good enough for me, thanks.

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36902 - Posted: 26 May 2014 | 3:49:49 UTC
Last modified: 26 May 2014 | 4:18:55 UTC

Wow. Such misinformation. Please be sure to read that WHOLE thread, if you want the WHOLE story.

The invalid results were not caused at all by running multiple tasks on the same GPU. The invalid results were caused by a BOINC installation problem that resulted in registry entries, such that part of BOINC's data directory was stored in the VirtualStore directory of Windows, and was not being properly cleaned by BOINC. And then GPUGrid was not properly running results through validation, erroneously granting them full credit even when they failed after a couple seconds on my botched installation. Here's the post of my solution, after weeks and weeks of research. I'm obviously a bit miffed that you erroneously attributed the problem to running multiple tasks on the same GPU.
http://www.gpugrid.net/forum_thread.php?id=3332&nowrap=true#29894
Sheesh.

You CAN run 2x on a single GPU, and as far as I know, the admins do not have any problems with it. If you are going to attempt it, I recommend a GPU that has at least 2 GB of VRAM, alongside a high-speed internet connection. More details might be found here:
http://www.gpugrid.net/forum_thread.php?id=3331
Good luck.

Profile Beyond
Avatar
Send message
Joined: 23 Nov 08
Posts: 1112
Credit: 6,162,416,256
RAC: 0
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36904 - Posted: 26 May 2014 | 13:07:25 UTC

Looks like I forgot the end result of that excruciatingly long year old thread and didn't wade through the entire epistle. Sorry.
Are you running 2x now? Is anyone currently running 2x? Did the admins ever change their stance and say it was OK?

Regards

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36905 - Posted: 26 May 2014 | 13:23:00 UTC
Last modified: 26 May 2014 | 13:24:14 UTC

The admins never had a stance against it. So, any user is free to attempt it. My testing indicated a possible performance gain by running multiple, but others had a performance decrease. I only recommend attempting it if all of your GPUGRID GPUs in your system each have 2GB or more of VRAM, since tasks will immediately fail if they cannot allocate enough VRAM. Since I have a 1GB GTX460 in the mix, I only run 1 GPUGRID task per GPU.

Profile Beyond
Avatar
Send message
Joined: 23 Nov 08
Posts: 1112
Credit: 6,162,416,256
RAC: 0
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36906 - Posted: 26 May 2014 | 17:31:23 UTC
Last modified: 26 May 2014 | 17:35:36 UTC

Thanks for the clarification Jacob. On another topic, I swapped in a 750 Ti in place of my last GTX 460. In doing so gained around a 60% increase in speed (at the least, for some WUs the speed increase is almost 100%) at a decease in power usage of 100 Watts. In addition the 750 Ti is 2GB. The 750 Ti isn't expensive on sale and at my power rates should take about 1.5 years to pay for in electricity savings.

Matt
Avatar
Send message
Joined: 11 Jan 13
Posts: 216
Credit: 846,538,252
RAC: 0
Level
Glu
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36907 - Posted: 26 May 2014 | 18:27:40 UTC - in response to Message 36894.

WDM=Disabled


Just curious what that variable does functionally and performance-wise.

Thanks.

Profile Scalextrix[Gridcoin]
Send message
Joined: 27 Jan 09
Posts: 34
Credit: 185,313,973
RAC: 0
Level
Ile
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwat
Message 36921 - Posted: 27 May 2014 | 22:07:34 UTC - in response to Message 36907.

So im a noob and through reading these forums i came to believe (be it true or not) that Windows Desktop Manager caused poor utilisation, therefore I disabled it. Cant say i saw any difference but who am i to argue.
I did notice that with 2 WUs on each gpu that my system responsiveness became quite slow at times, as this is my main pc i have decided to fall back to just 1 WU per gpu for now.
Thanks forum.

Profile Scalextrix[Gridcoin]
Send message
Joined: 27 Jan 09
Posts: 34
Credit: 185,313,973
RAC: 0
Level
Ile
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwat
Message 36923 - Posted: 28 May 2014 | 5:45:20 UTC - in response to Message 36921.

Ignore my last post it seems on further reading its WDDM not WDM that causes utilisation issues.

Matt
Avatar
Send message
Joined: 11 Jan 13
Posts: 216
Credit: 846,538,252
RAC: 0
Level
Glu
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36924 - Posted: 28 May 2014 | 5:52:23 UTC - in response to Message 36923.

Okay, thanks. That's what I thought. Just making sure there isn't some tweak I'm missing out on.

Profile Carlesa25
Avatar
Send message
Joined: 13 Nov 10
Posts: 328
Credit: 72,619,453
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36945 - Posted: 28 May 2014 | 22:22:36 UTC - in response to Message 36896.


Hello: I experienced again with two tasks per GPU using new ultra short tasks and in this case the result is a performance increase of 17% which is quite interesting.

Anyway I said is still valid, the choice of two tasks per GPU can be used only in very specific cases.

Profile Carlesa25
Avatar
Send message
Joined: 13 Nov 10
Posts: 328
Credit: 72,619,453
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37011 - Posted: 6 Jun 2014 | 17:57:15 UTC - in response to Message 36945.


Hello: I experienced again with two tasks per GPU using new ultra short tasks and in this case the result is a performance increase of 17% which is quite interesting.

Anyway I said is still valid, the choice of two tasks per GPU can be used only in very specific cases.



Hello: Confirming the above, recent ultra-short "gluglnx7-NOELIA_SH2eq-0-1-RND7299_7" tasks running two GPU tasks have a performance improvement of 10% which is quite interesting. Greetings.

VT
Send message
Joined: 28 Nov 13
Posts: 17
Credit: 153,786,987
RAC: 0
Level
Ile
Scientific publications
watwatwatwatwatwatwatwatwatwat
Message 37205 - Posted: 2 Jul 2014 | 7:39:17 UTC - in response to Message 37011.

I run 2 long WUs on 1 GPU for a few months - stable and improves perf by about 10%. and has low risk of going over 24hrs (longest I've seen is 16 hrs for some santi jobs)

I'm not sure what they show under GPU use - if it's per CU, then it's really hard to operate at 100% utilization. it's it's "something running on at least 1 CU", then I wonder why it's so far from 100%.

Thomas
Send message
Joined: 17 Aug 14
Posts: 16
Credit: 4,464,650
RAC: 0
Level
Ala
Scientific publications
watwatwat
Message 37876 - Posted: 11 Sep 2014 | 10:53:21 UTC
Last modified: 11 Sep 2014 | 10:56:37 UTC

Hi :)

After reading tons of pages about multiple WUs on a single gpu, one can`t stop thinking to himself.

"Which would give the best result, error wise, and which solution gives the best performance boost:

1. Multiple WUs on one gpu.
2. Multiple gpus pr. WU.

I want to build my own "Folding-Cluster" and I don`t like abusing my gpus, so I hope nr. 2 wins.

Best regards :)

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37877 - Posted: 11 Sep 2014 | 10:56:34 UTC - in response to Message 37876.
Last modified: 11 Sep 2014 | 10:57:07 UTC

Number 2 doesn't even make sense to me. Each GPU can run 1-or-more tasks. You cannot have multiple GPUs tackle a single task, to my knowledge.

Thomas
Send message
Joined: 17 Aug 14
Posts: 16
Credit: 4,464,650
RAC: 0
Level
Ala
Scientific publications
watwatwat
Message 37878 - Posted: 11 Sep 2014 | 11:19:02 UTC - in response to Message 37877.

Hmm, ok.

Thanks for the answer though :)

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37879 - Posted: 11 Sep 2014 | 11:23:30 UTC - in response to Message 37878.
Last modified: 11 Sep 2014 | 11:23:57 UTC

The real answer is:
It's probably best to run 1 task per GPU.

If you have 2GB or more of memory on the GPU, you can attempt multiple tasks, and if you're not doing other things with the GPU (like suspending/resuming, gaming every so often, etc.), then it'll probably work fine. But if you plan on using the system for anything besides BOINC, then I'd recommend 1 task per GPU.

Post to thread

Message boards : Number crunching : Multiple WUs on 1 GPU, good idea?

//