All of lore.kernel.org
 help / color / mirror / Atom feed
* problems setting freq on dual core t2600, 2.6.17-1.2157_FC5smp
@ 2006-08-03 13:05 Tobias Bocanegra
  2006-08-03 15:33 ` Alexey Starikovskiy
  2006-08-03 23:01 ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 22+ messages in thread
From: Tobias Bocanegra @ 2006-08-03 13:05 UTC (permalink / raw)
  To: cpufreq

hi,
i don't know if this is the correct list to ask this question, if not
just bash me :-)

i have a intel dual core t2600 with 2.16ghz, running 2.6.17-1.2157_FC5smp

vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           T2600  @ 2.16GHz
stepping        : 8

the files in /sys/devices/system/cpu/cpu0/cpufreq say:
affected_cpus:0
cpuinfo_cur_freq:1667000
cpuinfo_max_freq:2167000
cpuinfo_min_freq:1000000
scaling_available_frequencies:2167000 1667000 1333000 1000000
scaling_available_governors:userspace performance
scaling_cur_freq:1667000
scaling_driver:centrino
scaling_governor:userspace
scaling_max_freq:1667000
scaling_min_freq:1667000
scaling_setspeed:1667000

now, i try to set 2.17 ghz, but it always stays at 1.7:

# echo 2167000 > scaling_setspeed
# cat cpuinfo_cur_freq
1667000

i tried every possible combination, and also cpu frequency tools like
cpufreqd and cpufreq-set. and it does not matter which cpu i try to
modify.

something other that is funny is that sysfs does not show correct cur_freq
# echo 1000000 > scaling_setspeed
# cat cpuinfo_cur_freq
1667000

# cat /proc/cpuinfo | grep MHz
cpu MHz         : 1000.000

and:
# cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
[...]
  current CPU frequency is 1.67 GHz (asserted by call to hardware).

# cpufreq-info -f
1000000

funny enough, it worked once 2 days ago until i rebooted...but i can't figure
out what was different. i guess, it's either some chipset-internal
regulation, or some cpu daemon running.

has anyone some advice?
regards, toby

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: problems setting freq on dual core t2600, 2.6.17-1.2157_FC5smp
@ 2006-08-03 20:47 Pallipadi, Venkatesh
  2006-08-04  8:46 ` Erik Slagter
  0 siblings, 1 reply; 22+ messages in thread
From: Pallipadi, Venkatesh @ 2006-08-03 20:47 UTC (permalink / raw)
  To: tobias.bocanegra, Alexey Starikovskiy; +Cc: cpufreq



> something other that is funny is that sysfs does not show correct
cur_freq
> # echo 1000000 > scaling_setspeed
> # cat cpuinfo_cur_freq
> 1667000
> 
> # cat /proc/cpuinfo | grep MHz
> cpu MHz         : 1000.000 

Can you "cat scaling_cur_freq" at the same time? My guess is that will
show 1000000.

/proc/cpuinfo and scaling_cur_freq shows previously cached value, value
that was tried to be set last time. cpuinfo_cur_freq shows current
frequency that is gets from hardware. As you have a dual coure CPU and 2
CPUs sharing frequency in hardware coordinated manner [1], you will have
to reduce the freq on both to see the actual change. Actual hardware
frequency increase happens as soon as any one core requests for higher
freq, however.

Thanks,
Venki

[1] Hardware coordination of frequencies: More than one logical
processors can share same frequency by design. The frequency
coordination across them will happen in hardware coordination, in which
case, OS will think that each CPU has its own independent control and
give requests to the CPU independently. Hardware picks the highest
frequency among all dependent CPUs and maintains all dependent CPUs at
that frequency.

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: problems setting freq on dual core t2600, 2.6.17-1.2157_FC5smp
@ 2006-08-04 20:16 Pallipadi, Venkatesh
  2006-08-04 20:43 ` Erik Slagter
  0 siblings, 1 reply; 22+ messages in thread
From: Pallipadi, Venkatesh @ 2006-08-04 20:16 UTC (permalink / raw)
  To: Erik Slagter, cpufreq

 

>-----Original Message-----
>From: cpufreq-bounces@lists.linux.org.uk 
>[mailto:cpufreq-bounces@lists.linux.org.uk] On Behalf Of Erik Slagter
>Sent: Friday, August 04, 2006 1:46 AM
>To: cpufreq@lists.linux.org.uk
>Subject: RE: problems setting freq on dual core t2600, 
>2.6.17-1.2157_FC5smp
>
>On do, 2006-08-03 at 13:47 -0700, Pallipadi, Venkatesh wrote:
>
>> /proc/cpuinfo and scaling_cur_freq shows previously cached 
>value, value
>> that was tried to be set last time. cpuinfo_cur_freq shows current
>> frequency that is gets from hardware.
>
>Huh, I don't have this entry! Only min and max.
>
>

This entry depends on what scaling_driver you are using. If you are
using speedstep_centrino, you should have this..

Thanks,
Venki

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: problems setting freq on dual core t2600, 2.6.17-1.2157_FC5smp
@ 2006-08-04 22:49 Pallipadi, Venkatesh
  0 siblings, 0 replies; 22+ messages in thread
From: Pallipadi, Venkatesh @ 2006-08-04 22:49 UTC (permalink / raw)
  To: Erik Slagter; +Cc: cpufreq

 

>-----Original Message-----
>From: Erik Slagter [mailto:erik@slagter.name] 
>Sent: Friday, August 04, 2006 1:44 PM
>To: Pallipadi, Venkatesh
>Cc: cpufreq@lists.linux.org.uk
>Subject: RE: problems setting freq on dual core t2600, 
>2.6.17-1.2157_FC5smp
>
>On vr, 2006-08-04 at 13:16 -0700, Pallipadi, Venkatesh wrote:
>> >Huh, I don't have this entry! Only min and max.
>
>> This entry depends on what scaling_driver you are using. If you are
>> using speedstep_centrino, you should have this..
>
>I am not using speedstep_centrino, it doesn't load. I've been told
>that's because apparently the bios on my motherboard prevents cpufreq
>from accessing the relevant msr's. So I run acpi-cpufreq, which indeed
>seems to work. But no current speed entry.
>

Yes. There is no cur speed entry for acpi-cpufreq.

I guess we are mixing two different threads here. This original thread
was about frequency not changing on a dual core processor with centrino
driver......

Thanks,
Venki

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: problems setting freq on dual core t2600, 2.6.17-1.2157_FC5smp
@ 2006-08-06 14:10 Pallipadi, Venkatesh
  2006-08-06 19:43 ` Tobias Bocanegra
  0 siblings, 1 reply; 22+ messages in thread
