mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xiaoning Ding <dingxn@ymail.com>
To: Michael Tokarev <mjt@tls.msk.ru>, Dave Jones <davej@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: a question about p4_clockmod module on Xeon quad core processors
Date: Thu, 29 Jan 2009 11:40:25 -0800 (PST)	[thread overview]
Message-ID: <279321.76517.qm@web59906.mail.ac4.yahoo.com> (raw)
In-Reply-To: <20090129172406.GB14096@redhat.com>

--- On Thu, 1/29/09, Dave Jones <davej@redhat.com> wrote:

> From: Dave Jones <davej@redhat.com>
> Subject: Re: a question about p4_clockmod module on Xeon quad core processors
> To: "Michael Tokarev" <mjt@tls.msk.ru>
> Cc: "Xiaoning Ding" <dingxn@ymail.com>, linux-kernel@vger.kernel.org
> 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@vger.kernel.org
> 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


      


  reply	other threads:[~2009-01-29 19:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 20:17 Xiaoning Ding
2009-01-27 21:23 ` Arjan van de Ven
2009-01-29 16:12   ` Xiaoning Ding
2009-01-28 21:02 ` Dave Jones
2009-01-29  2:06   ` Xiaoning Ding
2009-01-29  2:45     ` Dave Jones
2009-01-29 16:32       ` Xiaoning Ding
2009-01-29 17:08         ` Dave Jones
2009-01-29 12:27   ` Michael Tokarev
2009-01-29 17:24     ` Dave Jones
2009-01-29 19:40       ` Xiaoning Ding [this message]
2009-01-29 19:54         ` Dave Jones
2009-01-28 21:05 ` Wes Felter
2009-01-29  2:11   ` Xiaoning Ding
2009-01-29 20:47     ` Wes Felter
2009-01-30  1:12       ` Xiaoning Ding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=279321.76517.qm@web59906.mail.ac4.yahoo.com \
    --to=dingxn@ymail.com \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjt@tls.msk.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome