From owner-svn-src-all@FreeBSD.ORG Wed Nov 19 18:23:18 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C169106564A; Wed, 19 Nov 2008 18:23:17 +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 AA31C8FC18; Wed, 19 Nov 2008 18:23:16 +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 227919568; Wed, 19 Nov 2008 20:23:15 +0200 Message-ID: <49245991.9040001@FreeBSD.org> Date: Wed, 19 Nov 2008 20:23:13 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (X11/20081029) MIME-Version: 1.0 To: Robert Noland References: <200811181324.mAIDOcOc079096@svn.freebsd.org> <1227064379.1979.3.camel@wombat.2hip.net> <4923C939.2090003@FreeBSD.org> <1227109463.16692.9.camel@squirrel.corp.cox.com> In-Reply-To: <1227109463.16692.9.camel@squirrel.corp.cox.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r185050 - head/usr.sbin/powerd X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 18:23:18 -0000 Robert Noland wrote: > On Wed, 2008-11-19 at 10:07 +0200, Alexander Motin wrote: >> Robert Noland wrote: >>> On Tue, 2008-11-18 at 13:24 +0000, Alexander Motin wrote: >>>> Log: >>>> Set of powerd enchancements: >>>> >>> Somehow this seems to be too sensitive. My laptop previously idled at >>> 150Mhz... Occasionally bouncing up to maybe 450Mhz. With the new algo, >>> it will sometimes drop to 900Mhz, but winds itself right back up to >>> 1.8Ghz. >> Can you give me any details? How many CPUs do you have, which set of >> frequencies does it have? Are there any powerd options specified? Does >> powerd detects battery power? With AC or unknown power it will run in >> hiadaptive mode which keeps much higher frequencies. Can you run `powerd >> -v` and look what happens there? >> >> powerd now drops/rises frequency exponentially, so lower frequency will >> be reached only after some period of idle. Rising is much faster to >> quickly restore system interactivity. > > Right, what I expected, was a quicker ramp-up and a slower decay, > leading to more stable frequency while idling. > > This is a Dell D630, Core2duo. ACPI, line detection works and I was > testing with AC attached. With AC attached, my concern isn't power, as > much as potential thermal impacts. Idling at high frequency isn't > enough to kick my fans on high on this laptop, but I've had some that > would. With AC attached powerd uses hiadaptive mode by default. It means that it is able to rise from 150 to 1800 in one second of full load. reverse path will take much more time, requiring somewhere about 30 seconds of idle. It allows system to be ready when you are using it interactively. If you don't need so aggressive approach, you can add `-a adp` option to use adaptive mode on AC power, which is more polite. -- Alexander Motin