eFMer - BoincTasks and TThrottle forum

TThrottle For Windows => Beta Testing => Beta testing problems => Topic started by: book_wyrm on April 27, 2011, 01:43:05 AM

Title: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on April 27, 2011, 01:43:05 AM
I joined the Milkyway@Home project today it queued about 10 gpu tasks for my Nvidia 260GTX, driver 270.61 on Win7 64.
After the first task finished and second task started I noticed that the temp of my gpu was increasing way over the limit that I had set on TThrottle.
TThrottle was stating that it was throttling the gpu at 2%
The only solution I could find was to restart TThrottle. Even the general throttling in the rules tab had no effect.
After this second task finished, the same thing happened with the third task and so on. Since the tasks last just over 25mins, it would be a pain to manually restart TThrottle each time a task finishes.

At first I assumed that TThrottle wasn't aware of the first task finishing and the next starting, but the PID in TThrottle was the same as the PID in task manager and the task name was the same as BOINC's.
TThrottle works fine with GPUgrid on this PC
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: Pepo on April 27, 2011, 10:34:18 AM
Quote from: book_wyrm on April 27, 2011, 01:43:05 AM
TThrottle was stating that it was throttling the gpu at 2%
The only solution I could find was to restart TThrottle. [...] After this second task finished, the same thing happened with the third task and so on. Since the tasks last just over 25mins, it would be a pain to manually restart TThrottle each time a task finishes.
You did not state whether restarting TThrottle helped at all to lower the GPU usage and temperature?

Additionally, it could also be possible, that even these 2% of available CPU time is enough for the application, to utilize the GPU that much. I can see similar effects with Collatz and PrimeGrid. Even with very strong throttling, the GPU is still being loaded pretty much.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on April 27, 2011, 12:04:57 PM
Restarting TThrottle does drop the temperature down to the limit I've set with gpu utilization at about 55% or so for each Milkyway@Home gpu task.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: Pepo on April 27, 2011, 12:10:40 PM
Quote from: book_wyrm on April 27, 2011, 01:43:05 AM
I joined the Milkyway@Home project today it queued about 10 gpu tasks for my Nvidia 260GTX, driver 270.61 on Win7 64.
I've read some negative quotes on v.270 on BOINC fora, but am not sure, whether it might be relevant - rather not I suppose. (I do not want to suggest you to downgrade and try. I'm just waiting on another version.)
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on April 27, 2011, 07:34:43 PM
Are you sure there isn't any other program that may cause this.
You can try the following, go to the BOINC tab and remove the check at "Connect with BOINC client"
See if the GPU entry is different. Other programs, different PID.

And I would like the BoincTasks or BOINC Manager entry for that task. I like to see the Plan Class an Use.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on April 27, 2011, 09:49:46 PM
Disabling the "Connect with BOINC client" seems to have fixed my problem.
After 1 Milkyway@home GPU task finishes the PID changes to the application of the next task.

The names of the tasks that are causing trouble all start with:
de_separation_10_3s_fix20_1_XXXXXXX_XXXXXXXXXX_X such as de_separation_10_3s_fix20_1_1000505_1303917207_1
de_separation_13_3s_free_1_XXXXXXX_XXXXXXXXXX_X such as de_separation_13_3s_free_1_1164154_1303938523_0

I seem to get about a dozen tasks from Milkyway at a time so I'll keep checking each time it switches task to see if the temp increases too much.
I've been using TThrottle with GPUGrid for the past 5 months without problems so I'd be interested to see whether this is a BOINC, Milkyway@Home or TThrottle issue.

Lastly, what do you mean by "Plan Class an Use"?
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on April 27, 2011, 10:46:30 PM
Quote from: book_wyrm on April 27, 2011, 09:49:46 PM
Disabling the "Connect with BOINC client" seems to have fixed my problem.
Lastly, what do you mean by "Plan Class an Use"?
(Plan Class)  = (cuda)                                                                                                                                        Use = (0.04C + 1NV)
SETI@home   6.08 setiathome_enhanced (cuda)   22fe11ac.786.14791.14.10.242_1   11:51:45 (00:09:48)   1.38   100.000   -   30-05-2011 15:18   0.04C + 1NV         Ready to report   
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on April 27, 2011, 11:00:58 PM
Another Milkyway@Home task has finished for me and everything looks normal when the next task started.
This is with "Connect with BOINC Client" turned off.

