From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 26 16:37:36 2004 Return-Path: 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 A527F16A4CE for ; Thu, 26 Aug 2004 16:37:36 +0000 (GMT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E47843D41 for ; Thu, 26 Aug 2004 16:37:36 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Thu, 26 Aug 2004 09:37:36 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 49EBF5D04; Thu, 26 Aug 2004 09:37:34 -0700 (PDT) To: Ulrich Spoerlein In-reply-to: Your message of "Thu, 26 Aug 2004 11:42:08 +0200." <20040826094208.GB703@galgenberg.net> Date: Thu, 26 Aug 2004 09:37:33 -0700 From: "Kevin Oberman" Message-Id: <20040826163734.49EBF5D04@ptavv.es.net> cc: acpi@freebsd.org Subject: Re: Cx states not working on Dell Inspiron 8600 (Pentium M) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 16:37:36 -0000 > Date: Thu, 26 Aug 2004 11:42:08 +0200 > From: Ulrich Spoerlein > Sender: owner-freebsd-acpi@freebsd.org > > > --wzJLGUyc3ArbnUjN > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Hello, > > I've been running CURRENT on this laptop since the gcc 3.4 import and > the Cx states don't work (AFAICS). > > dmesg, kernel config, DSDT and ASL can be obtained from > http://www.galgenberg.net/~q/freebsd > > No matter if I pull the AC-plug or not, I get this: > hw.acpi.cpu.throttle_max: 8 > hw.acpi.cpu.throttle_state: 8 > hw.acpi.cpu.cx_supported: C1/1 C2/1 C3/85 C4/185 > hw.acpi.cpu.cx_lowest: C4 > hw.acpi.cpu.cx_usage: 0.00% 100.00% 0.00% 0.00% > > As a result the laptop runs rather hot and the battery life is limited > (compared to Windows) > > Am I using the wrong semantics for cx_lowest or throttle_max? The cx_usage is limited to C1 or C2 if USB is loaded. It's polling of the bus for changes prevents the state from dropping to anything really useful. If you don't always need USB, build a kernel without it and load it as required. What do you have in your rc.conf? The default for economy_throttle_state is "HIGH" which is probably not what you want. Not knowing how fast your CPU is or how you use it, I don't know where you want to set it. Try experimenting with: sysctl hw.acpi.cpu.throttle_state=n setting 'n' to values in the range of 1-8 and see where you think it's reasonable to get work done without draining the battery. I use: economy_throttle_state=4. Any lower and things start to get painful for me. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634