From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 30 09:28:46 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 E2EC416A418 for ; Mon, 30 Jul 2007 09:28:46 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 79FEF13C483 for ; Mon, 30 Jul 2007 09:28:46 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 85-218-3-50.dclient.lsne.ch ([85.218.3.50] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IFRYT-0004rx-0T; Mon, 30 Jul 2007 11:28:45 +0200 Message-ID: <46ADAF5B.6050602@gahr.ch> Date: Mon, 30 Jul 2007 11:28:59 +0200 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: Hajimu UMEMOTO , freebsd-hackers@freebsd.org References: <46AA0491.5000203@gahr.ch> In-Reply-To: X-Enigmail-Version: 0.95.2 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigA52109AB0461A0E96C1061A2" X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: 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: Mon, 30 Jul 2007 09:28:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA52109AB0461A0E96C1061A2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hajimu UMEMOTO wrote: > Hi, >=20 >>>>>> On Fri, 27 Jul 2007 16:43:29 +0200 >>>>>> Pietro Cerutti said: >=20 > gahr> Hi list, > gahr> here is a patch to allow powerd(8) accept a "-t tval" option to s= et a > gahr> temperature limit above which performance should be decreased. > gahr> It's a first draft, and I identified the following problems: >=20 > gahr> - the CPU temperature takes some time to decrease, so powerd keep= s > gahr> decreasing the CPU frequency until the temperature is below the l= imit. > gahr> The effect is a "increase to maximum, decrease to minimum, increa= se to > gahr> maximum, decrease to minimum, ...." which may not be desirable. >=20 > gahr> - the temperature is retrieved by the hw.acpi.thermal.tz0.tempera= ture > gahr> sysctl MIB. Support for other methods would be desirable. >=20 > gahr> The patches to powerd.c and powerd.8 are here: > gahr> http://www.gahr.ch/FreeBSD/patches/powerd.c.diff > gahr> http://www.gahr.ch/FreeBSD/patches/powerd.8.diff >=20 > gahr> Any comment is welcome! >=20 > We have a passive cooling mechanism already in our kernel. It runs > according to an ACPI specification. You are right, but the passive colling mechanism could not be available on some systems where thermal is available, and I'm still waiting for answers about acpi_thermal not sending notifies. See my previous post: http://lists.freebsd.org/pipermail/freebsd-hackers/2007-July/021361.html What's wrong with including this feature directly in powerd? >=20 > Sincerely, >=20 > -- > Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan > ume@mahoroba.org ume@{,jp.}FreeBSD.org > http://www.imasy.org/~ume/ > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enigA52109AB0461A0E96C1061A2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGra9gwMJqmJVx944RCgwCAJsEhkOnovm97lelLtAk2wK77Q2PYwCgpheR HRsiQLzHA63xU+K2gQgpMwU= =5FsM -----END PGP SIGNATURE----- --------------enigA52109AB0461A0E96C1061A2--