You are not logged in.

#1 2007-08-10 05:52:09

AlmaMater
Member
Registered: 2007-02-28
Posts: 88

Want to scale Celeron M 380 frequency according to CPU temperature

Hi all dudes/ladies

This is my question, i have a Celeron M 380 (1.6 Ghz), the thing is that i want to be able to make instruccions to the CPU to reduce the frequency when certain CPU temperature is reached, im not interested in saving power, just in prevent my notebook to burn

Something like ermm

if CPUTEMP < 83 C  then  CPU_SCALE = 1600 mhz

If CPUTEMP >= 86 C

then

CPU_SCALE= 1000 mhz

If CPU_SCALE= 1000 mhz and CPUTEMP >= 88 C then CPU_SCALE= 700 mhz

if CPU_SCALE = 700 mhz and CPUTEMP >= 90 C then
Print (Your notebook is gonna melt damm it) and Exec POWEROFF

LOL i know i just made it that way so everyone can understand what i want, im obviusly not a programmer lol tongue

But anyways,  my interest is not powersaving,  is just prevent my notebook from melting

I dont know if is possible scaling a Celeron M whitout SpeedStep capabilities, i have read that u can whit p4-clockmod, but i dont think i would need the "powersaved" package,  i think i just would need a CPU SCALING app, and a nice Script having the idea of my super code upthere lol

Any Help is very aprecciated

smile

Last edited by AlmaMater (2007-08-10 05:52:58)

Offline

#2 2007-08-10 15:43:53

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: Want to scale Celeron M 380 frequency according to CPU temperature

Look at the package cpufreqd and its file /etc/cpufreqd.conf
You can have rules like this :

##
# Special Rules
##
# CPU Too hot!
[Rule]
name=CPU Too Hot
acpi_temperature=70-100
cpu_interval=70-100
profile=Performance Low
[/Rule]

# use performance mode if I'm watching a movie
# I don't care for batteries!
# But don't heat too much.
[Rule]
name=Movie Watcher
programs=xine,mplayer,gmplayer,kaffeine,gxine,kmplayer
battery_interval=0-100
acpi_temperature=0-60
cpu_interval=0-100
profile=Performance High
[/Rule]

Offline

#3 2007-08-10 15:52:18

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,950
Website

Re: Want to scale Celeron M 380 frequency according to CPU temperature

You can use p4-clockmod module and cpufre-set to set a certain frequency. But on my celeron there is no difference in temperature between running at 163MHz or 1300MHz.

Offline

#4 2007-08-10 18:06:35

AlmaMater
Member
Registered: 2007-02-28
Posts: 88

Re: Want to scale Celeron M 380 frequency according to CPU temperature

thanks for the answers, im trying cpufreqd

Pierce, yes, maybe using it will not really affect the temperature,  but yesterday, i took my laptop to a "hot" place, and i was seening the CPU temp, go to 92 C. till it frozed

At normal places, the CPU goes like to 83 C max,   so i want to try this in case i go to others "hot" places, and prevent it to burn, thats kind my main worry, thats why i olso ask if i can add a Rule to poweroff the laptop in case certain temperature is reached  smile

Thanks for the answers

Offline

Board footer

Powered by FluxBB