From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 11 10:28:34 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 0C3C216A4CE for ; Thu, 11 Mar 2004 10:28:34 -0800 (PST) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCD2243D1F for ; Thu, 11 Mar 2004 10:28:33 -0800 (PST) (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, 11 Mar 2004 10:28:33 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id CC6AC5D04; Thu, 11 Mar 2004 10:28:32 -0800 (PST) To: Scott Lambert In-reply-to: Your message of "Thu, 11 Mar 2004 13:05:57 EST." <20040311180557.GB78217@www.lambertfam.org> Date: Thu, 11 Mar 2004 10:28:32 -0800 From: "Kevin Oberman" Message-Id: <20040311182832.CC6AC5D04@ptavv.es.net> cc: freebsd-mobile@freebsd.org Subject: Re: PowerNow in mobile AthlonXP 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: Thu, 11 Mar 2004 18:28:34 -0000 > Date: Thu, 11 Mar 2004 13:05:57 -0500 > From: Scott Lambert > Sender: owner-freebsd-mobile@freebsd.org > > On Thu, Mar 11, 2004 at 09:17:11AM +0100, antic_eye wrote: > > Hi there, > > > > I googled all the web for a solution, so I hope you could help me. I > > have a PackardBell Laptop with a mobile athlon xp inside. I installed > > FreeBSD 5.2.1 3 weeks ago and everything works fine. Even the screen > > flickering under x I fixed (it lasts me one week :o)). > > > > My problem is, that I dont know how to trottle the cpu frequency. Linux > > has the cpufreqd. Is there anything appropriate in BSD? ACPI is up and > > running (expect the StandBy mode - it doesn't work) > > I think Nate Lawson is working on getting a generic CPU frequency > maniplation system added. My athlon laptop also runs full speed all the > time and has no throttle options in the acpi sysctls. > > hw.acpi.cpu.cx_supported: C1/0 > hw.acpi.cpu.cx_lowest: 0 > hw.acpi.cpu.cx_history: 42619368/0 > > I am patiently awaiting Nate's code so that I can convince my CPU fan to > at least slow down. It is somewhat annoying at it's current level. > > I think he's making some progress. He made a commit a few days ago that > looked like it might be the first step, newbusification of the CPUs. While only P4m/Centrino platforms support the "deep sleep" modes you cite above, all do support CPU throttling which is more widely available. hw.acpi.cpu.throttle_max: 8 hw.acpi.cpu.throttle_state: 8 Setting the throttle_state to a lower value will slow the system, but will enhance battery life. The lowest value is '1' which is dog slow. (12% of full speed with a max of 8.) This seems more widely available than the deep sleep mode. -- 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