From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 23 16:43:02 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 5EF041065673 for ; Tue, 23 Dec 2008 16:43:02 +0000 (UTC) (envelope-from ivakras1@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id DF5288FC1F for ; Tue, 23 Dec 2008 16:43:01 +0000 (UTC) (envelope-from ivakras1@gmail.com) Received: by ug-out-1314.google.com with SMTP id 30so685709ugs.39 for ; Tue, 23 Dec 2008 08:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=tRaxj/Gp/2V2kmmx2tDzMp9ffirHw1Hi+L0Di4KTUao=; b=sf/6taxMkC1vArCywOFXe3mL/AOJzKNcUGBQ6ihPMjWx9K4OEnim+19Ff+8BoWOSjH r9yGghA1iSbZvXbEeVRETMb4Hab/2L+eiTJkz1DEZSgWQFpU9hzSXugZFE9crdnF/3dw N4FYaxwO/Va7cnB+n29kPKMCpTQbzctGS2plM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=hODpT+X9gNqrUP587cAQ7xKsGZX6my8T23OQwmiKCXH7blS+5Q/sMdmza/FGPBdLas 1PFRTfzAopewPFoZT7CyXOgF6K9awo492neOB2uV4UEOPeB0BQlJRA8tnwAyb1oLynGx kpabjG33bztWtoEwwgOnHE9FUNhufoiXjBX6g= Received: by 10.67.115.15 with SMTP id s15mr6903137ugm.56.1230050580368; Tue, 23 Dec 2008 08:43:00 -0800 (PST) Received: from ?192.168.2.101? ([92.50.244.160]) by mx.google.com with ESMTPS id j4sm8870729ugf.16.2008.12.23.08.41.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Dec 2008 08:41:19 -0800 (PST) From: Dmitry Kolosov To: freebsd-acpi@freebsd.org Date: Tue, 23 Dec 2008 19:41:11 +0300 User-Agent: KMail/1.9.10 References: <20081221233822.7E92545020@ptavv.es.net> <200812221927.00568.ivakras1@gmail.com> <20081223140958.I29108@sola.nimnet.asn.au> In-Reply-To: <20081223140958.I29108@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812231941.11998.ivakras1@gmail.com> 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 16:43:02 -0000 On Tuesday 23 December 2008 06:40:50 Ian Smith wrote: > 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 Thanks Ian, -i and -r values was selected (3 month ago) by long playing with `powerd -v [flags]` in foreground, as you advice to me. The behavior of powerd is correct, and parameters was selected correctly to my environment. Also, debug.cpufreq.lowest was set to 500, and it starts to increase with 30% of CPU load, and decrease (to 500) with 35%. It's just good to me and it perfectly works. I'm realy think it's all about my hdd (WD), its toooooo hot, even when no file activity, even when lid is closed, on battery or on AC, no matter. It's about 60-65C. How to decrease the polling interval? Thanks again!