RE: Kernel reports 4 CPUS instead of 2...

Matt_Domsch@Dell.com
Wed, 16 Oct 2002 20:02:42 -0500


> My /proc/cpuinfo says I have ht CPU's... but i only see 2
> CPU's... (Yet
> I have 2 1.7Ghz XEONs in the box so shouldn't I see 4?)

1.8GHz Xeon and above have HyperThreading implemented. Below that
processors may show the 'ht' bit in /proc/cpuinfo, but don't actually have
HT implemented on the chip. There's a secondary call you have to make to
get the count of actual logical processors implemented - the 'ht' bit means
that the architecture is ht-capable. :-)

Thanks,
Matt

--
Matt Domsch
Sr. Software Engineer, Lead Engineer, Architect
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com

- 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/