RE: Problem determining number of CPUs

From: Jesper Juhl (
Date: Wed Aug 21 2002 - 09:37:14 EST

On Wed, 2002-08-21 at 16:20, wrote:
> > Linux kernel versions 2.4.18, 2.4.19, 2.4.20pre4 do not determine
> > correctly the number of CPUs on our system. We see 8 CPUs
> > instead of 4,
> > however the system works.
> >
> > Our machine: Dell PowerEdge 6600, 4 Xeon 1400 Mhz, 4GB RAM
> Yes, this is expected behavior due to hyperthreaded processors.

I'm aware that hyperthreading makes each CPU appear as two. But wouldn't
it be possible to determine this fact and report it to the user to avoid
confusion (not everyone knows about hyperthreading) ?

In the case of 4 HT capable CPU's it could be reported like

8 CPUs (4 physical)

or something like that to indicate that there is nothing wrong and the
kernel is simply taking advantage of hyperthreading.

Just my two euro-cents...

/Jesper Juhl

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:22 EST