RE: Detecting number of Physical CPUs in Intel Hyperthreaded CPU systems

2002-05-23 Thread Ken Sheppard
atusFlag = HT_SUPPORTED_NOT_ENABLED; } } else { // Processors do not have Hyper-Threading technology StatusFlag = HT_NOT_CAPABLE; *LogicalNum = 1; } return StatusFlag; } > -Original Message-

Re: Detecting number of Physical CPUs in Intel Hyperthreaded CPU

2002-05-21 Thread James Olin Oden
> > >>> > processors=`egrep -c ^cpu[0-9]+ /proc/stat || :` > >>> > I don't believe this works. It simply tells me how many logical > processors I have on my machine, i.e. it yields 4 opposed to 2. > > Does anyone know the current state of hyper-threading support for > Linux? I've h

RE: Detecting number of Physical CPUs in Intel Hyperthreaded CPU systems

2002-05-20 Thread Matthews, John
2.4.18 too. Are there any issues that exist with correctly enabling hyper-threading? Thanks, John -Original Message- From: Matt Wilson [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 19, 2002 1:25 AM To: [EMAIL PROTECTED] Subject: Re: Detecting number of Physical CPUs in Int

Re: Detecting number of Physical CPUs in Intel Hyperthreaded CPU systems

2002-05-18 Thread Matt Wilson
To really do this you need ACPI. Outside of ACPI there's no way to tell if the logical CPUs are coming from one physical processor or not. Cheers, Matt On Sat, May 18, 2002 at 07:15:54PM -0700, Ken Sheppard wrote: > > Does anyone know how I can determine the number of physical processors > on

RE: Detecting number of Physical CPUs in Intel Hyperthreaded CPU systems

2002-05-18 Thread Ken Sheppard
EMAIL PROTECTED] > Subject: Re: Detecting number of Physical CPUs in Intel Hyperthreaded CPU > systems > > You can do something like this from the shell: > > processors=`egrep -c ^cpu[0-9]+ /proc/stat || :` > > René > > Ken Sheppard wrote: > > Does anyone know ho