public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Ghislain Landry Tsafack Chetsa
	<ghislain.landry.tsafack.chetsa@ens-lyon.fr>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Information request about acpi
Date: Sat, 16 Jul 2011 18:22:53 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.02.1107161818110.4339@x980> (raw)
In-Reply-To: <20110716235937.56583bwlckigm4sp@webmail.ens-lyon.fr>


> Sorry for disturbing, I am Tsafack Ghislain Landry, Ph.D. student at Ecole
> Normale Superieure of Lyon, France. I have been trying to scale the frequency
> on my Intel E5506 Xeon processor via the cpufreq_acpi driver unfortunately (I
> have tested that feature using the following linux kernel versions : 2.6.32,
> 2.6.38, 2.6.39, 2.6.39.3, and 3.0.rc7).  This a sample output
> 
> # cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
> 2128000
> #echo 1862000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
> # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
> 1862000
> # cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
> 2128000
> 
> I have tried using the cpufreq-set util as well, but the result is the same.
> 
> bellow is the content of the /proc/acpi/processor/CPU0/info file. I was
> wandering whether the "no" value of the parameters  throttling control, limit
> interface can fully explain that behavior.

they are unrelated to this issue.

> cat /proc/acpi/processor/CPU0/info
> processor id:            0
> acpi id:                 1
> bus mastering control:   no
> power management:        yes
> throttling control:      no
> limit interface:         no


It is likely that you are obsering the effects of "hardware coordination."
Although Linux treats all the cores as independent, and even treats
HT threads as independent, they actually have dependencies.

In particular, all threads inside a package share the same voltage 
regulator.

So in a package if one core asks to go fast and another asks to go slow,
the voltage will coordinated by hardware to support the most demanding
request.  Since it is always a good idea to go at he maximum speed
suported by the available voltage, the cpu that requests slow will
also go fast, the same speed as his peer.

boot with "maxcpus=1" and try again -- or control the speeds
of the other threads on the system accordingly.

cheers,
-Len Brown, Intel Open Source Technology Center



  reply	other threads:[~2011-07-16 22:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-16 21:59 Information request about acpi Ghislain Landry Tsafack Chetsa
2011-07-16 22:22 ` Len Brown [this message]
2011-07-18 10:45   ` Ghislain Landry Tsafack Chetsa

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=alpine.LFD.2.02.1107161818110.4339@x980 \
    --to=lenb@kernel.org \
    --cc=ghislain.landry.tsafack.chetsa@ens-lyon.fr \
    --cc=linux-acpi@vger.kernel.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