From owner-freebsd-stable@FreeBSD.ORG Mon Feb 20 02:02:39 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72F7B16A420 for ; Mon, 20 Feb 2006 02:02:39 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35BC743D45 for ; Mon, 20 Feb 2006 02:02:39 +0000 (GMT) (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; Sun, 19 Feb 2006 18:02:35 -0800 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 4C98645043; Sun, 19 Feb 2006 18:02:35 -0800 (PST) To: "Dave Symonds" In-reply-to: Your message of "Mon, 20 Feb 2006 09:51:43 +1100." Date: Sun, 19 Feb 2006 18:02:35 -0800 From: "Kevin Oberman" Message-Id: <20060220020235.4C98645043@ptavv.es.net> Cc: Ryan R , freebsd-stable@freebsd.org Subject: Re: Need serious help with Dell D600 Latitude laptop and Power Management please :) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 02:02:39 -0000 > Date: Mon, 20 Feb 2006 09:51:43 +1100 > From: "Dave Symonds" > Sender: owner-freebsd-stable@freebsd.org > > On 2/20/06, Ryan R wrote: > > I am running a Dell D600 Latitude laptop (2.0ghz Pentium Mobile) and > > dual-boot Windows. In Windows, I get about 3 hours and 30 minutes roughl= > y > > of battery time when I am not plugged into the AC Power, but in FreeBSD I > > get around only 1. In Windows, my fans don't generally run until the sys= > tem > > is doing something full load, and runs very cool. Here in FreeBSD, my fa= > ns > > are running FULL SPEED all of the time and also seems to be hotter than m= > any > > conventional ovens. It is definitely way hotter than it is in Windows, = > and > > definitely isn't relaxing when the system isn't doing anything stressful.= > I > > am a novice user and don't know where to start in solving this problem.. > > How come it isn't working automatically :( Are there going to be alot of > > manual commands I have to enter just to get it to calm down? > > I'm running -STABLE on a Latitute D800, so I can sympathise. It took a > fair bit of reading and poking around, but I found this to be a good > start: > > * Add these lines to your /etc/rc.conf file: (options are detailed > in powerd(8)) > powerd_enable=3D"YES" > powerd_flags=3D"-a adaptive -b adaptive -p 2000" > > That will probably get you a long way there just by allowing the CPU > to slow down during inactive periods. Don't ask me about getting the > darn thing to suspend, though. Every time I've tried it has failed to > come out correctly. And keep in mind that there is no suspend-to-disk > support (called "Hibernation" in Windows) for FreeBSD. There are many things that can help. First, I don't see a reason for "-a adaptive" on powerd. If you are plugged in, why cut performance? Try "sysctl hw.acpi.cpu" and see what values you have for cx_lowest while on battery. It should be the largest "C" value available, usually 3C43 or C4. This is very significant. To change this, use the following in rc.conf: economy_cx_lowest="LOW" This is now the default in -current, but that change has not gone into anything else. If you can run without USB, take it out of yo9ur kernel. It will keep your system way to busy, even if nothing is plugged into any USB port. There are probably things I have missed, but these are big ones. -- 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