Astropulse ATI not stopping on PC use

Questions and Answers : GPU applications : Astropulse ATI not stopping on PC use
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3

AuthorMessage
Profile Squish
Volunteer tester

Send message
Joined: 20 Jun 01
Posts: 23
Credit: 14,017,693
RAC: 15
New Zealand
Message 1366554 - Posted: 10 May 2013, 23:37:11 UTC - in response to Message 1366551.  

ok.. thanks for the help..
ID: 1366554 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1366555 - Posted: 10 May 2013, 23:40:18 UTC - in response to Message 1366554.  

ok.. thanks for the help..

No probs. We lose ~2 days though in initial phase. Eric was not aware of app's way to check for exit and I was not aware about this thread :)

Will return back if some another flag should be checked, stay subscribed on this thread.

SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1366555 · Report as offensive
Profile Squish
Volunteer tester

Send message
Joined: 20 Jun 01
Posts: 23
Credit: 14,017,693
RAC: 15
New Zealand
Message 1366558 - Posted: 10 May 2013, 23:46:47 UTC - in response to Message 1366555.  

will do...
ID: 1366558 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1366714 - Posted: 11 May 2013, 10:31:20 UTC

Did not get any definite response from BOINC devs still, but lets try some "workaround". There is another flag that name points to it relevance.
I will add it to monitored ones. Maybe this will fix issue.
Await new build shortly.

SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1366714 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1366726 - Posted: 11 May 2013, 11:27:42 UTC
Last modified: 11 May 2013, 11:28:00 UTC

Here is the new build that maybe has workaround for suspending issue: https://dl.dropboxusercontent.com/u/60381958/MB7_win_x86_SSE_OpenCL_ATi_HD5_r1840.7z
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1366726 · Report as offensive
Profile Squish
Volunteer tester

Send message
Joined: 20 Jun 01
Posts: 23
Credit: 14,017,693
RAC: 15
New Zealand
Message 1366956 - Posted: 12 May 2013, 0:30:14 UTC - in response to Message 1366726.  

no luck with that either...
ID: 1366956 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1367026 - Posted: 12 May 2013, 7:07:27 UTC - in response to Message 1366956.  

no luck with that either...

Ok, here is even another one.
What you could get with this new build: maybe app will not exit (process will remain in task manager list), but it will consume almost no CPU and GPU. Please check if it's the case or app still making progress and uses CPU/GPU resources when it should not.

https://dl.dropboxusercontent.com/u/60381958/MB7_win_x86_SSE_OpenCL_ATi_HD5_r1843.7z
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1367026 · Report as offensive
Profile Squish
Volunteer tester

Send message
Joined: 20 Jun 01
Posts: 23
Credit: 14,017,693
RAC: 15
New Zealand
Message 1367051 - Posted: 12 May 2013, 8:53:22 UTC - in response to Message 1367026.  

Awesome does as you said.. I think once it quit properly all the other times I tested it stopped processing but stayed in memory...
ID: 1367051 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1367076 - Posted: 12 May 2013, 11:28:12 UTC - in response to Message 1367051.  

Awesome does as you said.. I think once it quit properly all the other times I tested it stopped processing but stayed in memory...

Just as I feared... I fixed another one issue with suspending - app did not stop while BOINC did benchmark. It leaves app in memory while doing this. So the fix was "to stop execution but do not exit".
That's what app does. But in your case full exit is more desired indeed.
Unfortunately, there is no known for me way to distinguish between BOINC suspend commands for those 2 cases. I believe that in your case BOINC behaves wrong though. It should set quit request flag but doesn't. It set only suspend flag and app obeys.
I think in such semi-suspended way it should interfere with your daily work much less anyway. if not worth to rise this issue on BOINC forums again.

SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1367076 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1377402 - Posted: 6 Jun 2013, 11:25:22 UTC

In the end it was a BOINC API problem; It does require that new science applications be built.

API: fix bug involving suspend and critical sections.

Old: if the timer thread gets a <suspend> message while we're in a critical section, it sets a "suspend_request" flag.
The timer then periodically (10X/sec) checks whether suspend_request is set and we're no longer in a critical section; if so it suspends the worker thread.

