Skip to contentSkip to conversation

Is /proc/cpuinfo showing the actual frequency ?

gentoo-amd64 Thanasis 1 participant 1 message Feb 19, 2009 5 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Thanasis

author
#5 lore raw

on 02/19/2009 07:46 PM Paul Hartman wrote the following:

Quoted 19 lines · Justin
Quoted 18 lines
Quoted 17 lines · Thanasis

on 02/19/2009 06:23 PM Justin wrote the following:

Quoted 16 lines
Quoted 5 lines · Thanasis
# uname -a
Linux wolfdale 2.6.28-gentoo-r2 #1 SMP PREEMPT Wed Feb 18 13:53:22 EET
2009 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel
GNU/Linux
Quoted 8 lines

Overclocked the core 2 duo (E8400) from 3 to 4GHz using motherboard BIOS settings. In mswindblows I can see the overclocked frequency (when cpu is under load), in linux /proc/cpuinfo never shows beyond the stock 3GHz value.

Q: Is /proc/cpuinfo showing the actual frequency?

Do you have frequency scaling active?

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Yes, but the /proc/cpuinfo I showed, was with the max frequency ever displayed (under load).

AFAIK the scaling will interfere with OC. Try to disable it and check again.

I just did some googling and it seems that frequency scaling in linux only works with the stock speed steps, not the OC'ed speed.

I bet if I disable frequency scaling from BIOS, it will show 4GHz, because the funny thing is that inside a fully VM (guest) it shows the "real" frequency ;-)

# cat cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
stepping    : 10
cpu MHz        : 4050.236
cache size    : 6144 KB
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
clflush dts mmx fxsr sse sse2 ss syscall nx lm pni ds_cpl cx16 xtpr lahf_lm
bogomips    : 8111.05
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
stepping : 10
cpu MHz : 4050.236
cache size : 6144 KB
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
clflush dts mmx fxsr sse sse2 ss syscall nx lm pni ds_cpl cx16 xtpr lahf_lm
bogomips : 8101.80
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: