From owner-freebsd-current@FreeBSD.ORG Fri Jan 11 12:57:54 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B05D516A418; Fri, 11 Jan 2008 12:57:54 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 3900613C4EB; Fri, 11 Jan 2008 12:57:54 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id DCC241B10EF4; Fri, 11 Jan 2008 13:57:52 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-9.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_38,MIME_8BIT_HEADER autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 314C51B10EDC; Fri, 11 Jan 2008 13:57:50 +0100 (CET) Message-ID: <478767CD.6010709@moneybookers.com> Date: Fri, 11 Jan 2008 14:57:49 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <200801110909.m0B99tlr097501@lurza.secnetix.de> <47873840.7050401@moneybookers.com> <86prw8eh5r.fsf@ds4.des.no> In-Reply-To: <86prw8eh5r.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV 0.91.2/5475/Fri Jan 11 11:24:56 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: bruno@FreeBSD.org, njl@FreeBSD.org, freebsd-current@FreeBSD.ORG Subject: Re: powerd adaptive mode latching X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 12:57:54 -0000 Hi, Dag-Erling Sm=C3=B8rgrav wrote: > Stefan Lambrev writes: > =20 >> While still here any idea how to make powerd to not lower cpufreq >> under let's say 1000HZ? I want to manually set the allowed minimum, >> because my laptop is lagging too much under certain speeds. >> =20 > > The whole point of powerd is to automatically adapt to the load. If > your laptop "lags too much" powerd should detect that and increase the > CPU frequency. However, poor interactive response can result when CPU > frequency fluctuates too quickly; perhaps your problem will go away wit= h > Andrew's patch, which is intended to dampen such fluctuations? > > DES > =20 I'll try this patch, but in my situation powerd drops cpufreq to 300HZ,=20 and at this point switching windows (alt-tab) is too lagged. I do not think that powerd can increase fast enough the freq to let me=20 switch between application without lagging (and without eating too much cpu power). Hardcoding the minimum to 600HZ (~27% of the CPU power) seems to work=20 very good with other default settings on my 2.2GHz core2 duo. If I'm able to select this through powerd option it will be great. Also on laptops with ATI cards (FireGL 5200), that run with vesa driver, = dropping cpufreq under 1GHZ leads to very lagged output in xterm. It will be great if/when the user can make specific profiles, not just=20 having min,adaptive and max profiles. --=20 Best Wishes, Stefan Lambrev ICQ# 24134177