Re: cpuinfo shows wrong MHz value

From: Joerg Platte
Date: Sun Feb 15 2009 - 02:12:18 EST


Am Sonntag, 15. Februar 2009 schrieb Joerg Platte:
> Am Sonntag, 15. Februar 2009 schrieb Frans Pop:
> > On Sunday 15 February 2009, Joerg Platte wrote:
> > > Sorry, I should have made it clear that my computer is running with 13
> > > GHz (at leat according to the kernel). With previous kernels (IIRC
> /sys/devices/system/cpu/cpu0/cpufreq> grep . *
> affected_cpus:0
> cpuinfo_cur_freq:13000000
> cpuinfo_max_freq:13000000
> cpuinfo_min_freq:3250000
> related_cpus:0
> scaling_available_frequencies:3250000 4875000 6500000 8125000 9750000
> 11375000 13000000
> scaling_available_governors:conservative ondemand userspace powersave
> performance
> scaling_cur_freq:13000000
> scaling_driver:p4-clockmod
> scaling_governor:performance
> scaling_max_freq:13000000
> scaling_min_freq:3250000
> scaling_setspeed:<unsupported>

Looks like p4_clockmod is responsible for these high values. After removing
it /proc/cpuinfo shows the correct values:

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 1
model name : Intel(R) Pentium(R) 4 CPU 1.60GHz
stepping : 2
cpu MHz : 1598.609
cache size : 256 KB
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 pebs bts
bogomips : 3197.21
clflush size : 64
power management:

best regards,
JÃrg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/