Wrong number of CPU's in /proc/cpuinfo

Kaski, Samuli samuli.kaski at cgey.com
Fri Apr 11 16:01:07 MET DST 2003


Hi.

Are you by any chance running P4 Hyper Threading (HT) or Xeon MP (also HT)
based systems? If you are, don't worry it's by design.

	Samuli

-----Original Message-----
From: Oliver Butanowitz [mailto:Oliver.Butanowitz at alis.de]
Sent: 11. huhtikuuta 2003 16:05
To: linux.general at listserv.sap.com
Subject: Wrong number of CPU's in /proc/cpuinfo


Hi all,

we are running SAP Application servers on Dell-Systems.
I realized on two new machines that the number of CPU's
in /proc/cpuinfo isn't right.
E.g. on a 2 CPU System /proc/cpuinfo contains the information
of 4 CPU's.
Also top think the system has 4 CPU's.

We are running SLES7 with 2.4.18-64GB-SMP kernel.
Any ideas why we see 4 CPU's ?

Oliver

lxapp3:~ # uname -a
Linux lxapp3 2.4.18-64GB-SMP #1 SMP Mon Sep 2 20:28:17 GMT 2002 i686 unknown
lxapp3:~ # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.00GHz
stepping        : 7
cpu MHz         : 1991.321
cache size      : 512 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
bogomips        : 3971.48

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.00GHz
stepping        : 7
cpu MHz         : 1991.321
cache size      : 512 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
bogomips        : 3971.48

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.00GHz
stepping        : 7
cpu MHz         : 1991.321
cache size      : 512 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
bogomips        : 3971.48

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.00GHz
stepping        : 7
cpu MHz         : 1991.321
cache size      : 512 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
bogomips        : 3971.48

Output of top:

lxapp3:~ # top
50 processes: 49 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
CPU2 states:  0.0% user,  0.1% system,  0.0% nice, 99.0% idle
CPU3 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
Mem:  3105544K av, 1213168K used, 1892376K free,       0K shrd,  184776K
buff
Swap: 8192992K av,       0K used, 8192992K free                  912688K 
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
16098 root      15   0  1032 1028   816 R     0.9  0.0   0:00 top
    1 root      15   0   220  220   184 S     0.0  0.0   0:04 init
    2 root      0K   0     0    0     0 SW    0.0  0.0   0:00 migration_CPU0
    3 root      0K   0     0    0     0 SW    0.0  0.0   0:00 migration_CPU1
    4 root      0K   0     0    0     0 SW    0.0  0.0   0:00 migration_CPU2
    5 root      0K   0     0    0     0 SW    0.0  0.0   0:00 migration_CPU3
    6 root      15   0     0    0     0 SW    0.0  0.0   0:00 keventd
    7 root      34  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU0
    8 root      34  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU1
    9 root      34  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU2
   10 root      34  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU3
   11 root      25   0     0    0     0 SW    0.0  0.0   0:00 kswapd
   12 root      25   0     0    0     0 SW    0.0  0.0   0:00 bdflush
   13 root      15   0     0    0     0 SW    0.0  0.0   0:05 kupdated
   14 root      25   0     0    0     0 SW    0.0  0.0   0:00 kinoded
_______________________________________________
linux.general mailing list
linux.general at listserv.sap.com
http://listserv.sap.com/mailman/listinfo/linux.general


This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.




More information about the linux.general mailing list