From owner-freebsd-current@FreeBSD.ORG Fri Jan 11 09:35:02 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 2B0D016A418; Fri, 11 Jan 2008 09:35:02 +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 465F513C455; Fri, 11 Jan 2008 09:35:01 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id B47A41B10EFD; Fri, 11 Jan 2008 10:34:59 +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=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham 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 261611B10F00; Fri, 11 Jan 2008 10:34:57 +0100 (CET) Message-ID: <47873840.7050401@moneybookers.com> Date: Fri, 11 Jan 2008 11:34:56 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG References: <200801110909.m0B99tlr097501@lurza.secnetix.de> In-Reply-To: <200801110909.m0B99tlr097501@lurza.secnetix.de> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5474/Fri Jan 11 08:38:39 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: bruno@FreeBSD.org, njl@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 09:35:02 -0000 Hi, Oliver Fromme wrote: > Andrew Atrens wrote: > > # cvs diff -u acpi_perf.c > > Index: acpi_perf.c > > =================================================================== > > RCS file: /usr/repo/freebsd/src/sys/dev/acpica/acpi_perf.c,v > > retrieving revision 1.26 > > diff -u -r1.26 acpi_perf.c > > - --- acpi_perf.c 22 Mar 2007 18:16:40 -0000 1.26 > > +++ acpi_perf.c 16 Nov 2007 20:11:02 -0000 > > @@ -300,9 +300,9 @@ > > continue; > > > > /* Check for duplicate entries */ > > - - if (count > 0 && > > - - sc->px_states[count - 1].core_freq == > > - - sc->px_states[count].core_freq) > > + if (count > 0 && > > + CPUFREQ_CMP(sc->px_states[count - 1].core_freq, > > + sc->px_states[count].core_freq)) > > continue; > > > > count++; > > > > > > It's so simple that it's kind of silly that it (or something like it) > > hasn't been committed yet... > > > > Anyone out there with a commit bit interested in submitting this ? > > It seems that nobody is responsible for those things right > now (or nobody feels responsible). My PR bin/115513 is > also still open. I'm using that patch for a long time > already and wouldn't want to live without it; it improves > interactive behaviour a lot on my notebook with powerd. > I really hope someone will commit this before 7.0 release, or it will never be part of RELENG_7_0 and not everyone want to track RELENG_7. 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. P.S. Nate Lawson & Bruno Ducrot CCed. They are pointed as tech contacts for powerd on the pages that I found :) -- Best Wishes, Stefan Lambrev ICQ# 24134177