Skip to contentSkip to conversation

/proc/cpuinfo & top

DISCUSSION Yaoping Ruan 4 participants 4 messages Oct 27, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 5.1.0.14.2.20031022014409.00bd4aa0@hesiod

#1 lore raw

Hi,

I compiled 2.4.21 kernel with SMP and High-MEM enabled on a dual-CPU box, but surprised to see there're 4 CPUs in /proc/cpuinfo and top. But /proc/cpuinfo is correct if SMP is disable during kernel configuration. Did anybody experience this before?

Many thanks in advance

- Yaoping Ruan

#2 lore raw
Quoted 6 lines · Yaoping Ruan

Hi,

I compiled 2.4.21 kernel with SMP and High-MEM enabled on a dual-CPU box, but surprised to see there're 4 CPUs in /proc/cpuinfo and top. But /proc/cpuinfo is correct if SMP is disable during kernel configuration. Did anybody experience this before?

Pretty much an FAQ by now, but here it is from the horse's mouth;

http://www.intel.com/products/ht/hyperthreading_more.htm
http://www.intel.com/products/ht/hyperthreading.htm?iid=ipp_htm+ht&

#3 lore raw
In reply to Yaoping Ruan
Quoted 6 lines · On Mon, 27 Oct 2003 16:31:40 -0500 (EST) Yaoping Ruan <[email protected]>…

Hi,

I compiled 2.4.21 kernel with SMP and High-MEM enabled on a dual-CPU box, but surprised to see there're 4 CPUs in /proc/cpuinfo and top. But /proc/cpuinfo is correct if SMP is disable during kernel configuration. Did anybody experience this before?

P4s with HT by any chance?

#4 lore raw
In reply to Yaoping Ruan

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · Yaoping Ruan

Hi,

Hi,

Quoted 4 lines

I compiled 2.4.21 kernel with SMP and High-MEM enabled on a dual-CPU box, but surprised to see there're 4 CPUs in /proc/cpuinfo and top. But /proc/cpuinfo is correct if SMP is disable during kernel configuration. Did anybody experience this before?

Is it a dual HT system? Two HyperThreaded CPUs should become 4 virtual CPUs.

Quoted 3 lines

Many thanks in advance

- Yaoping Ruan

- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ] -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/nZWaoxoigfggmSgRAuKKAJ4pKhyPIsnpk1u03mfBHODY2Z4KnwCfVcPH VpyrfLhpspF0jdsaOAdvy7I=
=cLMb
-----END PGP SIGNATURE-----