plan class=(cuda_opencl) and Use=0.05C+1NV  for these tasks
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on April 27, 2011, 11:11:13 PM
Quote from: book_wyrm on April 27, 2011, 11:00:58 PM
plan class=(cuda_opencl) and Use=0.05C+1NV  for these tasks
Thanks I will investigate.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on April 27, 2011, 11:40:05 PM
Quote from: book_wyrm on April 27, 2011, 11:00:58 PM
plan class=(cuda_opencl) and Use=0.05C+1NV  for these tasks
When possible, give me the line of the running tasks in the first TThrottle tab like:
CPU:0, GPU:1, PID:4740 (5)   Slot:0   http://setiathome.berkeley.edu/   22fe11ac.4712.14791.15.10.218
Gpu: lunatics_x32f_win32_cuda30_preview.exe, PID: 4740, Threads: 5

Please add 2 entries with connect with "BOINC with client" checked and unchecked.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on April 28, 2011, 01:23:07 AM
Just some clarification. Do you want 2 entries of separate tasks with "Connect with BOINC Client" off and 2 entries with it on?
Also do you want both entries to come from the same "instance" of TThrottle or restart between checking the "Connect with BOINC Client" setting?

Just blindly copying your example I have:
CPU:0, GPU:1, PID:4592 (5)   Slot:3   http://milkyway.cs.rpi.edu/milkyway/   de_separation_13_3s_free_1_1164206_1303938523
Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 4592, Threads: 5
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on April 28, 2011, 03:06:26 AM
Quote from: book_wyrm on April 28, 2011, 01:23:07 AM
Just some clarification. Do you want 2 entries of separate tasks with "Connect with BOINC Client" off and 2 entries with it on?
Also do you want both entries to come from the same "instance" of TThrottle or restart between checking the "Connect with BOINC Client" setting?

Just blindly copying your example I have:
CPU:0, GPU:1, PID:4592 (5)   Slot:3   http://milkyway.cs.rpi.edu/milkyway/   de_separation_13_3s_free_1_1164206_1303938523
Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 4592, Threads: 5
Rather the one that isn't throttled. ;D, So I can see what's going on.
So with the check in place.
Next I want the entry for the GPU with the check still in place.
Then remove the check and give me the entry for the same task so I can compare them.
The sample above looks perfectly OK to me. Same PID same nr of Threads.
But it can take to up to a minute or so for the task to be recognized.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on April 28, 2011, 12:54:41 PM
CPU:0, GPU:1, PID:2196 (5)   Slot:3   http://milkyway.cs.rpi.edu/milkyway/   de_separation_13_3s_free_1_1164186_1303938523
Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 2196, Threads: 5

GPU was overheating quite a bit on this task at about 83C. GPU was using 2%. After I turned "Connect with BOINC Client" off it didn't change temperature at all.
Restart of TThrottle was needed to reduce temperature.

Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 07, 2011, 03:20:35 PM
Milkyway is my backup project so I've not had an WU from it for a while

The problem still persists, my GPU still overheats until I restart TThrottle. Turning off 'Connect with BOINC client' has no effect anymore so I need to restart TThrottle no matter what settings I have on it.

Here's another task that's overheating:

Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 4292, Threads: 5
CPU:0, GPU:1, PID:4292 (5)   Slot:1   http://milkyway.cs.rpi.edu/milkyway/   de_separation_10_3s_fix20_1_114925_1304776310

I can now view my tasks on their website and it turns out that one of my tasks took about 18.88 seconds CPU time while it took 3,840.49 in real time with TThrottle running with GPU usage at about 33%
Is this relevant?
Previously, Milkyway was deleting task entries from my account information on their website as they were completed so I could only see what tasks I had running but not tasks that had been completed, until now.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 07, 2011, 04:01:40 PM
The task in my last post took 3,131.24 seconds real time and 15.49 CPU time

CPU:0, GPU:1, PID:3332 (5)   Slot:1   http://milkyway.cs.rpi.edu/milkyway/   de_separation_10_3s_fix20_1_114924_1304776310
Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 3332, Threads: 5
This task initially had "Connect with BOINC client" ticked
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 07, 2011, 05:01:01 PM
The task for the post above took 3,414.82 seconds real time and 25.62 seconds CPU time

My current task at the moment is overheating again.....
Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 5020, Threads: 5
CPU:0, GPU:1, PID:5020 (5)   Slot:1   http://milkyway.cs.rpi.edu/milkyway/   de_separation_10_3s_fix20_1_114912_1304776310
'Connect with BOINC client' was off this time when the task switched
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 07, 2011, 05:53:18 PM
WU in last post took 3,181.23 seconds in real time and 16.75 seconds CPU time

