From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 5 05:44:46 2006 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCBBA16A407 for ; Thu, 5 Oct 2006 05:44:46 +0000 (UTC) (envelope-from nate@root.org) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7818943D60 for ; Thu, 5 Oct 2006 05:44:40 +0000 (GMT) (envelope-from nate@root.org) X-ORBL: [71.139.46.150] Received: from [10.0.5.50] (ppp-71-139-46-150.dsl.snfc21.pacbell.net [71.139.46.150]) by ylpvm12.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id k955gf6m030613; Thu, 5 Oct 2006 01:42:42 -0400 Message-ID: <45249B8F.2060407@root.org> Date: Wed, 04 Oct 2006 22:43:43 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Kevin Oberman References: <20060823043830.6E09245055@ptavv.es.net> In-Reply-To: <20060823043830.6E09245055@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org Subject: Re: Odd power management on ThinkPad T43 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 05:44:46 -0000 Kevin Oberman wrote: > I'm running current on an IBM ThinkPad T43 and I'm not sure I have a problem, > but something odd seems to be going on. > > I have a 2.0 GHz Pentium-M which I believe is 760. I believe it's one IBM has > not released information on the EST specs. > > If I do NOT have cpufreq loaded, I see: > dev.cpu.0.freq_levels: 2000/27000 1750/23625 1600/22600 1400/19775 1333/19666 > 1166/17207 1066/16733 932/14641 800/13800 700/12075 600/10350 500/8625 > 400/6900 300/5175 200/3450 100/1725 > > If I load cpufreq I see: > dev.cpu.0.freq_levels: 1500/-1 1312/-1 1200/-1 1050/-1 1000/-1 875/-1 800/-1 > 700/-1 600/-1 525/-1 450/-1 375/-1 300/-1 225/-1 150/-1 75/-1 > > With cpufreq I report perf0, est0 and p4tcc0 in dmesg. Without loading cpufreq > I still see acpi_perf0 and acpi_throttle0. > > This would lead me to believe that without cpufreq I am only seeing > throttling, but I see my clock speed decrease (x86info) which I did not expect > to see with pure throttling. > > Am I better off when on battery to use cpufreq or not? Is there something to > tweak to get full 2GHz performance with EST? This sounds like a bad table match for est0. Perhaps it's detecting your CPU as a 1.5Ghz one when it's actually 2Ghz. An easy way to tell is to load cpufreq but disable just est with: hint.est.0.disabled="1" You should get acpi_perf and p4tcc, and the frequencies will be correct for your system. acpi_perf is often more user-friendly anyway since it reports the power consumed at each level instead of just "-1". It's also possible you were booting on battery and had lower levels available. Easy way to tell is report output of sysctl -a | grep cpu -- Nate