From owner-freebsd-current@FreeBSD.ORG Wed Feb 2 19:17:26 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2340E16A4CE for ; Wed, 2 Feb 2005 19:17:26 +0000 (GMT) Received: from tx1.mail.ox.ac.uk (tx1.mail.ox.ac.uk [129.67.1.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7E5643D41 for ; Wed, 2 Feb 2005 19:17:25 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from scan1.mail.ox.ac.uk ([129.67.1.166] helo=localhost) by tx1.mail.ox.ac.uk with esmtp (Exim 4.42) id 1CwQ0C-0003QZ-69 for current@freebsd.org; Wed, 02 Feb 2005 19:17:24 +0000 Received: from rx1.mail.ox.ac.uk ([129.67.1.165]) by localhost (scan1.mail.ox.ac.uk [129.67.1.166]) (amavisd-new, port 25) with ESMTP id 13168-01 for ; Wed, 2 Feb 2005 19:17:24 +0000 (GMT) Received: from smtp1.herald.ox.ac.uk ([163.1.0.247]) by rx1.mail.ox.ac.uk with esmtp (Exim 4.42) id 1CwQ01-0003Ef-50; Wed, 02 Feb 2005 19:17:13 +0000 Received: from dhcp1151.wadham.ox.ac.uk ([163.1.161.151]) by smtp1.herald.ox.ac.uk with esmtp (Exim 3.35 #1) id 1CwQ01-00058x-3z; Wed, 02 Feb 2005 19:17:13 +0000 Message-ID: <42012739.9080501@freebsd.org> Date: Wed, 02 Feb 2005 19:17:13 +0000 From: Colin Percival User-Agent: Mozilla Thunderbird 1.0 (X11/20050113) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <41FFB53B.3020907@root.org> In-Reply-To: <41FFB53B.3020907@root.org> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org cc: current@freebsd.org Subject: Re: New cpufreq framework and drivers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 19:17:26 -0000 Nate Lawson wrote: > Hardware drivers are of two types, absolute > and relative. SpeedStep, Powernow, etc. are absolute drivers in that > they set the cpu's base frequency. ACPI throttling, Longrun, etc. are > relative drivers that reduce the processor's clock to a fraction of its > current base (i.e., they have an additive effect.) If my first glance at the patch is correct, this would have my laptop (a 1.4GHz Pentium M) reporting the availability of the frequencies 600MHz, 800MHz, etc. from enhanced speedstep, along with the frequencies 300MHz, 400MHz, 500MHz, and 700MHz obtained via 50% clock throttling. While this in itself is entirely valid, a clock speed of 700MHz obtained by running the processor at 1400MHz with a 50% "duty cycle" would draw more power than a clock speed of 800MHz obtained by running the processor at 800MHz with a lower voltage; is there any mechanism to inform userland daemons of such oddities? I would hate to see a daemon lowering the clock speed from 800MHz to 700MHz in an attempt to save power... Colin Percival