From: Dirk Brandewie <dirk.brandewie@gmail.com>
To: karthik vm <meetvm@gmail.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>,
cpufreq <cpufreq@vger.kernel.org>
Subject: Re: Clarification on the DVFS capabilities
Date: Wed, 22 May 2013 09:46:40 -0700 [thread overview]
Message-ID: <519CF670.9030905@intel.com> (raw)
In-Reply-To: <CAOuKo4kr_=AOeiBjsr-7VBNJOsZvrKEtfo45JooZgsgm9gvZ_A@mail.gmail.com>
On 05/22/2013 09:28 AM, karthik vm wrote:
> Hi Viresh,
>
> Thanks for your quick reply. The output of cpufreq-info command is as below:
> --------------------------------------------------------------------
> $ cpufreq-info
> cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
> Report errors and bugs to cpufreq@vger.kernel.org, please.
> analyzing CPU 0:
> driver: acpi-cpufreq
> CPUs which run at the same hardware frequency: 0 1
> CPUs which need to have their frequency coordinated by software: 0
> maximum transition latency: 10.0 us.
> hardware limits: 1000 MHz - 2.00 GHz
> available frequency steps: 2.00 GHz, 1.67 GHz, 1.33 GHz, 1000 MHz
> available cpufreq governors: conservative, ondemand, userspace,
> powersave, performance
> current policy: frequency should be within 1000 MHz and 2.00 GHz.
> The governor "ondemand" may decide which speed to use
> within this range.
> current CPU frequency is 2.00 GHz.
> cpufreq stats: 2.00 GHz:7.39%, 1.67 GHz:0.66%, 1.33 GHz:1.23%, 1000
> MHz:90.72% (48956)
> analyzing CPU 1:
> driver: acpi-cpufreq
> CPUs which run at the same hardware frequency: 0 1
> CPUs which need to have their frequency coordinated by software: 1
> maximum transition latency: 10.0 us.
> hardware limits: 1000 MHz - 2.00 GHz
> available frequency steps: 2.00 GHz, 1.67 GHz, 1.33 GHz, 1000 MHz
> available cpufreq governors: conservative, ondemand, userspace,
> powersave, performance
> current policy: frequency should be within 1000 MHz and 2.00 GHz.
> The governor "ondemand" may decide which speed to use
> within this range.
> current CPU frequency is 2.00 GHz.
> cpufreq stats: 2.00 GHz:5.87%, 1.67 GHz:0.22%, 1.33 GHz:0.35%, 1000
> MHz:93.55% (10792)
> ----------------------------------------------------------------------------------
>
> Also my current Linux version is 3.2.0-43-generic. May be thats why
> there are misleading values for "CPUs which run at the same hardware
> frequency".
>
> Hence I guess that in my case "CPUs which run at the same hardware
> frequency" & "CPUs which need to have their frequency coordinated by
> software" should have the same value. If so this means that the CPU
> has per-core DVFS. Please correct me if I am wrong.
>
cpufreq stats reports the frequency that was requested on each core.
The governor will request a frequency per core.
The actual frequency that the core/package runs at is coordinated by the
CPU itself based on the all the core requests.
There is no way (that I know of) to get the current frequency a given core is
running at.
> Regards,
> karthik
>
> On Wed, May 22, 2013 at 12:08 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>> On Tue, May 21, 2013 at 9:48 PM, karthik vm <meetvm@gmail.com> wrote:
>>> I have few doubts on the DVFS capabilities of my intel Core2Duo
>>> processor (T5750) which has 2 cores (no hyperthreading) and has
>>> Enhanced Intel Speed Step Technology (EIST). When I run the
>>> "cpufreq-info" command in Ubuntu Linux I get the result that: "CPUs
>>> which run at the same hardware frequency: 0 1". Hence I assumed that
>>> both the CPUs will increase and decrease the frequency in a
>>> synchronous fashion.
>>>
>>> But when I tried to verify it by using the below command:
>>>
>>> $ watch -n 0.1 grep \"cpu MHz\" /proc/cpuinfo
>>>
>>> Here I see that each core is varying the frequency individually
>>> contrary to the cpufreq-info commands output that both run at the same
>>> hardware frequency. Hence can anyone comment on this behavior?
>>
>> Which kernel version are you using? Can you paste output of cpufreq-info.
>> You need to look at: "CPUs which need to have their frequency
>> coordinated by software:"
>> to get the right group of cpus..
>>
>> The other group (pointed by you) had misleading values, which are
>> recently fixed in 3.9.
> --
> To unsubscribe from this list: send the line "unsubscribe cpufreq" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2013-05-22 16:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-21 16:18 Clarification on the DVFS capabilities karthik vm
2013-05-22 4:08 ` Viresh Kumar
2013-05-22 16:28 ` karthik vm
2013-05-22 16:46 ` Dirk Brandewie [this message]
2013-05-23 16:26 ` karthik vm
2013-05-23 10:12 ` Viresh Kumar
2013-05-23 16:51 ` karthik vm
2013-05-24 5:24 ` Viresh Kumar
2013-05-26 0:00 ` karthik vm
2013-05-26 7:01 ` Viresh Kumar
2013-05-27 0:20 ` karthik vm
2013-05-27 4:07 ` Viresh Kumar
2013-05-28 15:09 ` Dirk Brandewie
2013-05-29 16:33 ` karthik vm
2013-05-29 16:53 ` Dirk Brandewie
2013-06-03 0:37 ` karthik vm
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=519CF670.9030905@intel.com \
--to=dirk.brandewie@gmail.com \
--cc=cpufreq@vger.kernel.org \
--cc=meetvm@gmail.com \
--cc=viresh.kumar@linaro.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