Current WU:
CPU:0, GPU:1, PID:3776 (5)   Slot:1   http://milkyway.cs.rpi.edu/milkyway/   de_separation_10_3s_fix20_1_114911_1304776310
Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 3776, Threads: 5
'Connect with BOINC client' was checked when task switched. Still needs TThrottle to restart to throttle temps.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 07, 2011, 06:51:24 PM
WU in last post took 3,519.92 seconds in real time and 24.69 in CPU time.

Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 4068, Threads: 5
CPU:0, GPU:1, PID:4068 (5)   Slot:1   http://milkyway.cs.rpi.edu/milkyway/   de_separation_10_3s_fix20_1_114904_1304776310
'Connect to BOINC task' was unchecked when the tasks switched.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 07, 2011, 07:05:46 PM
The task in the last post had a compute error but it may be of interest to note that after running 721.57 seconds in real time the task only required 6.04 seconds in CPU time.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 07, 2011, 08:00:03 PM
CPU:0, GPU:1, PID:4072 (5)   Slot:1   http://milkyway.cs.rpi.edu/milkyway/   de_separation_10_3s_fix20_1_114888_1304776310
Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 4072, Threads: 5

'Connect with BOINC client' was checked when task switched
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 07, 2011, 08:47:00 PM
Quote from: book_wyrm on May 07, 2011, 04:01:40 PM
The task in my last post took 3,131.24 seconds real time and 15.49 CPU time

CPU:0, GPU:1, PID:3332 (5)   Slot:1   http://milkyway.cs.rpi.edu/milkyway/   de_separation_10_3s_fix20_1_114924_1304776310
Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 3332, Threads: 5
This task initially had "Connect with BOINC client" ticked
In a week or so, I'm back home, so I will do some MW testing.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 07, 2011, 08:59:27 PM
Shall I stop posting overheating task information until you get back? Do you have enough information now? Let me know if you need anything else.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 07, 2011, 09:03:04 PM
Quote from: book_wyrm on May 07, 2011, 04:01:40 PM
The task in my last post took 3,131.24 seconds real time and 15.49 CPU time

CPU:0, GPU:1, PID:3332 (5)   Slot:1   http://milkyway.cs.rpi.edu/milkyway/   de_separation_10_3s_fix20_1_114924_1304776310
Gpu: milkyway_0.52_windows_intelx86__cuda_opencl.exe, PID: 3332, Threads: 5
This task initially had "Connect with BOINC client" ticked
Can you give me the TThrottle log, just after startup, so I can see what system you are running.
Are you running a regular GPU task on Milkyway? So just as it is, no special versions.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 07, 2011, 10:30:05 PM
I've PMed the log to you. It's after a TThrottle restart after a high GPU temp.
I'm using the stock cuda application from Milkyway.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 07, 2011, 11:48:02 PM
Quote from: book_wyrm on May 07, 2011, 10:30:05 PM
I've PMed the log to you. It's after a TThrottle restart after a high GPU temp.
I'm using the stock cuda application from Milkyway.
One last question, when you snooze the GPU only, what is the temperature, before and after the snoozing (wait for a minute or 2).
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 08, 2011, 12:04:11 AM
It dropped to 60 when I snooze the GPU. I've set TThrottle to have a max temp of 75.

Edit: After unsnoozing the GPU the MW task that was running restarted and gpu started to overheat again. I had to restart TThrottle as usual.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 08, 2011, 12:14:26 AM
Quote from: book_wyrm on May 08, 2011, 12:04:11 AM
It dropped to 60 when I snooze the GPU. I've set TThrottle to have a max temp of 75.

