From owner-freebsd-current@FreeBSD.ORG Tue Jan 15 00:40: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 4EB9D16A417 for ; Tue, 15 Jan 2008 00:40:02 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 0D6EF13C469 for ; Tue, 15 Jan 2008 00:40:01 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 34257 invoked from network); 15 Jan 2008 00:40:03 -0000 Received: from ppp-71-139-9-226.dsl.snfc21.pacbell.net (HELO ?10.0.5.18?) (nate-mail@71.139.9.226) by root.org with ESMTPA; 15 Jan 2008 00:40:03 -0000 Message-ID: <478C00DB.2080008@root.org> Date: Mon, 14 Jan 2008 16:39:55 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Stefan Lambrev References: <200801110909.m0B99tlr097501@lurza.secnetix.de> <47873840.7050401@moneybookers.com> <47894263.6010706@root.org> <478965CC.1010609@moneybookers.com> <47896CCA.9020309@root.org> <478BBB9C.9090809@root.org> <478BE637.6090307@moneybookers.com> In-Reply-To: <478BE637.6090307@moneybookers.com> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Cc: 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: Tue, 15 Jan 2008 00:40:02 -0000 Stefan Lambrev wrote: > It works :) > > Nate Lawson wrote: >> Nate Lawson wrote: >> Please test the patch. I need at least one "it works" from someone who >> has duplicated cpufreq states to commit it to -current. Be sure to >> first remove any acpi_perf patch that you previously applied. Thanks. >> >> > I applied your patch on clean releng_7_0 from today an it works - here > is the output from sysctl: > > dev.cpu.0.freq_levels: 2201/35000 1925/30625 1650/26250 1600/23000 > 1400/20125 1200/16000 1050/14000 900/12000 800/14000 700/12250 600/10500 Thanks for testing. Can you be sure the 2201 Mhz setting works properly. Perhaps you can set dev.cpu.0.freq=2201 then 1600 and be sure it has approximately correct CPU performance. One test I use is: dd if=/dev/zero bs=128k count=N | sha256 where "N" is some number that takes about 10 seconds to complete. -- Nate