From owner-freebsd-current@FreeBSD.ORG Tue May 15 10:52:35 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A445316A402; Tue, 15 May 2007 10:52:35 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id EE52E13C45D; Tue, 15 May 2007 10:52:34 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l4FAlKX2090029 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 May 2007 12:47:25 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l4FAlKYF043433; Tue, 15 May 2007 12:47:20 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from localhost (localhost [[UNIX: localhost]]) by titan.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id l4FAlJWG001207; Tue, 15 May 2007 12:47:19 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) From: Harald Schmalzbauer Organization: OmniSEC To: Rui Paulo Date: Tue, 15 May 2007 12:47:18 +0200 User-Agent: KMail/1.9.6 References: <42BC519E.8010309@satro.sk> <200705142348.07522.h.schmalzbauer@omnisec.de> <86lkfrymlw.wl%rpaulo@fnop.net> In-Reply-To: <86lkfrymlw.wl%rpaulo@fnop.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705151247.19122.h.schmalzbauer@omnisec.de> Cc: freebsd-current@freebsd.org, Colin Percival Subject: Re: cpufreq & enhanced speedstep 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 May 2007 10:52:35 -0000 Am Dienstag, 15. Mai 2007 schrieb Rui Paulo: > At Mon, 14 May 2007 23:48:07 +0200, > > Harald Schmalzbauer wrote: [...] > > I have a E6600 core2 and tried to reduce power dissipation by enabling > > some speedstep technology. > > acpi_perf seems to work since dev.cpu.freq shows 800 (possible > > 2400/1600/800) and goes up while compiling, but I frequently get the > > following errors: > > > > kernel: acpi_perf0: Px transition to 1600 failed > > kernel: acpi_perf0: set freq failed, err 6 > > I don't really know why it fails.. With acpi_throttle and p4tcc disabled, like you advised, this message doesn't occur any more. But I only have two possible speed steps, 2400 and 1600. But it's switching smoothly between them, atm. I don't have a power meter handy, so I can't see if it really works (and saves power). But in any case, the Watt values (dev.cpu.0.freq_levels: 2400/88000 1600/56000) are wrong for my core2 CPU. Where does acpi_perf get them from? Ok, form est (since without cpufreq loaded the values are /-1) but are they readable from any registers or are they hard coded according to the CPU type or are they in any table in the (acpi) BIOS? > > So I disabled acpi_perf and tried cpufreq with the following result: > > In your machine acpi_perf gives the values to est. If you disable > acpi_perf, est will not work. Oic, very valuable info. Thanks! > > I had acpi_perf and powerd enabled the last two days and the "feeling" of > > my X11/KDE desktop was a bit bumpy; The mouse frequently hung for some > > 10s of ms, in general the respnsiveness suffered a lot with > > dev.cpu.0.freq=800, a lot more than 298 with est... > > 298 comes from p4tcc or acpi_throttle. These values usually reduce a > lot the CPU power to prevent thermal problems. > > Maybe they should be separated... This would clarify things.. Thanks a lot, -Harry