From owner-cvs-all@FreeBSD.ORG Sun Nov 6 19:21:08 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34CC316A41F; Sun, 6 Nov 2005 19:21:08 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71C7643D67; Sun, 6 Nov 2005 19:21:05 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (ppp-71-139-0-107.dsl.snfc21.pacbell.net [71.139.0.107]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id jA6JKuxq016733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 6 Nov 2005 11:21:01 -0800 Message-ID: <436E5797.7090605@root.org> Date: Sun, 06 Nov 2005 11:20:55 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200511052355.jA5NtuPg026403@repoman.freebsd.org> <20051105191616.M870@odysseus.silby.com> <861x1u55qg.fsf@xps.des.no> In-Reply-To: <861x1u55qg.fsf@xps.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: cvs-src@FreeBSD.org, Mike Silbersack , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/modules/acpi/acpi Makefile src/sys/dev/acpica acpi_battery.c acpi_smbat.c acpi_smbus.h acpiio.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2005 19:21:08 -0000 Dag-Erling Smørgrav wrote: > Mike Silbersack writes: > >>2. Now, powerd seems to be causing ~30% system cpu load - top shows >>it switching between the "nanslp" and "ecpoll" wait states. This may >>be due to some other recent change to acpi, I'm not sure how to best >>test. > > > Try running powerd with a 5000 ms polling interval. With the default > of 500 ms, it never seems to stabilize, but keeps oscillating wildly > in the 75-300 MHz range on my Dell Latitude D600. That is bad for performance. It can then take up to 10-15 seconds to promote back to 100% CPU when your system becomes busy. I've said it many times: we need a real predictive algorithm. Taking a single sample will always have hysteresis problems. See the acpi@ list archives for much more detail and a good summary, including linked papers, here. http://wikitest.freebsd.org/moin.cgi/powerd -- Nate