From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 9 07:39:20 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A018616A417 for ; Thu, 9 Aug 2007 07:39:20 +0000 (UTC) (envelope-from se@freebsd.org) Received: from spacemail2-out.mgmt.space.net (spacemail2-out.mgmt.space.net [194.97.149.148]) by mx1.freebsd.org (Postfix) with ESMTP id 2E00813C469 for ; Thu, 9 Aug 2007 07:39:19 +0000 (UTC) (envelope-from se@freebsd.org) X-SpaceNet-SBRS: None X-IronPort-AV: E=Sophos;i="4.19,239,1183327200"; d="scan'208";a="24090591" Received: from mail.atsec.com ([195.30.252.105]) by spacemail2-out.mgmt.space.net with ESMTP; 09 Aug 2007 09:09:17 +0200 Received: from [10.254.1.25] (unknown [195.30.9.200]) (Authenticated sender: se@atsec.com) by mail.atsec.com (Postfix) with ESMTP id A463B720960; Thu, 9 Aug 2007 09:09:13 +0200 (CEST) Message-ID: <46B9F968.4030508@freebsd.org> Date: Wed, 08 Aug 2007 19:12:08 +0200 From: =?ISO-8859-1?Q?Stefan_E=DFer?= Organization: atsec information security User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Kris Kennaway References: <200707271109.51334.joao@matik.com.br> <200707290614.18469.joao@matik.com.br> <46AB160D.6040207@freebsd.org> <200708060928.36154.joao@matik.com.br> <790a9fff0708060854xb3f3e51n39a159ccf3f8b581@mail.gmail.com> <20070806174920.GA39742@rot26.obsecurity.org> In-Reply-To: <20070806174920.GA39742@rot26.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, Scot Hetzel , freebsd-stable@freebsd.org Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 07:39:20 -0000 Kris Kennaway schrieb: > On Mon, Aug 06, 2007 at 10:54:08AM -0500, Scot Hetzel wrote: >> On 8/6/07, JoaoBR wrote: >>> Only to remember the problem only ocurres when loading powerd and seems the >>> freeze happens when cpu freq is upshifting not down. >>> >> Try setting: >> >> hint.acpi_throttle.0.disabled="1" >> >> in /boot/loader.conf, as acpi_throttle may be the cause of the freeze. > > FYI this worked for me. Well, I never understood why we don't make this the default,. Since throttling has a much higher impact on performance than on power consumption, it always is lowering the throughput per Watt value (or to use some other metric, it increases the "Joule for completion of a task" value). For systems that do not support EST or PowerNow! (or newer), it may still be better to have the CPU work unthrottled and then go into an extended halt instead of a simple halt (C0). In case of systems with low voltage modes, throttling may make the CPU draw significantly more power than in a higher clocked, reduced voltage mode. (I.e. 2GHz->1.6GHz at lower voltage draws less power than throttling 2GHz->1GHz at the nominal operating voltage ...) Throttling may be useful to prevent over-heating of certain CPUs under extreme load, but AFAIK these implement it without OS support (in on-chip hardware, since the days of the P4). So, IMHO, we should normally have acpi_throttle disabled in the default installation ... Regards, STefan