RE: /proc/cpuinfo and hyperthreading

Scott Robert Ladd (scott@coyotegulch.com)
Sun, 15 Dec 2002 23:13:17 -0500


Robert Love wrote:
> Yep, the 'siblings' value is the number of virtual processors in the
> physical package.
>
> Do you only see one processor listing in /proc/cpuinfo, though? You
> should see one for each (virtual) processor. That means two in a single
> HT-enabled P4, each with the same physical id.

That's what I expected!

> So it seems your chip works... is the kernel compiled for SMP?

Yup, it's compiled for SMP -- or, at least, I selected that option in make
menuconfig... ;) The boot reports:

Dec 15 11:51:18 Tycho kernel: Linux version 2.5.51 (root@Tycho)
(gcc version 2.95.4 20011002 (Debian prerelease))
#11 SMP Sat Dec 14 21:40:42 EST 2002

But later in the boot, it also states:

Dec 15 11:51:18 Tycho kernel: SMP motherboard not detected.

Something just doesn't look right about this.

..Scott

--
Scott Robert Ladd
Coyote Gulch Productions,  http://www.coyotegulch.com
No ads -- just very free (and somewhat unusual) code.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/