Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Speed in bogomips different for each core on E8400
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
]Trix[
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 184

PostPosted: Thu Jul 24, 2008 9:51 pm    Post subject: Speed in bogomips different for each core on E8400 Reply with quote

Hello!

After fresh install of Gentoo on my new hardware I have noticed that cat /proc/cpuinfo shows two different speeds for each core (I have Core2Duo E8400)...

Quote:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
stepping : 6
cpu MHz : 2999.740
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
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 nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips : 6001.51
clflush size : 64

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
stepping : 6
cpu MHz : 2999.740
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
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 nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips : 8277.83
clflush size : 64


dmesg gives this output when initializing cores...

Quote:

Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2999.740 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2073136k/2096576k available (3037k kernel code, 22216k reserved, 983k data, 272k init, 1179072k highmem)
virtual kernel memory layout:
fixmap : 0xfff9b000 - 0xfffff000 ( 400 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc04f5000 - 0xc0539000 ( 272 kB)
.data : 0xc03f75f2 - 0xc04ed4d8 ( 983 kB)
.text : 0xc0100000 - 0xc03f75f2 (3037 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
CPA: page pool initialized 1 of 1 pages preallocated
SLUB: Genslabs=12, HWalign=64, Order=0-1, MinObjects=4, CPUs=2, Nodes=1
Calibrating delay using timer specific routine.. 6001.51 BogoMIPS (lpj=3000758)
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
using mwait in idle threads.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
CPU0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz stepping 06
Booting processor 1/1 ip 2000

Initializing CPU#1
Calibrating delay using timer specific routine.. 8277.83 BogoMIPS (lpj=4138918)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz stepping 06

Total of 2 processors activated (14279.35 BogoMIPS).

ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs



Can someone help me with this problem?

Thank you in advance...
_________________
Frank Zappa: "A mind is like a parachute. It doesn't work if it's not open."
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 732
Location: Winnipeg, Canada

PostPosted: Thu Jul 24, 2008 10:11 pm    Post subject: Reply with quote

I have a slight variation on my e8400 as well but nothing as significant. Are you using i686 or amd64 gentoo? Which kernel version are you running and did you configure it yourself?

Code:
hydra ~ # cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family   : 6
model      : 23
model name   : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
stepping   : 6
cpu MHz      : 2999.982
cache size   : 6144 KB
physical id   : 0
siblings   : 2
core id      : 0
cpu cores   : 2
fpu      : yes
fpu_exception   : yes
cpuid level   : 10
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips   : 6003.52
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   : 6
cpu MHz      : 2999.982
cache size   : 6144 KB
physical id   : 0
siblings   : 2
core id      : 1
cpu cores   : 2
fpu      : yes
fpu_exception   : yes
cpuid level   : 10
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips   : 5999.94
clflush size   : 64
cache_alignment   : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
Back to top
View user's profile Send private message
eelke
Guru
Guru


Joined: 17 May 2004
Posts: 406
Location: Earth, Netherlands, Friesland

PostPosted: Fri Jul 25, 2008 7:31 am    Post subject: Reply with quote

The bogomips value is "measured" at boot time and is never completly accurate but the difference on your system is to large to be explained. Can you reboot a couple of times and see if these values are consistently reported?
Back to top
View user's profile Send private message
]Trix[
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 184

PostPosted: Fri Jul 25, 2008 1:21 pm    Post subject: Reply with quote

I tried rebooting and the values have changed to "normal"...

Quote:

processor : 0
bogomips : 6001.54

processor : 1
bogomips : 5998.45


I have even tried a gentoo live cd and ubuntu live cd. And the vaules are practically the same.

Guess it was somekind of wierd glitch somewhere or whatever.

I will try a couple of times after I get home from work... And if anything changes I will report here.

Thanks for your help.
_________________
Frank Zappa: "A mind is like a parachute. It doesn't work if it's not open."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum