Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2007 17:36:04 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        FreeBSD Mobile ML <freebsd-mobile@freebsd.org>
Subject:   Re: Management of Thermal
Message-ID:  <20071008173604.1e449ca2@meijome.net>
In-Reply-To: <20071008172756.2aed69e7@meijome.net>

index | next in thread | previous in thread | raw e-mail

On Mon, 8 Oct 2007 17:27:56 +1000
Norberto Meijome <freebsd@meijome.net> wrote:

> Hello everyone,
> is there any documentation / resource on how to configure properly the
> different methods for management of power/thermal related components/services?
> 
> eg,
> acpi (acpi_thermal), and all the knobs via sysctl
> powerd
> cpufreq
> 
> I'm asking before i've been getting very high temperature (99 degrees, which
> matches my CRIT value ,on a Thinkpad z60m, Pentium M 2 GHz), when building
> ports / world.
> 
> I am not sure whether / how to tell it to use EST properly.
> 
> I can't feel the fans working really hard at all (maybe it's the way it's
> supposed
> to
> work? ) dev.acpi_ibm.0.fan_speed does report over 3K RPM ... 
> 
> Annoyingly, it will drop down to 100 Mhz  - I suppose it is
> cpufreq kicking in trying to control the temperature, but it's completely
> unusable. (yes, i've forced it to not less than 932 Mhz, but it still warms up
> too much).
> 
> I played a bit with the knobs for *thermal*, but i am not entirely sure i'm
> improving things... in my sysctl i had (before disabling it all)
> 
> # Lowest CPU frequency in MHz to offer to users
> debug.cpufreq.lowest=932
> 
> 
> ### trying to finetune the action of the thermal zones
> ## man 4 acpi_thermal
> ## for details
> ## Defaults:
> #hw.acpi.thermal.min_runtime: 0
> #hw.acpi.thermal.polling_rate: 10
> #hw.acpi.thermal.user_override: 0
> #hw.acpi.thermal.tz0.temperature: 91.0C
> #hw.acpi.thermal.tz0.active: -1
> #hw.acpi.thermal.tz0.passive_cooling: 0
> #hw.acpi.thermal.tz0.thermal_flags: 0
> #hw.acpi.thermal.tz0._PSV: 94.5C
> #hw.acpi.thermal.tz0._HOT: -1
> #hw.acpi.thermal.tz0._CRT: 99.0C
> #hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
> ## Custom values
> hw.acpi.thermal.user_override=1
> hw.acpi.thermal.min_runtime=10
> hw.acpi.thermal.polling_rate=5
> hw.acpi.thermal.tz0.active=85C
> hw.acpi.thermal.tz0._PSV=90C
> 
> Any help / pointers would be greatly appreciated...

Some more info :

$ kldstat
Id Refs Address    Size     Name
 1   34 0xc0400000 4c3d24   kernel
 2    1 0xc08c4000 836c     linprocfs.ko
 3    3 0xc08cd000 21ebc    linux.ko
 4    1 0xc08ef000 135e0    snd_hda.ko
 5    2 0xc0903000 68e48    sound.ko
 6    2 0xc096c000 17920    agp.ko
 7    2 0xc0984000 666a8    acpi.ko
 8    1 0xc09eb000 4c4c     acpi_ibm.ko
 9    1 0xc09f0000 b668     cpufreq.ko
10    1 0xc09fc000 1d498    kqemu.ko
11    1 0xc0a1a000 22140    radeon.ko
12    2 0xc0a3d000 10c68    drm.ko
13    1 0xc5d86000 c000     ipfw.ko
14    1 0xc5e93000 7000     aio.ko
15    1 0xc9fbd000 2000     rtc.ko

Powerd is enabled.

I am currently doing not much at all (listening to music stream, load of  0.24, 0.45, 0.69) and tz0  = 78C. it drops down a lot more when running on batteries only

B


_________________________
{Beto|Norberto|Numard} Meijome

Lack of planning on your part does not constitute an emergency on ours.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071008173604.1e449ca2>