Questions and Answers :
Windows :
Multi-GPU task takes longer than single-gpu task
Message board moderation
Author | Message |
---|---|
Send message Joined: 2 May 11 Posts: 47 Credit: 319,540,306 RAC: 1 |
I have two machines, one with a single 5870, and one with two 5870s. A task on the single GPU machine takes 500-900 seconds. A task on the dual GPU machine takes 2600-3400 seconds. The dual GPU machine takes 4-5 times longer than a single GPU? It should be less, not more. Looks like the app may be broken. Single 5870: http://moowrap.net/results.php?hostid=116&offset=0&show_names=0&state=3&appid= Dual 5870: http://moowrap.net/results.php?hostid=118&offset=0&show_names=0&state=3&appid= Reno, NV Team SETI.USA |
Send message Joined: 3 May 11 Posts: 11 Credit: 992,752,249 RAC: 535,273 |
Question for project admin: Assuming this project is built on DNETC sources: Was something changed in the ATI application. On my multi GPU system (1x 5870 and 1x 5850) it behaves differently than on DNETC. One of the two GPUs only gets back up to 50% GPU usage after it finished the first segment (block of work). Previously both GPUs were running over 90% GPU usage the whole time, except for the end when the faster GPU has to wait for the slower on to finish it's last segment. |
Send message Joined: 3 May 11 Posts: 5 Credit: 1,001,872,600 RAC: 1,543 |
When MooWrapper is running on my dual Gpu rig (GTX570 + 480) only one of the GPUs is used. The other one is sleeping. But the app is taking both of them. Not real good. Bye bye |
Send message Joined: 20 Apr 11 Posts: 388 Credit: 822,356,221 RAC: 0 |
Assuming this project is built on DNETC sources: Was something changed in the ATI application. I'm using Distributed.net Client without any changes just like they are on their download site. I don't have their sources so I can't build a custom client (there's also no need for such thing). One of the two GPUs only gets back up to 50% GPU usage after it finished the first segment (block of work). Previously both GPUs were running over 90% GPU usage the whole time, except for the end when the faster GPU has to wait for the slower on to finish it's last segment. Interesting as it should behave like the latter part. That's also how it works on my own system (and on many others too, I would hope). This can be a bug in the dnet client but there's also some changes I can do in my wrapper code to see if things improve. I believe this is also something dnetc@home battled with some earlier versions of their apps. Not sure if they ever got it working since I obviously didn't have that problem. :) -w |
Send message Joined: 2 May 11 Posts: 4 Credit: 28,716,459 RAC: 0 |
I am getting the same thing on my nvidia cards. I have a GeForce 295 (dual GPU) and a GeForce 430 in the same machine. Currently, only one of the 295 GPUs is 50% active and the other 2 are completly idle. I to have complete a few WUs on my nvidia card. The single ATI 6970 card in the same computer is working as one would expect. Might I sugest running one WU on each GPU core instead of one WU for all GPUs? This may minimise issues for systems with a mix of varing card types as well. |
Send message Joined: 2 May 11 Posts: 47 Credit: 319,540,306 RAC: 1 |
I believe this is also something dnetc@home battled with some earlier versions of their apps. Not sure if they ever got it working since I obviously didn't have that problem. :) It is clearly not working on most multi-GPU machines. Even when the GPUs are identical. What is going to be done to address it? Anything? Reno, NV Team SETI.USA |
Send message Joined: 2 May 11 Posts: 5 Credit: 100,847,975 RAC: 0 |
This is a solvable problem - the old DNETC project did it. A 2x5870 machine should complete a WU in ~55% of the time it takes a single 5870 machine. If that's not happening, something is clearly wrong. |
Send message Joined: 2 May 11 Posts: 8 Credit: 157,289,433 RAC: 0 |
Assuming this project is built on DNETC sources: Was something changed in the ATI application. I think the problem with Dnetc was that some work units had an odd number of packets, so one GPU would still be working while the other had nothing to do. Then it took a few workunits for the other one to kick back in again. So a WU with 12 packets would run normal with 2 GPU's, yet one with 11 or 13 packets would cause at least one (if not both) GPU to hang. |
Send message Joined: 3 May 11 Posts: 11 Credit: 992,752,249 RAC: 535,273 |
The case of the uneven packets explains the idle GPU at the end or the faster GPU idling with even packets. I see one GPU run 50% through most/all of it's packets while the other one runs at 100%. It all might be connected with the high CPU issue described in the thread. Haven't had time to test this by disabling CPU computation and running Moowrap exclusively. Edit: Ok for this kind of credit i can live with idling GPUs :D 14379 12212 3 May 2011 | 12:13:55 UTC 3 May 2011 | 16:18:37 UTC Completed and validated 681.87 62.29 8,590.69 Distributed.net Client v1.00 (ati14) 14183 12017 3 May 2011 | 12:13:55 UTC 4 May 2011 | 6:10:40 UTC Completed and validated 720.32 5.48 9,075.10 Distributed.net Client v1.00 (ati14) 14179 12013 3 May 2011 | 12:13:55 UTC 4 May 2011 | 6:10:40 UTC Completed and validated 697.41 19.08 8,786.55 Distributed.net Client v1.00 (ati14) |
Send message Joined: 2 May 11 Posts: 15 Credit: 370,678,308 RAC: 0 |
As some one mentioned, we would DEARLY love to have the project crunch on individual GPUs rather than use all in the machine. It is more efficient for the computers and more work would get done for the project. DNETC blew us off and refused to address this. It is frustrating to see a GPU sit idle because there are an odd number of packets to process. |
Send message Joined: 20 Apr 11 Posts: 388 Credit: 822,356,221 RAC: 0 |
As some one mentioned, we would DEARLY love to have the project crunch on individual GPUs rather than use all in the machine. It is more efficient for the computers and more work would get done for the project. Hi, I understand that request but unfortunately this is not up to me. Distributed.net Client doesn't allow selecting which GPU they use and they detect and use all of them. Until they support this switch, there's nothing much I can do. Sorry. :( -w |
Send message Joined: 2 May 11 Posts: 15 Credit: 370,678,308 RAC: 0 |
As some one mentioned, we would DEARLY love to have the project crunch on individual GPUs rather than use all in the machine. It is more efficient for the computers and more work would get done for the project. I thank you for an honest reply :) DNETC basically blew us off and never addressed the request/problem. |
Send message Joined: 2 May 11 Posts: 8 Credit: 157,289,433 RAC: 0 |
As some one mentioned, we would DEARLY love to have the project crunch on individual GPUs rather than use all in the machine. It is more efficient for the computers and more work would get done for the project. Is there a way to change the number of packets in each work unit? If they all had an even number of packets, it would at least eliminate one of the GPU's idling in a multi GPU setup. |
Send message Joined: 2 May 11 Posts: 27 Credit: 1,151,788 RAC: 0 |
Is there a way to change the number of packets in each work unit? If they all had an even number of packets, it would at least eliminate one of the GPU's idling in a multi GPU setup. at least some of them - but there are also packets with less than 64 units. of course it would be ideal to have an even nummber of packets with the same number of unites contained. |
Send message Joined: 20 Apr 11 Posts: 388 Credit: 822,356,221 RAC: 0 |
Due to the way I'm generating the work, it would be hard make exact packages all the time. There will be some variance in the work amount. Although, there are some things I could change and one solution might be to eventually allocate work for hosts based on number of packets in a wu and number of devices (can be even or odd) on a host. I will keep these problems in mind but I think at the moment best thing is to make the bulk of the run work better for more people. After that we can think about optimizing the relative short end of the run. :) -w |
Send message Joined: 5 May 11 Posts: 7 Credit: 13,680,807 RAC: 0 |
Tasks take one hour on my HD 5970 @ 770/600. Use 2 full CPU cores. Stderr output shows application is restarting every 5 minutes. With no CPU projects running GPU usage is 99% but temperature of core and VRMs is low and power draw is also low. The GPU engines are revving at full speed but have almost no torque. Xeon W3520 @ 3.1 GHz, Win 7 64, BOINC 6.12.22. Cat 11.4 Preview (1.4.1353). |
Send message Joined: 5 May 11 Posts: 3 Credit: 585,243 RAC: 0 |
Tasks take one hour on my HD 5970 @ 770/600. Use 2 full CPU cores. Stderr output shows application is restarting every 5 minutes. With no CPU projects running GPU usage is 99% but temperature of core and VRMs is low and power draw is also low. The GPU engines are revving at full speed but have almost no torque. I made my first attempt, last night, with moowrap--2x5870s, hesitant because of the infamous hanging cpu problem some of us experienced with dnetc. every WU I tried, 4, immediately jumped to 14.814% with 25% cpu, 2 threads or 1 core, of an i7. the first error-ed after I suspended and resumed, but I aborted the others at ~15min, still at 14.814%, given I see numerous machines with 2x5870s completing WUs in~600secs. kashi, I have the same indications, low core and vrm temps, yet both gpus (950/1350) supposedly at 100%. I hope I am wrong, but there is no reason to believe this is not the same mess that plagued some of us trying to crunch dnetc. the only differences as I see them are that I have two threads, an entire core at 100% of an i7, and that I hav yet to get one that crunched or that I could tolerate until the end. the dnetc problem was sporadic and the WUs took at most 13min though most of the hanging with the cpu occurred after the gpus crunched the WU. the dnetc crew said there was nothing they could do about it, just a wrapper, and that distributed.net was not very helpful because so few had the issue or at least not enough complained about it. if you or anyone has ideas regarding the mysterious aspect of some dual 5870 machines that triggers the issue, please pass along the idea. win7 64b driver 11.4 2x5870s (oc'd but I eliminated that as the issue at dnetc) boinc 10.58 i7, 950 (not oc'd) |
Send message Joined: 7 May 11 Posts: 1 Credit: 864,812,102 RAC: 0 |
Hi, I just tested the project on my two ATI tri-GPU rigs (3x5870 and 5970+5870) both under Win7-64 and 11-3 driver I got no computation errors, but completion times are quite awfull, between 5500 and 5900s What's wrong ? |
Send message Joined: 2 May 11 Posts: 47 Credit: 319,540,306 RAC: 1 |
Yep. All tasks on my dual 5870 machine take ~1-2 hours. On my single 5870, they take ~15 minutes. Reno, NV Team SETI.USA |
Send message Joined: 2 May 11 Posts: 27 Credit: 1,151,788 RAC: 0 |
Yep. All tasks on my dual 5870 machine take ~1-2 hours. On my single 5870, they take ~15 minutes. really strange! but DA's bright new credit-system has decided to compensate for that and is granting a freaky load of credits for those WU's now.. |