From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 8 16:29:06 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BF3016A4CE for ; Thu, 8 Jan 2004 16:29:06 -0800 (PST) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20AC343D62 for ; Thu, 8 Jan 2004 16:29:05 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Thu, 08 Jan 2004 16:29:03 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 9EDFA5D04; Thu, 8 Jan 2004 16:29:03 -0800 (PST) To: Jeffrey Katcher In-Reply-To: Message from Jeffrey Katcher <20040108230242.40152.qmail@web41104.mail.yahoo.com> Date: Thu, 08 Jan 2004 16:29:03 -0800 From: "Kevin Oberman" Message-Id: <20040109002903.9EDFA5D04@ptavv.es.net> cc: freebsd-mobile@freebsd.org Subject: Re: 5.2-CURRENT doesn't throttle processor any more X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 00:29:06 -0000 > Date: Thu, 8 Jan 2004 15:02:42 -0800 (PST) > From: Jeffrey Katcher > Sender: owner-freebsd-mobile@freebsd.org > > I cvsup'd this morning and now it seems like the processor is stuck in high > gear (hw.acpi.cpu.throttle_state=8) regardless of AC state. Pulling the plug > gets me: > acpi_cpu0: Performance states changed > Previous it would print that it was switching to another mode > > The system is an IBM T40. Yes, but it was lying to you. The system really was not throttling. The bug has been located, but the default configuration is now to always run at 100%. There is a new entry for /etc/rc.conf for this, but I'm not sure that Nate has connected them, yet. You can manually set this to 50% with 'sysctl hw.acpi.cpu.throttle_state=4'. Return it to 100% with 'sysctl hw.acpi.cpu.throttle_state=8'. You might try editing rc.conf to see if this does anything. Also, try 'sysctl hw.acpi.cpu' and see if cx_lowest is set to. It should be 0 for AC and 2 for battery. This will also impact battery life at the expense of poorer performance, but not by slowing the CPU. It just takes longer to restart from when the system is idle. -- 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