From: Pallipadi, Venkatesh @ 2006-08-06 14:10 UTC (permalink / raw)
  To: tobias.bocanegra, Erik Slagter; +Cc: cpufreq

 

>-----Original Message-----
>From: cpufreq-bounces@lists.linux.org.uk 
>[mailto:cpufreq-bounces@lists.linux.org.uk] On Behalf Of 
>Tobias Bocanegra
>Sent: Sunday, August 06, 2006 3:02 AM
>To: Erik Slagter
>Cc: cpufreq@lists.linux.org.uk
>Subject: Re: problems setting freq on dual core t2600, 
>2.6.17-1.2157_FC5smp
>
>no, performance state-change does not work at all:
>but when switching performance states, /proc/cpuinfo freq changes
>
># echo 0 > /proc/acpi/processor/CPU0/performance
># cat /proc/acpi/processor/CPU0/performance
>state count:             4
>active state:            P1
>states:
>    P0:                  2167 MHz, 31000 mW, 10 uS
>   *P1:                  1667 MHz, 23000 mW, 10 uS
>    P2:                  1333 MHz, 18000 mW, 10 uS
>    P3:                  1000 MHz, 13000 mW, 10 uS
># cat /proc/cpuinfo  | grep MHz
>cpu MHz         : 1667.000
>cpu MHz         : 1667.000
># cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
>1667000
>
># echo 2 > /proc/acpi/processor/CPU0/performance
># cat /proc/acpi/processor/CPU0/performance
>state count:             4
>active state:            P1
>states:
>    P0:                  2167 MHz, 31000 mW, 10 uS
>   *P1:                  1667 MHz, 23000 mW, 10 uS
>    P2:                  1333 MHz, 18000 mW, 10 uS
>    P3:                  1000 MHz, 13000 mW, 10 uS
># cat /proc/cpuinfo  | grep MHz
>cpu MHz         : 1333.000
>cpu MHz         : 1667.000
># cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
>1667000
>

I mentioned it in my earlier reply. But, I am not sure whether you tried
this or not. Can you please try this.
#cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq
#cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
#cat /proc/cpuinfo  | grep MHz

#echo 1333000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
#echo 1333000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_setspeed

#cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq
#cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
#cat /proc/cpuinfo  | grep MHz

Thanks,
Venki

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

end of thread, other threads:[~2006-08-08 14:39 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-03 13:05 problems setting freq on dual core t2600, 2.6.17-1.2157_FC5smp Tobias Bocanegra
2006-08-03 15:33 ` Alexey Starikovskiy
2006-08-03 15:59   ` Tobias Bocanegra
2006-08-03 23:01 ` Jeremy Fitzhardinge
2006-08-05 17:42   ` Tobias Bocanegra
     [not found]     ` <44D59CC5.1010200@goop.org>
2006-08-06  9:09       ` Tobias Bocanegra
2006-08-06  9:32         ` Erik Slagter
2006-08-06  9:44           ` Tobias Bocanegra
2006-08-06  9:46             ` Erik Slagter
2006-08-06 10:02               ` Tobias Bocanegra
2006-08-06 10:18                 ` Erik Slagter
2006-08-06 10:10               ` Tobias Bocanegra
2006-08-06 10:19                 ` Erik Slagter
  -- strict thread matches above, loose matches on Subject: below --
2006-08-03 20:47 Pallipadi, Venkatesh
2006-08-04  8:46 ` Erik Slagter
2006-08-04 20:16 Pallipadi, Venkatesh
2006-08-04 20:43 ` Erik Slagter
2006-08-04 22:49 Pallipadi, Venkatesh
2006-08-06 14:10 Pallipadi, Venkatesh
2006-08-06 19:43 ` Tobias Bocanegra
2006-08-08 12:52   ` Thomas Renninger
2006-08-08 14:39     ` Tobias Bocanegra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.