public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Information request about acpi
@ 2011-07-16 21:59 Ghislain Landry Tsafack Chetsa
  2011-07-16 22:22 ` Len Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Ghislain Landry Tsafack Chetsa @ 2011-07-16 21:59 UTC (permalink / raw)
  To: linux-acpi

Dear All,

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.

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


Regards,


-- 
TSAFACK CHETSA Ghislain Landry
PhD student
INRIA RESO / LIP Laboratory
Ecole Normale Superieure de Lyon
46, allee d'Italie
Lyon Cedex 07
69364
Tel : +33 (0)4 72 72 85 77
Webpage : http://perso.ens-lyon.fr/ghislain.landry.tsafack.chetsa/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Information request about acpi
  2011-07-16 21:59 Information request about acpi Ghislain Landry Tsafack Chetsa
@ 2011-07-16 22:22 ` Len Brown
  2011-07-18 10:45   ` Ghislain Landry Tsafack Chetsa
  0 siblings, 1 reply; 3+ messages in thread
From: Len Brown @ 2011-07-16 22:22 UTC (permalink / raw)
  To: Ghislain Landry Tsafack Chetsa; +Cc: linux-acpi


> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Information request about acpi
  2011-07-16 22:22 ` Len Brown
@ 2011-07-18 10:45   ` Ghislain Landry Tsafack Chetsa
  0 siblings, 0 replies; 3+ messages in thread
From: Ghislain Landry Tsafack Chetsa @ 2011-07-18 10:45 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi

Quoting Len Brown <lenb@kernel.org>:

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

Hi Brown,

Many thanks for your answer, you are right I got the problem fixed  
booting with "maxcpus=1"


Regards,

Tsafack Landry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-18 10:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-16 21:59 Information request about acpi Ghislain Landry Tsafack Chetsa
2011-07-16 22:22 ` Len Brown
2011-07-18 10:45   ` Ghislain Landry Tsafack Chetsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox