kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: pacprnt@gmail.com (pradeep hettiarachchi)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Verify the frequency of a core
Date: Sat, 25 Dec 2010 14:45:59 -0500	[thread overview]
Message-ID: <AANLkTinviqZgrmAdGKkioK-XJ2Qi-q7eVBzdforaa637@mail.gmail.com> (raw)

Hi,

Here what I did:
I set the "performance" governor for one of the cores and "ondemand"
governor on an another core. Then I noticed that the cores have
different frequencies.
Based of the above observation on different processors, I have a
couple of questions.

1) When I tried to frequency-scale in a core i7 processor, it allows
me to set different governors for individual cores. As per to my
understanding, the processor has 4 physical cores and 2 hardware
threads per core. (totaling 8 cores altogether)  This means, I should
not be able to set different frequencies in two adjacent cores (say
core 0 and core 1) as they both same hardware. My understanding is I
should not be able to set the individual core frequencies as explained
above.

2) When I played with Q6600 processor, I found that trough the
governor, I can set the individual core-frequency. But as per to the
literature, Intel does not provide a facility to frequency-scale in
individual cores but the frequency in the entire processor.

3) What does the governor do? Does it set the frequency of the core directly ?

4) Is there any way that I can verify the actual frequency of a core
other than the interface of the governor.  Do you recommend to use MSR
direly to change and  measure the frequency  of the system ?




Sincerely,

Pradeep M. Hettiarachchi

             reply	other threads:[~2010-12-25 19:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-25 19:45 pradeep hettiarachchi [this message]
     [not found] ` <BANLkTi=2qYcs-b77eYbtn8odGkpjDQkUpA@mail.gmail.com>
     [not found]   ` <BANLkTikv_--M6_TnhhLNt1XT8Pb3qrRT3Q@mail.gmail.com>
2011-06-24 14:16     ` Verify the frequency of a core pradeep hettiarachchi

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=AANLkTinviqZgrmAdGKkioK-XJ2Qi-q7eVBzdforaa637@mail.gmail.com \
    --to=pacprnt@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /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;
as well as URLs for NNTP newsgroup(s).