Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 3 Feb 2003 17:21:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 3 Feb 2003 17:21:51 -0500 Received: from twilight.cs.hut.fi ([130.233.40.5]:25323 "EHLO twilight.cs.hut.fi") by vger.kernel.org with ESMTP id ; Mon, 3 Feb 2003 17:21:47 -0500 Date: Tue, 4 Feb 2003 00:31:05 +0200 From: Ville Herva To: "Grover, Andrew" Cc: linux-kernel@vger.kernel.org Subject: Re: CPU throttling?? Message-ID: <20030203223104.GA1258@niksula.cs.hut.fi> Mail-Followup-To: Ville Herva , "Grover, Andrew" , linux-kernel@vger.kernel.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1703 Lines: 44 On Mon, Feb 03, 2003 at 01:14:18PM -0800, you [Grover, Andrew] wrote: > > From: Dave Jones [mailto:davej@codemonkey.org.uk] > > Valdis.Kletnieks@vt.edu wrote: > > > > > It's conceivable that a CPU halted at 1.2Gz takes less > > power than one > > > at 1.6Gz - anybody have any actual data on this? > > Alternately phrased, > > > does CPU throttling save power over and above what the halt does? > > > > Given that most decent implementations scale voltage as well as > > frequency, yes, a lower speed will save more power. > > You save the most power when the CPU is at the lowest voltage level, and > in the deepest CPU sleep state (aka CPU C state). > > Throttling offers a linear power/perf tradeoff if your system doesn't > have C state support (or if you aren't using it) but really it is > preferable to keep the CPU at its nominal speed, get the work done > sooner, and start sleeping right away. The quote above makes it sound > like the voltage is scaled when throttling, and that isn't accurate - > voltage is scaled when sleeping (to counteract leakage current), at > least on modern Intel mobile processors. Interesting. So, what sw does one need for this CPU C state? Which kernels support it / which patches are needed? 2.5 only? Also, which CPUs support it? Am I out of luck with my measly 1.4 Celeron Tualatin? So far I've only been doing "Make CPU Idle calls when idle", which I gather is far from optimal? -- v -- v@iki.fi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/