Re: a question about p4_clockmod module on Xeon quad core processors
From: Xiaoning Ding
Date: Thu Jan 29 2009 - 14:40:39 EST
--- On Thu, 1/29/09, Dave Jones <davej@xxxxxxxxxx> wrote:
> From: Dave Jones <davej@xxxxxxxxxx>
> Subject: Re: a question about p4_clockmod module on Xeon quad core processors
> To: "Michael Tokarev" <mjt@xxxxxxxxxx>
> Cc: "Xiaoning Ding" <dingxn@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
> Date: Thursday, January 29, 2009, 5:24 PM
> On Thu, Jan 29, 2009 at 03:27:24PM +0300, Michael Tokarev
> wrote:
>
> > > p4-clockmod doesn't change the processor
> frequency.
> >
> > Hmm.. But what it really does, then?
>
> it modulates the clock so the CPU isn't always availble
> for doing work.
>
> > I used it one one machine which had a flaky CPU
> cooler,
> > to reduce power consumption during hot summer days.
>
> it reduces the amount of heat generated, by making jobs
> take longer to finish. This comes at a cost of the CPU not
> being able to enter lower C states for longer periods of
> time,
> so you may end up actually using *more* power.
>
> > It worked, and reportedly the frequency varied from
> > 200MHz to the max of 2.4GHz (it's a P4 Xeon).
>
> The CPU was always at 2.4GHz, even if it said
> '200MHz'.
> It was just only doing work once in every 12 clocks.
>
> Dave
>
> --
> http://www.codemonkey.org.uk
> --
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
Thanks for the explanation. So the conclusion is that ACPI-cpufreq can reduce power consumption by lowering cpu frequencies, and p4-clockmod can hardly save power because CPU frequences are not changed.
My experiments do not consider power consumption. It only requires to slow down the speed of some cores by either reducing frequencies or clock modulation. In such case, p4-clockmod is still a good choice for me. Can anyone give me some hints on whether p4-clockmod works on Xeon quad-core processors, and how to get it work?
Thanks!
Xiaoning
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/