From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 23 03:40:53 2008 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 B6E031065670 for ; Tue, 23 Dec 2008 03:40:53 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 385288FC08 for ; Tue, 23 Dec 2008 03:40:52 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBN3eoZV046122; Tue, 23 Dec 2008 14:40:51 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 23 Dec 2008 14:40:50 +1100 (EST) From: Ian Smith To: Dmitry Kolosov In-Reply-To: <200812221927.00568.ivakras1@gmail.com> Message-ID: <20081223140958.I29108@sola.nimnet.asn.au> References: <20081221233822.7E92545020@ptavv.es.net> <200812221927.00568.ivakras1@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: Problem on AMD64 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: Tue, 23 Dec 2008 03:40:53 -0000 On Mon, 22 Dec 2008, Dmitry Kolosov wrote: [..] > Could you give to us some links about powersaving with EST? For now, i'm using > powerd: > powerd_enable="YES" > powerd_flags="-a maximum -b adaptive -n adaptive -r 30 -i 35" > in my rc.conf. I'm not on AMD64, so i'm sorry, powerd works well to me (125 MHz > on battery and 2.16GHz on AC), BUT battery life time is equal in both cases and > something about 50 minutes, so i think powerd is not so powerfull for me. -i percent Specifies the CPU idle percent level when adaptive mode should begin to degrade performance to save power. The default is 90% or higher. -r percent Specifies the CPU idle percent level where adaptive mode should consider the CPU running and increase performance. The default is 65% or lower. I don't think your powerd running and idle percentages are likely to work too well; too close together, and too close to the 'busy' end. Try stopping powerd (/etc/rc.d/powerd stop) then running powerd manually in verbose mode in its own console (powerd -v [flags]) to watch how it behaves under varying loads. I suspect that you will find it 'flapping' between some frequencies too often at constant load, as there's insufficient hysteresis between the idle/running marks. Compare it with using the default -i and -r and if those aren't suitable, try rather smaller variations from the defaults. If it lacks responsiveness, try decreasing the polling interval. cheers, Ian