Problem (pointed out by Oliver Bock): this doesn't work if the worker thread is almost always in a critical section (as is the case for GPU apps, which treat GPU kernels as critical sections). The app never gets suspended.

New:
1) boinc_end_critical_section() checks suspend_request; if set, it calls suspend_activities()
2) On Unix, if suspend_activities() is called from the worker thread, it calls sleep() in a loop until the suspension is over. (Note: pthreads has no suspend/resume).
3) Add a mutex to protect the data structures shared between the timer and worker threads.

ID: 1377402 · Report as offensive
Profile Squish
Volunteer tester

Send message
Joined: 20 Jun 01
Posts: 23
Credit: 14,017,693
RAC: 15
New Zealand
Message 1377782 - Posted: 7 Jun 2013, 4:24:24 UTC - in response to Message 1377402.  

thanks for the update... its good to hear something has happened...
interestingly sometimes my GPU apps exit correctly.. so I guess the info sometimes gets through...
ID: 1377782 · Report as offensive
Profile Hoemaco

Send message
Joined: 12 Jun 06
Posts: 3
Credit: 81,914
RAC: 0
Hungary
Message 1377916 - Posted: 7 Jun 2013, 9:17:33 UTC - in response to Message 1377402.  

In the end it was a BOINC API problem; It does require that new science applications be built.


So now is it fixed or not? I downloaded the Boinc client just a few days ago and have this problem. The previous version didn't have it. The previous post has files for ATI (and I have Nvidia).
ID: 1377916 · Report as offensive
Profile Gatekeeper
Avatar

Send message
Joined: 14 Jul 04
Posts: 887
Credit: 176,479,616
RAC: 0
United States
Message 1378274 - Posted: 7 Jun 2013, 20:50:18 UTC - in response to Message 1377916.  

In the end it was a BOINC API problem; It does require that new science applications be built.


So now is it fixed or not? I downloaded the Boinc client just a few days ago and have this problem. The previous version didn't have it. The previous post has files for ATI (and I have Nvidia).


AFAIK, the problem in this thread involves ATI cards only, not NVIDIA. From your task list, I can see you're trashing v7 GPU units with a 226 error (too many exits). I would think this is a totally different situation. For one thing, your NVIDIA driver is really old, but then, the 9500 is an older card. You might want to update the driver first, and see if that corrects the errors. I am not familiar enough with the 226 error to offer any ideas about it otherwise.
ID: 1378274 · Report as offensive
Profile Hoemaco

Send message
Joined: 12 Jun 06
Posts: 3
Credit: 81,914
RAC: 0
Hungary
Message 1378524 - Posted: 8 Jun 2013, 9:01:17 UTC - in response to Message 1377916.  

Boinc manager is 7.0.64, the newest.
Don't know how to update astropulse (it should do it automatically).
Astropulse says Opencl_Nvidia_100 version.
Boinc manager says Setiathome and Astropulse are suspended because cpu is in use, but still 50% cpu time. Though not always..
ID: 1378524 · Report as offensive
Profile Hoemaco

Send message
Joined: 12 Jun 06
Posts: 3
Credit: 81,914
RAC: 0
Hungary
Message 1378525 - Posted: 8 Jun 2013, 9:04:58 UTC - in response to Message 1378274.  
Last modified: 8 Jun 2013, 9:07:57 UTC

Oh, thanks, didn't notice the ATI at the top of thread :)
So maybe I could try shutting down the GPU totally in the BOINC.
Except I probably should find a non-gpu using version of Astropulse
and don't yet know how to do that...
(Though still don't understand why it should behave like this)
ID: 1378525 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1378526 - Posted: 8 Jun 2013, 9:20:25 UTC - in response to Message 1378525.  
Last modified: 8 Jun 2013, 9:21:06 UTC

It should not. It's bug in BOINC API (damaging NV OpenCL app just as OpenCL Ati app). To fix this bug 1) API should be corrected (not sure if it's the case already)
2) new BOINC libs should be generated
3) SETI apps should be re-linked vs this new libraries.

I'm inclined to do 2) and 3) only after being sure 1) is really done. Awaiting reports from Einstein OpenCL team.
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1378526 · Report as offensive
Previous · 1 · 2 · 3

Questions and Answers : GPU applications : Astropulse ATI not stopping on PC use


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.