Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754758AbYHMEx7 (ORCPT ); Wed, 13 Aug 2008 00:53:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752021AbYHMExk (ORCPT ); Wed, 13 Aug 2008 00:53:40 -0400 Received: from wr-out-0506.google.com ([64.233.184.229]:11663 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751818AbYHMExi (ORCPT ); Wed, 13 Aug 2008 00:53:38 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=DUZycnig6WiWvllWCSoRAOV/7Xal06UjmLVJLvug4zHdHgO1par3HGr+3yqgSipnyr B8fOduHSIJ6wRfTB2chsLePHuWwC/AwejPDGMkf4BvtDk4kE/SVxFEgzHun9TGnOoSZd VfMbkd+fe6bxzRL/kWNJIg93Dgxzh0Kb/Zq4U= Message-ID: <514e099a0808122153o6b99ac9bo50337009adb25a4d@mail.gmail.com> Date: Tue, 12 Aug 2008 21:53:37 -0700 From: "S K" To: "Arjan van de Ven" Subject: Usefulness of p4-clockmod -- was --Re: cpufreq doesn't seem to work in Intel Q9300 Cc: "Dominik Brodowski" , "Adrian Bunk" , "Zhao Yakui" , "Thomas Renninger" , "Alan Jenkins" , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2990 Lines: 91 Renaming this thread to suit the real discussion. Please use this thread for further responses not related to getting cpufreq working in Q9300. Thanks, SK On Tue, Aug 12, 2008 at 12:59 PM, Arjan van de Ven wrote: > On Tue, 12 Aug 2008 21:03:02 +0200 > Dominik Brodowski wrote: > >> Hi Arjan, >> >> On Mon, Aug 11, 2008 at 04:58:16PM -0700, Arjan van de Ven wrote: >> > > Hi, >> > > >> > > On Mon, Aug 11, 2008 at 07:11:28AM -0700, Arjan van de Ven wrote: >> > > > 1) when the cpu is idle (as in "idle loop C states/hlt"; >> > > > p4_clockmod doesn't mean anything.. the clock is stopped not >> > > > just skipped. 2) when the cpu is executing code (eg non-idle), >> > > > it takes more power for a unit of time than it takes when it's >> > > > idle >> > > >> > > This statement might be true, but might also be wrong: >> > > a) on systems where only C1 is exported, p4-clockmod most >> > > often equals the state the CPU is in when in C1[*], >> > >> > that's.. not entirely true btw. >> >> well, the spec isn't really clear about this. It says (IA32 Intel >> Architecture Software Developer's Manual, Volume 3, section 13.14.3) >> that P6 family processors did this using STPCLK#. And STPCLK# was >> also used by the chipset to force the CPU to enter C2, IIRC. > > not quite.. if it does for a certain cpu, then it's only for cpus that > support C2. > > >> Do P4s only do an C1-equivalent (or even less than that) now, as they >> do the thermal throttling internally instead of externally using >> STPCLK#? > > it's basically always less (or really best case equal) than c1 just due > to the really short duration >> > >> If it's C2-equivalent vs. C1, it's a win. > > it's not. > >>So throttling would be a >> win from this perspective on a only C1-capable PIII, but not on a P4? >> Is that what you're trying to hint at here? > > not even on PIII is it a win.. it's just too short a duration > and your C2 theory.. not sure I believe it. > > >> >> To summarize: >> >> (1) p6 family processors use STPCLK# initiated by the chipset for >> thermal throttling. >> (2) STPCLK# is also used by the chipset to make the CPU enter C2. > > well.... sometimes. It's more complex generally. > >> (3) p4-clockmod uses the STPCLK#-equivalent in p4 CPUs. >> (4) Therefore, it is as effective as STPCLK#, and as effective as C2. > > This is not correct. C2 is only effective if you stay in it "long > enough". Otherwise you pay the transition cost twice. > > >> (5) STPCLK#/C2 has higher energy savings than hlt/C1. > > incorrect > > > > -- > If you want to reach me at my work email, use arjan@linux.intel.com > For development, discussion and tips for power savings, > visit http://www.lesswatts.org > -- 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/