From owner-freebsd-stable@FreeBSD.ORG Sun Mar 29 07:32:59 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E5371065670 for ; Sun, 29 Mar 2009 07:32:59 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id E9F428FC15 for ; Sun, 29 Mar 2009 07:32:58 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 238751724; Sun, 29 Mar 2009 09:32:57 +0300 Message-ID: <49CF0803.1070505@FreeBSD.org> Date: Sun, 29 Mar 2009 08:32:51 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.19 (X11/20090118) MIME-Version: 1.0 To: Dominic Fandrey References: <1238293386.00093672.1238281804@10.7.7.3> In-Reply-To: <1238293386.00093672.1238281804@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: powerd broken X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2009 07:32:59 -0000 Dominic Fandrey wrote: > Since I updated to the 7.2 prerelease, powerd is broken. > >> uname -a > FreeBSD mobileKamikaze.norad 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: Tue Mar 24 07:57:30 CET 2009 root@mobileKamikaze.norad:/usr/obj/HP6510b/amd64/usr/src/sys/HP6510b amd64 > > It increases the CPU frequency very aggressively in adaptive mode. > That means full speed with a system load below 1%. I have to use the > following nonsensical powerd_flags to make it work sensibly: > -a adaptive -b minimum -i 95 -r 99 > > The system is a Core2 Duo, if that is of any help. Run powerd in foreground with -v option to get it's work trace. If it reaches full speed, there must be some reason to do it. Updated powerd indeed may behave a bit more aggressively (especially in new hiadaptive mode, default for AC power). But it was made several months ago and nobody have complained yet. I am personally using it on 8-CURRENT on my Core2Duo laptop every day. -- Alexander Motin