| log in |
Message boards : Questions and problems : (Waiting for GPU Memory) Status OSX
1 · 2 · Next
| Author | Message |
|---|---|
|
Hi Folks, | |
| ID: 40382 · | |
|
No matter what you do, Seti still doesn't run any science apps by default on an ATI GPU. You'd have to use third party applications for that, as in ones from Dotsch or Lunatics. But as far as I know, there are none for OS X, as ATI GPU detection itself is flaky still under OS X. | |
| ID: 40389 · | |
|
Hi Dagorath, Your climateprediction (CPDN) tasks won't disappear if you shutdown BOINC. Be sure to shutdown BOINC client not just BOINC manager. Click Advanced -> Shutdown Connected Client to do that. Using Advanced->Shutdown Connected Client in Boinc Manager 6.12.35 (x86) in OSX 10.6.8 results in a dialog box asking for conformation, clicking OK results then a secondary dialog box asking the user to connect to another host. So "Yes or No at this point?" was answered here in this post... Connected client won't shut down: http://setiathome.berkeley.edu/forum_thread.php?id=53235#887451 ..."No" apparently being the correct answer. As a matter of note, there is no confirmation of this decision sequence shown to the user nor do the actions appear in any form in the Event Log! Also, Quitting the BOINC Manager (after performing the above Quit Client routine above) and restarting BOINC Manager did not resolve the (waiting for GPU memory) issue! You should make backups of CPDN tasks so that if they crash you can restore them. As you can see they take many hours to run and it's a shame when you get hit by a power outage or whatever and lose a CPDN task after 20 days of time invested in it. The easiest way to backup CPDN is to just copy the entire BOINC folder to BOINC.bkp or whatever but you have to do that when BOINC client is shutdown. So maybe do that when you shutdown now. Backing up important data is good advice here. However, after examining the resource folders for SETI and CPDN (Climate)... Macintosh Hard Drive -> Library -> Application Support -> BOINC Data -> projects -> climateprediction.net Macintosh Hard Drive -> Library -> Application Support -> BOINC Data -> projects -> setiathome.berkeley.edu ...I felt confident enough that this information would remain intact and in place after both a Client and Application shut down and run. And, such was the case. When you restart BOINC client it might fix the problem with "waiting for GPU memory". It might not. As noted, it did not. You may have to reboot the OS or even power down the computer. I was almost tempted to go this route for my next step, but being a curious fellow I decided to investigate further into what was going on... I decided to fire up Activity Monitor (Applications -> Utilities -> Activity Monitor) to see what was happening with the Shutdown Connected Client and Quit and Restart BOINC Manager path. What I discovered was that all of the malfunctioning SETI WUs were still being held in memory...there was no memory resource dump on quitting! Aha! So, I decided to play my hunch and quit one of the WUs using Activity Monitor and restarted Boinc Manager and SETI...voila!...no more (waiting for GPU memory) hang, the WU functioned properly! I "rinsed and repeated" with the remaining WUs and, now...all is well! :) I suspect what has happened is you've got 8 SETI GPU tasks and they all want memory at the same time. Perhaps you haven't seen this problem before because you've never had 8 SETI GPU tasks all line up at the same time, perhaps until now it was a mixture of GPU and non-GPU tasks which would demand less GPU memory. I had only tried this project swapping routine a few times and I am still not sure what might have precipitated this problem. FWIW, I did a subsequent swap back into CPDN for the remainder of the day and into the overnight with no problems going in that "direction". We'll see what happens tomorrow morning when I again switch from CPDN back into SETI. I see you have 2 GB vid RAM so it should handle more than 1 GPU task easily. You may have to do some configuring with an app_info.xml file. Jord can tell you more about that. It was my understanding that GPU memory/processing is not yet supported using SETI@Home in 6.12.35 (x86) on OSX 10.6.8 on a "Sandy Bridge" iMac with an AMD HD 6970M?! FWIW, toggling the Use GPU while computer is in use setting in preferences on my setup does nothing...I confirmed this in my setup experiments using OpenGL Drive Monitor... (Macintosh Hard Drive -> Developer -> Applications -> Graphics Tools -> OpenGL Drive Monitor) ...and neither the ATIRADEONX3000GLDriver nor the AppleIntelHDGraphicsGLDriver show any activity while the BOINC and client softwares are running. I also confirmed that no VRAM was being used in these applications using a 3rd party OSX monitoring utility. One more thought, before you shutdown BOINC, make a note of whether they're all GPU tasks then suspend all of them and set SETI to No New Tasks. When you restart BOINC, Resume the SETI tasks one by one, slowly, and see at which point the "waiting for Memory" status returns, if it returns at all. More excellent advice...as noted in my original post, I did suspend all tasks and set the program to "No New Tasks" to see if the errant tasks would perform properly when all of the other tasks had completed...and, as noted, that did not solve the problem. The problem, apparently, lays in the fact that a quit does not perform a memory dump of WUs whether good or rogue, so a restart of softwares will only pick up where one left off with the WU...good or rogue! A System restart will clean out the errant WU RAM as you note! My conclusion... The softwares need to dump their RAM assets on a quit...perhaps the programmers can effect a fix to this?! Error corrections, insights and questions welcomed! Thanks again for your time and energy on this issue! :) Jimmy G | |
| ID: 40394 · | |
No matter what you do, Seti still doesn't run any science apps by default on an ATI GPU. You'd have to use third party applications for that, as in ones from Dotsch or Lunatics. But as far as I know, there are none for OS X, as ATI GPU detection itself is flaky still under OS X. Apparently an issue with AVX support using GCC in OSX... Re: Moving to newer version of GCC: http://lists.apple.com/archives/xcode-users/2011/May/msg00228.html ...though I thought I read somewhere about AVX support being added to 10.6.8. and Sandy Bridge being AVX enabled/native/ready? @Jimmy: The "waiting for GPU memory" thing is a bug that got squashed only recently, but only in 6.13 if I am not mistaken. However I am not telling you to go use 6.13, as this is extremely buggy. Instead I'll go ask the developer for the Mac to back-port the fix to a next 6.12, or ask if he has done so already. Well, who knows what'll happen when you start letting me hit the buttons and flip the switches! Ha! As I said, I'm not sure what precipitated the problem to begin with...! Follow up...all the previously errant WUs processed without a hitch and SETI is currently downloading and processing a fresh batch of WUs as we speak! I love happy endings. :) Jimmy G | |
| ID: 40395 · | |
|
Jimmy, the developers ask you to run with a debug option on. <cc_config> <log_flags> <task_debug>1</task_debug> </log_flags> </cc_config> When done and the file is saved (make sure it's only got the .xml extension, nothing else; save in ANSI format if possible), open BOINC Manager->Advanced view->Advanced->Read config file. That will start the debugging. Then wait until you see the same behaviour on any of your tasks and post the part of the log here that then hopefully shows what the problem is. You can recognize the debug lines of the tasks as they start with [task]. ____________ Jord -BOINC FAQ Service -BOINC 7.0 FAQ Go, seize the day, wake up and say: This is an Extraordinary life! -- Asia, An Extraordinary Life | |
| ID: 40404 · | |
|
Hi Jord, | |
| ID: 40406 · | |
|
Hi Jord, | |
| ID: 40407 · | |
|
Hi Dagorath, You should not have saved the file in Word 2003 (.xml) format. That's what's caused the error. Noted. Delete cc_config.xml, copy and paste that xml code Jord gave you in his last post into TextEdit. Double check that you did the copy/paste properly because it won't work if even 1 character is missing. When you save the file save it in "plain text (ANSI)" format if that's one of the available formats in the list. If not then "plain text" or "text" will do. After saving it, double check that it has the .xml extension and not .txt. If it has .txt extension then rename it. Do not save it in Word 2003 format. Noted above. I saved the document using BBEEdit's TextWrangler and reinstalled the new document in the BOINC Data folder...and, voila!...Read Config File is generating an ever growing list of [task] entries in the Event Log. Then do Advanced -> Read Config File again and look in the Event Log to see if it read the file without error(s). Thanks so much for your help in troubleshooting that! My next question...now that this is running I see that it is doing an endless cycle of [task] result (WU#) checkpointed messages for each of the eight (8) SETI WUs every minute, on-the-minute and the log is quickly growing exceptionally long! Is this right? Thanks so much again! :) JG | |
| ID: 40409 · | |
|
Hi Dagorath, | |
| ID: 40411 · | |
|
Hi Dagorath, | |
| ID: 40417 · | |
|
BOINC writes the log to a file in the data directory, this happens automatically. That file's called stdoutdae.txt and has a maximum size of 2 megabyte. When it grows to beyond that size, BOINC renames stdoutdae.txt to stdoutdae.old, overwriting any such file that had the name before, and then starts a new stdoutdae.txt from fresh. | |
| ID: 40418 · | |
|
Hi Jord, | |
| ID: 40443 · | |
So I had set my preferences, both in BOINC Manager and online, to On multiprocessors, Use at most 4 processors with On Multiprocessors. use at most 100% of the processors selected. And for the first few days BOINC Manager used 4 processors only. That must have been a coincidence, since the "On multiprocessors, use at most 4 processors" preference is obsolete. The correct one to use if you want to use 4 out of 8 cores (either real or virtual) is: On multiprocessors, use at most 50% of the processors. If you have ever used the local preferences, you'll have to either continue using only them or clear them to return to the online ones, since the local preferences always take precedence. Gruß, Gundolf | |
| ID: 40448 · | |
|
Can you email me the file, please? I've sent you my email address in PM. | |
| ID: 40449 · | |
That must have been a coincidence, since the "On multiprocessors, use at most 4 processors" preference is obsolete. Actually, it isn't obsolete. It's still being used by BOINC 6. That preference sets the minimum amount of processors to use, while the Percentage preference will set the limit. So if your global_prefs.xml file contains <max_ncpus>2</max_ncpus> and your global_prefs_override.xml file contains <max_ncpus_pct>0.000000</max_ncpus_pct>, BOINC will still use 2 CPUs. ____________ Jord -BOINC FAQ Service -BOINC 7.0 FAQ Go, seize the day, wake up and say: This is an Extraordinary life! -- Asia, An Extraordinary Life | |
| ID: 40450 · | |
|
@ Gundolf... | |
| ID: 40466 · | |
Message boards : Questions and problems : (Waiting for GPU Memory) Status OSX
Copyright © 2013 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.