Message boards :
Number crunching :
GPU crunching question please
Message board moderation
Previous · 1 · 2 · 3 · 4 · 5 · Next
Author | Message |
---|---|
Send message Joined: 8 Oct 07 Posts: 3 Credit: 38,987,774 RAC: 0 |
Sorry guys if this is in the wrong place or the question has been asked before but ..... Nice new 4870 fitted in an AMD dual core PC installed the BM 6.4.5 and 8.12 drivers and off it goes processing 4 wu at a time, brilliant I thought, lets take it out and put it into a nice AMD quad machine with a Phenom 9850 cpu. Installed it exactly the same way as before with the same BM and driver set and it will only process 3 wu at once? Strange thing is that it say there are 8 wu running at once but only 3 progress. Can any one throw some light on this for me please? Mark |
Send message Joined: 26 Jul 08 Posts: 627 Credit: 94,940,203 RAC: 0 |
Sorry guys if this is in the wrong place or the question has been asked before but ..... You probably used version 0.19/b before and have now 0.19d. That behaviour is pefectly normal. You should have a look to the supplied readme file. It's all explained in quite some length there ;) |
Send message Joined: 26 Jul 08 Posts: 627 Credit: 94,940,203 RAC: 0 |
Ice, I've got the 3870 installed, Catalyst 9.1 drivers, no other application running, only Boinc with the optimized apps for ATI GPU (0.19d Win64), but it's crashing the graphics driver very often (the Catalyst Control Center is not running in the background). I can't leave my computer crunching away without checking up on it from time to time. Is it the nature of the beast as it's not a final version? When it does work it's very fast, making my Dell AMD dual core nearly beat my Mac Pro with 8 cores! Additional to the things Ice mentioned you can try to play with the options in the app_info.xml (look to the readme file). Limiting the app to one concurrent WU (option n1) and/or increasing the wait factor can also help if the system can't stand the permanent high GPU load. |
Send message Joined: 8 Oct 07 Posts: 3 Credit: 38,987,774 RAC: 0 |
Thanks for the swift reply Cluster Physik, I did notice the readme and have had a quick tinker with the app_info file. I will have a better look tomorrow as it late now, many thanks again Mark |
Send message Joined: 12 Apr 08 Posts: 621 Credit: 161,934,067 RAC: 0 |
Isn't there a law against reading a READ.ME file? I could have sworn that there was a tremor when I even clicked on the file name ... |
Send message Joined: 29 Jan 09 Posts: 32 Credit: 1,962,668 RAC: 0 |
Install the 8.12 drivers ... I'll try that once I have access to the Dell again. |
Send message Joined: 6 Apr 08 Posts: 2018 Credit: 100,142,856 RAC: 0 |
Install the 8.12 drivers ... I found that it was best to go into Control Panel, Add or Remove Programs, and remove the ATI display drivers first. The 0.19* apps seemed to behave better than with just adding 8.12 without removing existing ATI drivers first. |
Send message Joined: 29 Jan 09 Posts: 32 Credit: 1,962,668 RAC: 0 |
I found that it was best to go into Control Panel, Add or Remove Programs, and remove the ATI display drivers first. The 0.19* apps seemed to behave better than with just adding 8.12 without removing existing ATI drivers first. Thanks again Ice! Additional to the things Ice mentioned you can try to play with the options in the app_info.xml (look to the readme file). Limiting the app to one concurrent WU (option n1) and/or increasing the wait factor can also help if the system can't stand the permanent high GPU load. I did play with the n option a bit, tried 2 and 4, but left it at 2. I didn't change the wait factor though. |
Send message Joined: 18 Feb 09 Posts: 158 Credit: 110,699,054 RAC: 0 |
I have a little story, so bear with me before I get to my actual question. CPU: Intel Core2Quad Q6600 OC'd to 3 GHz GPU: Radeon HD3870 I just read up on the 19d app, souded good so I thought I'd give it a go. Running Windows 7 on Vista 64 Catalyst 9.2 with proper ati*.dll files in my sys32 folder. It ran pretty well running its 3 WUs in way better time than the 19 app did. Then... the driver crashed. Restarted, did it again, of course. So I read up more on the xml file and tweaked a bit, first to n1, and the GPU still ran at max load constantly, so I started messing with the w variable, and had to get it up to 1.6 before the load decreased. But by now, my crunching time had suffered so much it was worse off than the 19 app. So I found this here thread and saw that the 8.12 drivers are supposed to work way better. After fighting with Windows 7 for about 2 hours, I FINALLY get the install to go through. Cautiously, I started at n2 and no w variable. About 1 minute in display crash again. So I hit up n1 and it's going well. Then I had this thought, I have an extra 4850 laying around(the 3870 has better cooling as well as GDDR4 for gaming performance(, so why not toss that in just to crunch since the 19d app supports multiple GPUs. Load that up, strongarm windows into using the right drivers and fire boinc back up. Still, only one WU crunches. It was my understanding, and please, if I'm flat out wrong, I apologize, that the n1 flag would let one WU crunch per gpu? If this is the case, what might I be doing wrong? |
Send message Joined: 6 Apr 08 Posts: 2018 Credit: 100,142,856 RAC: 0 |
I have a little story, so bear with me before I get to my actual question. Sounds a familiar to the problem I was getting (when 9.2 worked for a while then kept crashing). My theory is that you need to uninstall 9.2 completely - including the CCC Catalyst Control Centre. Otherwise you may have settings somewhere in your system that is causing an overclock with 8.12. Flush it all out with a complete uninstall of all ATI products before installing 8.12 - is what I would advise. |
Send message Joined: 18 Feb 09 Posts: 158 Credit: 110,699,054 RAC: 0 |
Oh, my apology, I did omit a step. I uninstalled 9.2, wiped it clean with Driver Cleaner Pro. |
Send message Joined: 6 Apr 08 Posts: 2018 Credit: 100,142,856 RAC: 0 |
|
Send message Joined: 18 Feb 09 Posts: 158 Credit: 110,699,054 RAC: 0 |
Well, it's been running well since I set it to n1, crashed once when power saver turned the display off. The biggest thing I am curious about at the moment, is: I have a 3870 and a 4850 in it at the moment, but with n1, only one WU is running... shouldn't there be two? And btw, thank you very much fior taking the time to help me out. |
Send message Joined: 6 Apr 08 Posts: 2018 Credit: 100,142,856 RAC: 0 |
Well, it's been running well since I set it to n1, crashed once when power saver turned the display off. The biggest thing I am curious about at the moment, is: I have a 3870 and a 4850 in it at the moment, but with n1, only one WU is running... shouldn't there be two? The optimim is n3. n1 will only run one work unit at a time. I have mine set to n2, but with my 4850 4 WUs are always crunching at once. With my 4870, just 2 crunch as expected.
no problem :) |
Send message Joined: 18 Feb 09 Posts: 158 Credit: 110,699,054 RAC: 0 |
Ok, so its not something I'm doing wrong, the flag just isn't operating as expected on my machine. n1 should run 2 WUs, one per GPU, by the wording in the readme anyway. :) It's all good, I just wanted to sort out if I messed something, or if it was just a bit glitchy yet. I removed the n flag all together now and disabled power saving and its been running good so far, both GPUs are showing 99.9% utilization. :) |
Send message Joined: 6 Apr 08 Posts: 2018 Credit: 100,142,856 RAC: 0 |
...its been running good so far, both GPUs are showing 99.9% utilization. :) That's good. But what I'm trying to do is to run another project with the spare CPU that the GPU isn't using. I'm succeeding so far with the 4870 and have a CPDN task running. If I get two CPDN, or one CPDN and a Cosmology, the MW crunching stops. As for the 4850 - it's still cracking on with 4 MW tasks, but doesn't seem to want to share the CPU. |
Send message Joined: 18 Feb 09 Posts: 158 Credit: 110,699,054 RAC: 0 |
Mine has now crashed twice in rapid succession. :/ I think I'm going to chalk it up to Windows 7. |
Send message Joined: 20 Mar 08 Posts: 108 Credit: 2,607,924,860 RAC: 0 |
To have the desired number of MW WUs run alongside the desired number of other projects' WUs, you need to play with the resource share. IME, that's the only way, as the avg_ncpus parameter has no influence on that whatsoever. Furthermore, I see no reason to allocate a whole core to the GPU app, it needs much less. I'll try to explain my findings - and my humble recommendations: How many WUs to run simultaneously on each GPU? command: n2 How many CPU cores to let the GPU app use at max? max_ncpus: 1 How many GPU WUs to allow while still running CPU WUs (from other projects) on all cores? avg_ncpus: less than 1 / (n * ngpu) (nevermind, just set it to 0.1) How many GPU WUs to actually run at once? BOINC resource share: n * ngpu / (n * ngpu + ncpu) n2, one gpu, dual-core cpu -> 50% n2, one gpu, quad-core cpu -> 33% n2, two gpus, dual-core cpu -> 67% n2, twp gpus, quad-core cpu -> 50% (Of course, the 'n' reference only applies to 0.19d so far.) On my quad-core with a (dual-GPU) 4870x2, I have 4 MW WUs running alongside 4 WUs from other projects - shown as 8 WUs all in 'running' state. On my quad-core with a (single-GPU) 4870/1g, I have BOINC thinking that 4 MW WUs run alongside 4 WUs alongside 4 WUs from other projects, but the GPU app has 2 of them on hold thanks to the n2 command. It takes a while for the resource share to 'settle down', and the CC scheduler will act up slightly now and then, but in genereal, it's as simple as getting the maths straight and give it a few hours. |
Send message Joined: 6 Apr 08 Posts: 2018 Credit: 100,142,856 RAC: 0 |
|
Send message Joined: 20 Mar 08 Posts: 108 Credit: 2,607,924,860 RAC: 0 |
Fantastic! Well done Brickhead!, that's done the trick for me :D Uh-oh, does this mean I'd better watch my back now? :D Happy to learn that my findings still hold water now that we have a statistical base of no less than 4 :P |
©2024 Astroinformatics Group