lkml.org 
[lkml]   [2002]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: Problem determining number of CPUs
From
Date
On Wed, 2002-08-21 at 16:20, Matt_Domsch@Dell.com 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.
> http://lists.us.dell.com/pipermail/linux-poweredge/2002-July/003465.html
>

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

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.058 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site