Bug 87529 - Wrong CPU clock speed calculated for 3.06 GHz CPUs
Wrong CPU clock speed calculated for 3.06 GHz CPUs
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-28 09:56 EST by Ernst-Heinrich Klaas
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-06-24 12:56:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ernst-Heinrich Klaas 2003-03-28 09:56:31 EST
Description of problem:

On systems with 
    Intel(R) Xeon(TM) CPU 3.06GHz stepping 07
the CPU clock speed in “dmessage.out” and “/proc/cpuinfo” 
are calculated as  1066.0315 MHz


Version-Release number of selected component (if applicable):

Linux version 2.4.18-24.8.0smp (bhcompile@tweety.devel.redhat.com) (gcc version 
3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 SMP Fri Jan 31 06:03:47 EST 2003

How reproducible:
Every time

Steps to Reproduce:
1. Install RH 8.0 on a system with 3.06 GHz CPU
2. Reboot
3. cat /proc/cpuinfo
    
Actual results:

dmessages.out:
==============
CPU0: Intel(R) Xeon(TM) CPU 3.06GHz stepping 07 
::
..... CPU clock speed is 1066.0315 MHz.

/proc/cpuinfo:
==============
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 3.06GHz
stepping        : 7
cpu MHz         : 1066.431
cache size      : 512 KB
Physical processor ID   : 0
Number of siblings      : 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
bogomips        : 2110.20

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 3.06GHz
stepping        : 7
cpu MHz         : 1066.431
cache size      : 512 KB
Physical processor ID   : 3
Number of siblings      : 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
bogomips        : 2131.96 


Expected results:

dmessages.out:  ...CPU clock speed is 3066.0315 MHz.
/proc/cpuinfo:  cpu MHz         : 3066.431


Additional info:
Signed/unsigned problem inside calculation routine ?
Comment 1 Arjan van de Ven 2003-03-28 10:06:48 EST
... or it measures real performace ;)

actually this is just something cosmetic. rdtsc might not be reliable in
overheated situations for example. 
Comment 2 Brian Brock 2003-06-24 12:56:24 EDT
I can't replicate this bug, all of the Xeon systems that I've tested show a cpu
MHz field that's within 5% (typically much closer) of the clock speed advertised
in the model string.  State hasn't changed in the ~90 days, closing.

Note You need to log in before you can comment on or make changes to this bug.