From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 8 07:36:12 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DBFE16A41A for ; Mon, 8 Oct 2007 07:36:12 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 30F8813C480 for ; Mon, 8 Oct 2007 07:36:12 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 17109 invoked from network); 8 Oct 2007 02:36:11 -0500 Received: from 124-170-228-57.dyn.iinet.net.au (HELO localhost) (124.170.228.57) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Oct 2007 02:36:09 -0500 Date: Mon, 8 Oct 2007 17:36:04 +1000 From: Norberto Meijome To: FreeBSD Mobile ML Message-ID: <20071008173604.1e449ca2@meijome.net> In-Reply-To: <20071008172756.2aed69e7@meijome.net> References: <20071008172756.2aed69e7@meijome.net> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Management of Thermal X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 07:36:12 -0000 On Mon, 8 Oct 2007 17:27:56 +1000 Norberto Meijome 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.