public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Incorrect CPU Frequency in /proc/cpuinfo
@ 2005-08-28  2:31 Patrick
  2005-08-28  3:38 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick @ 2005-08-28  2:31 UTC (permalink / raw)
  To: LKML

 There is a problem with the display of CPU Frequency in /proc/cpuinfo.
It displays the CPU Frequency correctly... until you change the speed
manually with the kernel's frequency scaling. Before I do this, my
frequency displayed in /proc/cpuinfo is: "3208.757", This is correct.
Then I: "||echo 600000 /sys/devices/cpu/cpu0/cpufreq/scaling_setspeed"
The file "scaling_setspeed" shows 600000, which is correct. My CPU does
change to that speed (I've run tests before and after, and temperature,
etc), yet /proc/cpuinfo shows no change, no matter what clock speed I
set it to.

I tried this on kernel 2.6.12-gentoo-r7, 2.6.13-rc6, 2.6.13-rc7, and it
still happened. I have a Pentium 4 2.4C (Northwood) with
Hyper-Threading. It is overclocked to 3.2GHz. I run Gentoo Base System
version 1.6.13.

/proc/cpuinfo:
---
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping        : 9
cpu MHz         : 3208.757
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 6420.19

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping        : 9
cpu MHz         : 3208.757
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 6413.76
---

The modules that were modprobed at the time:

p4_clockmod
speedstep-lib
freq_table

Patrick M.
/* EOF */

-- 
Patrick M.
/* EOF */


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

* Re: Incorrect CPU Frequency in /proc/cpuinfo
  2005-08-28  2:31 Incorrect CPU Frequency in /proc/cpuinfo Patrick
@ 2005-08-28  3:38 ` Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2005-08-28  3:38 UTC (permalink / raw)
  To: Patrick; +Cc: LKML

On Sat, Aug 27, 2005 at 09:31:48PM -0500, Patrick wrote:
 >  There is a problem with the display of CPU Frequency in /proc/cpuinfo.
 > It displays the CPU Frequency correctly... until you change the speed
 > manually with the kernel's frequency scaling. Before I do this, my
 > frequency displayed in /proc/cpuinfo is: "3208.757", This is correct.
 > Then I: "||echo 600000 /sys/devices/cpu/cpu0/cpufreq/scaling_setspeed"
 > The file "scaling_setspeed" shows 600000, which is correct. My CPU does
 > change to that speed (I've run tests before and after, and temperature,
 > etc), yet /proc/cpuinfo shows no change, no matter what clock speed I
 > set it to.
 > .... 
 > The modules that were modprobed at the time:
 > 
 > p4_clockmod

p4 clock modulation doesn't actually change the cpu frequency.

 > speedstep-lib

This is a support library used by the other speedstep libs.
(It's meant to be pulled in as a dependancy
rather than directly modprobed)

Your CPU isn't supported by the speedstep drivers, so loading
this is pointless. 

 > freq_table

support lib for p4-clockmod.

		Dave

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

end of thread, other threads:[~2005-08-28  3:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-28  2:31 Incorrect CPU Frequency in /proc/cpuinfo Patrick
2005-08-28  3:38 ` Dave Jones

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