From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 2 04:50:15 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4258916A419; Thu, 2 Aug 2007 04:50:15 +0000 (UTC) (envelope-from SRS0=4a0cb565816d8f22be5eec8a588eb547e0885b96=414=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id 51E8413C465; Thu, 2 Aug 2007 04:50:12 +0000 (UTC) (envelope-from SRS0=4a0cb565816d8f22be5eec8a588eb547e0885b96=414=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id HMA95610; Wed, 01 Aug 2007 21:50:10 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 0A6B045047; Wed, 1 Aug 2007 21:50:09 -0700 (PDT) X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Julian Elischer In-Reply-To: Your message of "Wed, 01 Aug 2007 21:17:29 PDT." <46B15AD9.60406@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1186030209_19060P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 01 Aug 2007 21:50:09 -0700 From: "Kevin Oberman" Message-Id: <20070802045009.0A6B045047@ptavv.es.net> X-Mailman-Approved-At: Thu, 02 Aug 2007 11:21:08 +0000 Cc: acpi@freebsd.org, freebsd-hackers@freebsd.org, Garrett Cooper , ume@freebsd.org, gahr@gahr.ch Subject: Re: [patch] enhance powerd(8) to handle max temperature X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 04:50:15 -0000 --==_Exmh_1186030209_19060P Content-Type: text/plain; charset=us-ascii > > Garrett Cooper wrote: > >> M. Warner Losh wrote: > >>> In message: <46AE8F78.1060203@root.org> > >>> Nate Lawson writes: > >>> : Hajimu UMEMOTO wrote: > >>> : >>>>>> On Mon, 30 Jul 2007 23:31:33 +0200 > >>> : >>>>>> Pietro Cerutti said: > >>> : > gahr> My patch is really just a first draft that I wrote in order > >>> to have > >>> : > gahr> feedbacks on the general idea to implement a temperature > >>> controlling > >>> : > gahr> system inside powerd, and doesn't implement hysteresis as > >>> you noted, and > >>> : > gahr> your feedback is that it's not a good idea, which I respect. > >>> : > : > It is rather backward, IMHO. I did implement a passive cooling > >>> : > feature as an enhancement of powerd(8) like you did, during initial > >>> : > phases. Then, I implemented it in our kernel as a result. > >>> : : I'll take a look at your patch. Umemoto-san is right in that you > >>> really > >>> : want the kernel to control cooling. What happens if powerd dies/hangs > >>> : and your system burns up? Passive cooling is often a last resort to > >>> : keep the system from overheating. > >>> > >>> I keep getting the system shutting down on my HP by FreeBSD because > >>> the temperature exceeds the _CRT value. Maybe there's something wrong > >>> with my values, since it happens a lot: > >>> > >>> hw.acpi.thermal.min_runtime: 0 > >>> hw.acpi.thermal.polling_rate: 10 > >>> hw.acpi.thermal.user_override: 0 > >>> hw.acpi.thermal.tz0.temperature: 0.0C > >>> hw.acpi.thermal.tz0.active: -1 > >>> hw.acpi.thermal.tz0.passive_cooling: 1 > >>> hw.acpi.thermal.tz0.thermal_flags: 0 > >>> hw.acpi.thermal.tz0._PSV: 90.0C > >>> hw.acpi.thermal.tz0._HOT: -1 > >>> hw.acpi.thermal.tz0._CRT: 94.0C > >>> hw.acpi.thermal.tz0._ACx: 40.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 > >>> > >>> Note: temperature is always 0.0C. > >>> > >>> What can I do to help my situation, if I really want the kernel doing > >>> the cooling? > >>> > >>> Warner > >>> > >> > >> Wow, something's really wrong with those calculated temperatures. At > >> that value most of the plastic and weaker circuitry should have fused > >> together =\. > > > > It would be interesting to see what the values are just after booting, > > or even earlier if you can get the bios to give temperatures (some MBs > > have that possibility) Not really. My ThinkPad shows even higher values and I am convinced that they are correct: hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 55.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 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 These are correct. During heavy compute use, I have seen my laptop CPU at 86C. Nothing melts. According to the other five sensors, nothing ouside of the CPU is anywhere near that hot. (It does get hot enough under the heat pipes and sink to be very uncomfortable when used as a literal laptop.) The CPU temperature is measured by a junction in the chip and it is the hottest point in the machine (unless you have a hot GPU). The days of sensors on the mobo that show an external temp are pretty much over as all recent AMD and Intel chips have internal sensors. If you check the spec sheets, many recent chips are rated for operating at internal temps of 100C and higher. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1186030209_19060P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFGsWKBkn3rs5h7N1ERAnbhAJ94mMCqYNxn6ri58Gid74e+JPS+EACgqhBq LZBAaIomMGA++VmiOv52dwE= =dCnc -----END PGP SIGNATURE----- --==_Exmh_1186030209_19060P--