From owner-freebsd-current@FreeBSD.ORG Fri Jan 11 11:51:09 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 639B916A41A for ; Fri, 11 Jan 2008 11:51:09 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id DD35A13C461 for ; Fri, 11 Jan 2008 11:51:08 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so634116uge.37 for ; Fri, 11 Jan 2008 03:51:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=7gWhZs11eEz1T8vLVO53lWuoec+xy9IgMh2Qs/S3nQw=; b=KX7WwJcF2nVWv8fr0xyoUfbv0eaQ6gepGoawlI+Sc89iIW+LW1jhHeuWS7/Hhz1Rqn/4ouY+SvWYYDBZJtcUPMIjrgX4/eGHk60D+mCmU9dyolhJ/EyS1fvv9rfnAFqqs0Ofw2/qAV9lfI4HeGnUgyJ5nrzzQOavVioWWOdwj48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=dCzz7djwVMqXbWCeLrBR5pls1yufupNs7wkqnY1mfGREEeAkqT5u1stwpwhKsqrJChsPm8dtbtFI7D/wsu7vDM9qJ/rMaXAh82Km8+ZfR1H218L+wKQJ6P0Q0wJb0OPMx2TVVfF9zHpIo1f1MhGWpHJTKStm108FWYhqTAn3Im0= Received: by 10.67.26.7 with SMTP id d7mr4702813ugj.23.1200052267534; Fri, 11 Jan 2008 03:51:07 -0800 (PST) Received: by 10.66.248.11 with HTTP; Fri, 11 Jan 2008 03:51:07 -0800 (PST) Message-ID: Date: Fri, 11 Jan 2008 11:51:07 +0000 From: "Igor Mozolevsky" Sender: mozolevsky@gmail.com To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" In-Reply-To: <86prw8eh5r.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200801110909.m0B99tlr097501@lurza.secnetix.de> <47873840.7050401@moneybookers.com> <86prw8eh5r.fsf@ds4.des.no> X-Google-Sender-Auth: 603cf593435b804b Cc: bruno@freebsd.org, njl@freebsd.org, freebsd-current@freebsd.org, Stefan Lambrev 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 11:51:09 -0000 On 11/01/2008, Dag-Erling Sm=F8rgrav wrote: > 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 with > Andrew's patch, which is intended to dampen such fluctuations? I was also thinking that the power increase probably shouldn't be linear, maybe there should be a choice of algs: 2-step, 50%-100%, etc. Normally you don't mind power dropping slowly, but for most things you don't want to wait N-seconds for the clock to be stepped up to its full throttle... Igor :-)