Edit: After unsnoozing the GPU the MW task that was running restarted and gpu started to overheat again. I had to restart TThrottle as usual.
I know enough for now, thanks.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 08, 2011, 12:17:06 AM
oeps one more. the BOINC version.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 08, 2011, 12:22:39 AM
The stable version 6.10.60
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 08, 2011, 07:41:29 PM
Quote from: book_wyrm on May 08, 2011, 12:22:39 AM
The stable version 6.10.60
Can you try running TThrottle as Administrator.
With the right mouse key run as... maybe it's an access problem.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 12, 2011, 04:36:12 PM
Tried a few Milkyway WU. It seems running in Admin mode has no effect. I've tried a few units with 'connect with boinc client' checked and a few units with it unchecked.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 17, 2011, 07:15:39 AM
I tested everything.... and it works ok. I can't find anything wrong.
You may want to check 3.60, when it's released, maybe something I did made a difference.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 21, 2011, 02:35:30 PM
I've tried the new 3.60 version with 2 milkyway tasks and the same problems still persist. I think it could just simply be a combination of my hardware, software and milkyway@home if it doesn't seem to be happening to anyone else. I can't see anyone else on the MW forums having this trouble. I'm currently trying Einstein@home and so far it seems that TThrottle is working properly.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 21, 2011, 04:08:13 PM
Quote from: book_wyrm on May 21, 2011, 02:35:30 PM
I've tried the new 3.60 version with 2 milkyway tasks and the same problems still persist. I think it could just simply be a combination of my hardware, software and milkyway@home if it doesn't seem to be happening to anyone else. I can't see anyone else on the MW forums having this trouble. I'm currently trying Einstein@home and so far it seems that TThrottle is working properly.
What I'm working on right now is moving the regulator to the driver. Lots of interesting work ;D, this should also eliminate any access problems in Win 7.
Hopefully this will solve this problem as well.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 21, 2011, 06:07:14 PM
I'll look forward to the future versions. I'll make sure to test them to see whether the milkyway problem still affects me or not.
Also, do you think that this is specifically a TThrottle problem? What are the chances of this being a milkyway problem? I have now gone through 3 einstein@home tasks and temperature control works perfectly fine with those as well.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 22, 2011, 07:17:55 AM
Quote from: book_wyrm on May 21, 2011, 06:07:14 PM
I'll look forward to the future versions. I'll make sure to test them to see whether the milkyway problem still affects me or not.
Also, do you think that this is specifically a TThrottle problem? What are the chances of this being a milkyway problem? I have now gone through 3 einstein@home tasks and temperature control works perfectly fine with those as well.
I have no idea what's the problem.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: wicked on May 25, 2011, 11:53:27 AM
Quote from: fred on May 21, 2011, 04:08:13 PM
What I'm working on right now is moving the regulator to the driver. Lots of interesting work ;D, this should also eliminate any access problems in Win 7.

More code in kernel mode of the driver? Sounds scary.. you need to be extra careful for not introducing any bugs when coding in that area.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 25, 2011, 12:00:19 PM
Quote from: wicked on May 25, 2011, 11:53:27 AM
Quote from: fred on May 21, 2011, 04:08:13 PM
What I'm working on right now is moving the regulator to the driver. Lots of interesting work ;D, this should also eliminate any access problems in Win 7.
More code in kernel mode of the driver? Sounds scary.. you need to be extra careful for not introducing any bugs when coding in that area.
Now you tell me, had only 5 BSOD, due to some minor bug. ;D
Most of the problems are due to a lack of official documentation.

Took some old fashion digging to find the right approach, as it's completely different from the normal Windows way.
And I'm doing things a normal driver isn't doing, like accessing user processes.
But a kernel driver is a couple of steps above Admin so you are allowed to do almost anything. But when you do something wrong, only a small mistake is devastating.

I'm not testing the first version 4.0 on a couple of my machines to see if the access problems are indeed gone as it should be.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 26, 2011, 09:58:56 AM
V 4.00 should solve all access problems
Try this on Vista and Win 7 ONLY.

http://www.efmer.eu/forum_tt/index.php?topic=725 (http://www.efmer.eu/forum_tt/index.php?topic=725)
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: book_wyrm on May 26, 2011, 04:31:34 PM
I've just tested v4.00 on 2 Milkyway GPU tasks and it's worked flawlessly with 'Connect with BOINC Client' checked.
I think you've solved my problem, thank you :D
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on May 26, 2011, 04:34:00 PM
Quote from: book_wyrm on May 26, 2011, 04:31:34 PM
I've just tested v4.00 on 2 Milkyway GPU tasks and it's worked flawlessly with 'Connect with BOINC Client' checked.
I think you've solved my problem, thank you :D
It was something that needed to be done, but I postponed it every time, because I had to write a lot of new driver code.
Glad that this problem is finally solved.
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: wicked on June 17, 2011, 07:03:26 AM
Quote from: fred on May 25, 2011, 12:00:19 PM
Now you tell me, had only 5 BSOD, due to some minor bug. ;D

Hehe, so you know well why I was scared. :) I just did try v4.20 on my main system and it seems to be stable so far. I had TThrottle uninstalled for a while to see if it was causing my BSODs after hibernation but turns out it didn't. Must be that known bug on Vista and 7 where it crashes because BIOS uses some restricted memory area during sleep. :(
Title: Re: TThrottle is not throttling Milkyway@Home gpu tasks on 3.52
Post by: fred on June 17, 2011, 07:37:41 AM
Quote from: wicked on June 17, 2011, 07:03:26 AM
Hehe, so you know well why I was scared. :) I just did try v4.20 on my main system and it seems to be stable so far. I had TThrottle uninstalled for a while to see if it was causing my BSODs after hibernation but turns out it didn't. Must be that known bug on Vista and 7 where it crashes because BIOS uses some restricted memory area during sleep. :(
Glad you didn't find any problems. The driver seems to be running pretty good, it seems the regulation overhead is even down a bit.