public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Xiaoning Ding <dingxn@ymail.com>
Cc: Michael Tokarev <mjt@tls.msk.ru>, linux-kernel@vger.kernel.org
Subject: Re: a question about p4_clockmod module on Xeon quad core processors
Date: Thu, 29 Jan 2009 14:54:47 -0500	[thread overview]
Message-ID: <20090129195447.GA14636@redhat.com> (raw)
In-Reply-To: <279321.76517.qm@web59906.mail.ac4.yahoo.com>

On Thu, Jan 29, 2009 at 11:40:25AM -0800, Xiaoning Ding wrote:

 > 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.

yes. and also that it inhibits entering deeper C states for longer periods.

 > 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?

I'm not sure if the registers are still there on quad cores, but I
would be surprised if they weren't.  Hitting them directly with
msr tools is probably the best way, or writing a small program
that manipulates /dev/cpu/*/msr directly.

	Dave

-- 
http://www.codemonkey.org.uk

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

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 20:17 a question about p4_clockmod module on Xeon quad core processors 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
2009-01-29 19:54         ` Dave Jones [this message]
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=20090129195447.GA14636@redhat.com \
    --to=davej@redhat.com \
    --cc=dingxn@ymail.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