Incorrect CPU Frequency in /proc/cpuinfo
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 : 0vendor_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 : 1fdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_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 : 1vendor_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 : 1fdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_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-libfreq_table
Patrick M.
/* EOF */
Signature · 2 lines
Patrick M. /* EOF */
Quoted 12 lines · Patrick
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/cpuinfois: "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/cpuinfoshows no change, no matter what clock speed I set it to.
....
The modules that were modprobed at the time:
Quoted 1 line
p4_clockmod
p4 clock modulation doesn't actually change the cpu frequency.
Quoted 1 line
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.
Quoted 1 line
freq_table
support lib for p4-clockmod.
Dave