Re: 2.6.22 regression: thermal trip points

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <trenn@...>
Cc: Andi Kleen <andi@...>, Pavel Machek <pavel@...>, Alan Cox <alan@...>, Andrew Morton <akpm@...>, Knut Petersen <Knut_Petersen@...>, <linux-kernel@...>, <mjg59@...>
Date: Friday, August 3, 2007 - 2:59 pm

On Friday 03 August 2007 07:16, Thomas Renninger wrote:

I think if you are enamored with overriding trip points at SuSE,
that you should simply restore the original scheme as the "value add"
for SuSE kernels.  Seriously, I'm totally fine with that.

You should be aware, however, that (one of) the fundamental flaws
with that scheme, shared with what you describe above, is that the OS
can not actually change the trip points in the thermal sensor.
The sensor is going to trip at the temperature that _it_ thinks
the trip point is at -- not the trip point that you are letting
the user think it is at.  Ie. what is advertised as a trip-point
override actually defeats the entire concept of trip-points,
and it is mandatory that you enable periodic polling of the
current temperature to compare with your new thresholds
to work-around that.

This faking out the user, plus the fact that the BIOS does change
trip-points at run-time, made the original scheme fundamentally
unsound.  Further, I've not yet found a single system where use
of this scheme wasn't papering over some other problem.  For the
upstream kernel, I think it is more appropriate to expose and fix
the fundamental problems.  For distro kernels, I'm less concerned
if you hide bugs instead of fixing them.

We had quite a long discussion when I deleted the trip-point-override
scheme in -mm.  Then it rode through the entire 2.6.22 release cycle.
However, I have yet to see a single bug report filed that has shown
that Linux should be doing this, or something like it.  I'm hopeful
that Knut's or Adrian's will be the first -- but I'm still waiting.

-Len
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.22 regression: thermal trip points, Knut Petersen, (Thu Aug 2, 4:40 am)
Re: 2.6.22 regression: thermal trip points, Len Brown, (Thu Aug 2, 5:56 pm)
Re: 2.6.22 regression: thermal trip points, Knut Petersen, (Fri Aug 3, 8:53 am)
Re: 2.6.22 regression: thermal trip points, Len Brown, (Fri Aug 3, 2:30 pm)
Re: 2.6.22 regression: thermal trip points, Renato S. Yamane, (Fri Aug 3, 7:43 am)
Re: 2.6.22 regression: thermal trip points, Len Brown, (Fri Aug 3, 2:35 pm)
Re: 2.6.22 regression: thermal trip points, Andrew Morton, (Thu Aug 2, 4:52 am)
Re: 2.6.22 regression: thermal trip points, Andi Kleen, (Thu Aug 2, 6:48 am)
Re: 2.6.22 regression: thermal trip points, Pavel Machek, (Thu Aug 2, 11:55 am)
Re: 2.6.22 regression: thermal trip points, Alan Cox, (Thu Aug 2, 7:00 am)
Re: 2.6.22 regression: thermal trip points, Andi Kleen, (Thu Aug 2, 8:05 am)
Re: 2.6.22 regression: thermal trip points, Alan Cox, (Thu Aug 2, 9:04 am)
Re: 2.6.22 regression: thermal trip points, Andi Kleen, (Thu Aug 2, 9:16 am)
Re: 2.6.22 regression: thermal trip points, Pavel Machek, (Thu Aug 2, 11:57 am)
Re: 2.6.22 regression: thermal trip points, Andi Kleen, (Thu Aug 2, 2:38 pm)
Re: 2.6.22 regression: thermal trip points, Thomas Renninger, (Fri Aug 3, 7:16 am)
Re: 2.6.22 regression: thermal trip points, Len Brown, (Fri Aug 3, 2:59 pm)
Re: 2.6.22 regression: thermal trip points, Pavel Machek, (Mon Aug 6, 5:55 am)
Re: 2.6.22 regression: thermal trip points, Len Brown, (Tue Aug 7, 2:58 pm)
Re: 2.6.22 regression: thermal trip points, Pavel Machek, (Tue Aug 7, 5:49 pm)
Re: 2.6.22 regression: thermal trip points, Pavel Machek, (Mon Aug 13, 8:30 am)
Re: 2.6.22 regression: thermal trip points, Matthew Garrett, (Thu Aug 2, 2:40 pm)
Re: 2.6.22 regression: thermal trip points, Thomas Renninger, (Thu Aug 2, 5:42 am)
Re: 2.6.22 regression: thermal trip points, Knut Petersen, (Thu Aug 2, 7:32 am)
Re: 2.6.22 regression: thermal trip points, Krzysztof Halasa, (Thu Aug 2, 3:25 pm)
Re: 2.6.22 regression: thermal trip points, Pavel Machek, (Thu Aug 2, 12:07 pm)
Re: 2.6.22 regression: thermal trip points, Andi Kleen, (Thu Aug 2, 8:06 am)
Re: 2.6.22 regression: thermal trip points, Alan Cox, (Thu Aug 2, 9:06 am)
Re: 2.6.22 regression: thermal trip points, Adrian , (Thu Aug 2, 5:45 am)
Re: 2.6.22 regression: thermal trip points, Len Brown, (Thu Aug 2, 5:56 pm)
Re: 2.6.22 regression: thermal trip points, Thomas Renninger, (Thu Aug 2, 5:58 am)
Re: 2.6.22 regression: thermal trip points, Alan Cox, (Thu Aug 2, 7:02 am)
Re: 2.6.22 regression: thermal trip points, Matthew Garrett, (Thu Aug 2, 7:13 am)
Re: 2.6.22 regression: thermal trip points, Alan Cox, (Thu Aug 2, 7:59 am)
Re: 2.6.22 regression: thermal trip points, Matthew Garrett, (Thu Aug 2, 7:57 am)
Re: 2.6.22 regression: thermal trip points, Thomas Renninger, (Thu Aug 2, 8:06 am)
Re: 2.6.22 regression: thermal trip points, Matthew Garrett, (Thu Aug 2, 8:15 am)
Re: 2.6.22 regression: thermal trip points, Thomas Renninger, (Thu Aug 2, 8:35 am)
Re: 2.6.22 regression: thermal trip points, Matthew Garrett, (Thu Aug 2, 8:47 am)
Re: 2.6.22 regression: thermal trip points, Thomas Renninger, (Thu Aug 2, 7:45 am)
Re: 2.6.22 regression: thermal trip points, Matthew Garrett, (Thu Aug 2, 7:56 am)
Re: 2.6.22 regression: thermal trip points, Thomas Renninger, (Thu Aug 2, 8:42 am)
Re: 2.6.22 regression: thermal trip points, Matthew Garrett, (Thu Aug 2, 8:55 am)