All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] Add p4-clockmod driver in x86-64
@ 2004-10-27 14:43 Pallipadi, Venkatesh
  2004-10-27 14:59 ` Paulo Marques
  0 siblings, 1 reply; 13+ messages in thread
From: Pallipadi, Venkatesh @ 2004-10-27 14:43 UTC (permalink / raw)
  To: Andi Kleen; +Cc: akpm, linux-kernel

>-----Original Message-----
>From: Andi Kleen [mailto:ak@suse.de] 
>Sent: Tuesday, October 26, 2004 8:18 PM
>To: Pallipadi, Venkatesh
>Cc: akpm@osdl.org; ak@suse.de; linux-kernel@vger.kernel.org
>Subject: Re: [PATCH] Add p4-clockmod driver in x86-64
>
>On Tue, Oct 26, 2004 at 02:28:26PM -0700, Venkatesh Pallipadi wrote:
>> 
>> Add links for p4-clockmod driver in x86-64 cpufreq. 
>
>Does this really make sense? I thought all shipping EM64T capable CPUs
>supported DBS?  Why would you want clock modulation when you have DBS?
>
>My own experience is that the clockmod driver is not very usable,
>it leads to extensive delays on a graphical desktop.
>

Yes. Clock modulation is not as useful compared to enhanced speedstep.
But, 
I feel, it should be OK to have the driver, though it is not really
useful 
in common case. It may be useful in some exceptional cases. 

The particular case where someone wanted to use p4-clockmod was: they
wanted to run the CPU as slow as possible. Enhanced speedstep allows few

(2-3) possible freqs on this CPU. But, p4-clockmod allows as low as
12.5% 
actual freq.

So, I think, it is good to have this module for the users who really
want 
to use it. But I don't think any userspace or kernel governor should use

this driver by default, without user knowledge. That can cause extensive

delays and slow response times.

Thanks,
Venki



^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [PATCH] Add p4-clockmod driver in x86-64
@ 2004-10-27 16:39 Pallipadi, Venkatesh
  0 siblings, 0 replies; 13+ messages in thread
From: Pallipadi, Venkatesh @ 2004-10-27 16:39 UTC (permalink / raw)
  To: Paulo Marques; +Cc: Andi Kleen, akpm, linux-kernel

>-----Original Message-----
>From: Paulo Marques [mailto:pmarques@grupopie.com] 
>Sent: Wednesday, October 27, 2004 7:59 AM
>To: Pallipadi, Venkatesh
>Cc: Andi Kleen; akpm@osdl.org; linux-kernel@vger.kernel.org
>Subject: Re: [PATCH] Add p4-clockmod driver in x86-64
>
>Pallipadi, Venkatesh wrote:
>>>....
>> Yes. Clock modulation is not as useful compared to enhanced 
>speedstep.
>> But, 
>> I feel, it should be OK to have the driver, though it is not really
>> useful 
>> in common case. It may be useful in some exceptional cases. 
>
>I think I have one of such cases.
>
>I am one of the members of the robotic soccer team from the University 
>of Oporto, and a couple of months ago we were looking for new 
>motherboards for our robots, because we are starting to need new 
>hardware (on-board lan, usb2.0, etc.).
>
>We really don't need excepcional performance, but we really, 
>really need 
>low power consumption, so lowering the clock on a standard mainboard 
>seemed to be the best cost/performance scenario.
>
>Could this driver be used to keep a standard p4 processor at say 25% 
>clock speed at all times?
>

Yes and No.

No because, AFAIK p4-clockmod doesn't give a lot of direct power
savings. 
You can still get some indirect power savings from cooling perspective.
If the processor supports both Enhanced Speedstep Technology (EST) 
and p4-clockmod, EST will save more power and is preferred over
p4-clockmod.
Clockmod uses duty-cycle approach to modulate the freq. EST changes CPU 
core voltage and freq.

Yes because, with p4-clockmod you can change the freq between 8 possible
values
(Processor freq) * n/8, where n=1, 2, ... 8

Thanks,
Venki

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH] Add p4-clockmod driver in x86-64
@ 2004-10-26 21:28 Venkatesh Pallipadi
  2004-10-27  3:18 ` Andi Kleen
  2004-10-28  0:10 ` Andi Kleen
  0 siblings, 2 replies; 13+ messages in thread
From: Venkatesh Pallipadi @ 2004-10-26 21:28 UTC (permalink / raw)
  To: akpm; +Cc: ak, linux-kernel


Add links for p4-clockmod driver in x86-64 cpufreq. 

Signed-off-by:: "Venkatesh Pallipadi" <venkatesh.pallipadi@intel.com>
 
--- linux-2.6.9/arch/x86_64/kernel/cpufreq/Makefile.org	2004-10-25 16:00:03.000000000 -0700
+++ linux-2.6.9/arch/x86_64/kernel/cpufreq/Makefile	2004-10-25 16:10:30.000000000 -0700
@@ -7,7 +7,11 @@ SRCDIR := ../../../i386/kernel/cpu/cpufr
 obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
 obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
 obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi.o
+obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o
+obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o
 
 powernow-k8-objs := ${SRCDIR}/powernow-k8.o
 speedstep-centrino-objs := ${SRCDIR}/speedstep-centrino.o
 acpi-objs := ${SRCDIR}/acpi.o
+p4-clockmod-objs := ${SRCDIR}/p4-clockmod.o
+speedstep-lib-objs := ${SRCDIR}/speedstep-lib.o
--- linux-2.6.9/arch/x86_64/kernel/cpufreq/Kconfig.org	2004-10-25 16:00:08.000000000 -0700
+++ linux-2.6.9/arch/x86_64/kernel/cpufreq/Kconfig	2004-10-25 16:09:29.000000000 -0700
@@ -94,5 +94,23 @@ config X86_ACPI_CPUFREQ_PROC_INTF
 
 	  If in doubt, say N.
 
+config X86_P4_CLOCKMOD
+	tristate "Intel Pentium 4 clock modulation"
+	depends on CPU_FREQ_TABLE
+	help
+	  This adds the CPUFreq driver for Intel Pentium 4 / XEON
+	  processors.
+
+	  For details, take a look at <file:Documentation/cpu-freq/>.
+
+	  If in doubt, say N.
+
+
+config X86_SPEEDSTEP_LIB
+        tristate
+        depends on (X86_P4_CLOCKMOD)
+        default (X86_P4_CLOCKMOD)
+
+
 endmenu
 

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-10-28  0:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-27 14:43 [PATCH] Add p4-clockmod driver in x86-64 Pallipadi, Venkatesh
2004-10-27 14:59 ` Paulo Marques
2004-10-27 15:56   ` Lee Revell
2004-10-27 16:14     ` Paulo Marques
2004-10-27 16:22       ` Alan Cox
2004-10-27 18:47         ` Marcus Metzler
2004-10-27 21:38   ` Rutger Nijlunsing
2004-10-27 21:50     ` Alan Cox
2004-10-28  0:17       ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2004-10-27 16:39 Pallipadi, Venkatesh
2004-10-26 21:28 Venkatesh Pallipadi
2004-10-27  3:18 ` Andi Kleen
2004-10-28  0:10 ` Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.