From owner-freebsd-arch@FreeBSD.ORG Mon Mar 17 20:18:35 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 491EF1065686 for ; Mon, 17 Mar 2008 20:18:35 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A003B8FC1C; Mon, 17 Mar 2008 20:18:34 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47DED21C.4070108@FreeBSD.org> Date: Mon, 17 Mar 2008 21:18:36 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Poul-Henning Kamp References: <3860.1205764623@critter.freebsd.dk> In-Reply-To: <3860.1205764623@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org Subject: Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c ) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2008 20:18:35 -0000 Poul-Henning Kamp wrote: > In message <20080317141717.U3253@fledge.watson.org>, Robert Watson writes: > >> If cpufreq is going to be enabled by default, should we be enabling powerd by >> default [...] > > [Moved to arch@] > > In general, I think we must make power-aware computing our "next > SMPng project", not in the sense of delaying the next major release > five years, but in the sense that power consumption should permerate > our thinking about the operating system from now on. > > Overall, I think that means that we should: > > * Enable performance neutral power savings on servers > - spin down unused disks. (geom/drivers) > - use only as many CPU cores as necessary (scheduler) > - light cpu-throttling. > - downgrading 1GB to 100MB ether when idle. > > * Aim to meet or execeed energystar 4.0/5.0[1] on desktops and > plugged laptops. > - Pretty much as above, but with specific targets. > - http://www.energystar.gov/index.cfm?c=revisions.computer_spec > > * Be as battery-frugal as possible on battery driven laptops. > - Any trick in and off the book. I think this is a great idea, but one of the big problems is probably going to be dealing with hardware quirks. e.g. we can't even enable powerd by default because e.g. acpi_throttle hangs on some systems. It might be tricky to get power management to the stage where it works for everyone and can be done automatically. Kris