From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 31 01:52:00 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 B3B9216A420 for ; Tue, 31 Jul 2007 01:52:00 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 899EA13C45D for ; Tue, 31 Jul 2007 01:52:00 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 22231 invoked from network); 31 Jul 2007 01:25:20 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 31 Jul 2007 01:25:20 -0000 Message-ID: <46AE8F78.1060203@root.org> Date: Mon, 30 Jul 2007 18:25:12 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.4 (X11/20070620) MIME-Version: 1.0 To: Hajimu UMEMOTO References: <46AA0491.5000203@gahr.ch> <46ADAF5B.6050602@gahr.ch> <20070730180355.GA7355@rot26.obsecurity.org> <46AE58B5.3080506@gahr.ch> In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 31 Jul 2007 01:56:32 +0000 Cc: acpi@freebsd.org, freebsd-hackers@freebsd.org, Pietro Cerutti 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: Tue, 31 Jul 2007 01:52:00 -0000 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. -Nate