public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [OT] CPU temperature control
@ 2001-08-24 15:47 Padraig Brady
  2001-08-24 16:06 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Padraig Brady @ 2001-08-24 15:47 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm using a C3 700MHz CPU underclocked to 466MHz (66MHz FSB),
and @ full load I'm getting the CPU to 63°C in a fanless 1U case.
What I would like is to throttle the CPU back X% if the temperature
exceeds say 50% which I can easily read using lm sensors.
So, what's the best way to do this? user space / kernel space??
Note the C3 has a suspend on halt (instruction) option which will
help things also.

cheers,
Padraig.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OT] CPU temperature control
  2001-08-24 15:47 [OT] CPU temperature control Padraig Brady
@ 2001-08-24 16:06 ` Dave Jones
  2001-08-24 16:47   ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2001-08-24 16:06 UTC (permalink / raw)
  To: Padraig Brady; +Cc: linux-kernel

On Fri, 24 Aug 2001, Padraig Brady wrote:

> I'm using a C3 700MHz CPU underclocked to 466MHz (66MHz FSB),
> and @ full load I'm getting the CPU to 63°C in a fanless 1U case.
> What I would like is to throttle the CPU back X% if the temperature
> exceeds say 50% which I can easily read using lm sensors.
> So, what's the best way to do this? user space / kernel space??
> Note the C3 has a suspend on halt (instruction) option which will
> help things also.

Russell King has been working on a architecture independant framework
for this kind of feature. I recently started work on VIA support for it.
After this weekend, my socket 370 motherboard should turn up and
I'll be able to test / finish the support for it.

You can find the code so far at..
cvs -d :pserver:cvs@pubcvs.arm.linux.org.uk:/mnt/src/cvsroot login
cvs -d :pserver:cvs@pubcvs.arm.linux.org.uk:/mnt/src/cvsroot co cpufreq

So far, there are several implementations in there, in various stages
of completion. The various x86 types need finishing, and it'll be
ready (as long as rmk has nothing else to add to it) for submission.

regards,

Dave.

-- 
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OT] CPU temperature control
  2001-08-24 16:06 ` Dave Jones
@ 2001-08-24 16:47   ` Russell King
  0 siblings, 0 replies; 3+ messages in thread
From: Russell King @ 2001-08-24 16:47 UTC (permalink / raw)
  To: Dave Jones; +Cc: Padraig Brady, linux-kernel

On Fri, Aug 24, 2001 at 06:06:00PM +0200, Dave Jones wrote:
> So far, there are several implementations in there, in various stages
> of completion. The various x86 types need finishing, and it'll be
> ready (as long as rmk has nothing else to add to it) for submission.

I don't have anything to add to the generic layer; it needs a little
cleanup to remove the "this is debug only" comments against the proc
interface.

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-24 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-24 15:47 [OT] CPU temperature control Padraig Brady
2001-08-24 16:06 ` Dave Jones
2001-08-24 16:47   ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox