mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Grover, Andrew" <andrew.grover@intel.com>
To: "'Andrew Theurer'" <habanero@us.ibm.com>, linux-kernel@vger.kernel.org
Subject: RE: Hyperthreading and physical/logical CPU identification
Date: Mon, 29 Apr 2002 12:40:42 -0700	[thread overview]
Message-ID: <59885C5E3098D511AD690002A5072D3C02AB7DF0@orsmsx111.jf.intel.com> (raw)

> From: Andrew Theurer [mailto:habanero@us.ibm.com] 
> I would like to know if there is any way to confirm that I have 
> hyperthreading enabled, and my P4 CPUs are hyperthreaded.  
> Actually, from 
> something like /proc/cpuinfo, I'd like to figure out if I am 
> seeing 2/4 
> physical/logical processors, as a result from hyperthreading, or 4/4 
> physical/logical processors with no hyperthreading.  I know, 
> "If it's double 
> the number of physical processors, well you have 
> hyperthreading enabled."  
> The problem is, I have 4 physical processors, but kernel.org 
> kernels so far 
> do not recognize all of them.  2.4.18 will find 3, while 
> 2.5.11 will find 
> only 2 (BIOS hyperthreading support off, no acpismp=force).  
> However, on 
> 2.5.11, if I enable hyperthreading (thru BIOS and 
> acpismp=force, I see 4 
> processors.  
> 
> I would very much like to believe that in this configuration, 
> I am only 
> running on 2 physical, 4 logical processors, but I am getting a 31% 
> improvement (netbench) when hyperthreading is enabled.  Thats 
> why I want to 
> confirm I am really only using 2 physical, 4 logical 
> processors.  Is there 
> any way I can do this? (dmesg? /proc/cpuinfo?)

Well the two alternatives are, either A) turning on hyperthreading enabled
the two virtual processors or B) turning on hyperthreading somehow enabled
the other two processors, right?

I would think B would be highly unlikely.

Anyone else who actually has HT hardware care to comment? ;-)

Regards -- Andy

             reply	other threads:[~2002-04-29 19:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-29 19:40 Grover, Andrew [this message]
2002-04-29 19:59 ` Andrew Theurer
2002-04-29 22:20   ` J.A. Magallon
2002-04-29 23:14 ` Jauder Ho
  -- strict thread matches above, loose matches on Subject: below --
2002-04-29 20:41 Holzrichter, Bruce
2002-04-29 18:31 Andrew Theurer
2002-04-29 22:41 ` Martin J. Bligh
2002-04-30 17:00   ` Jack F. Vogel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59885C5E3098D511AD690002A5072D3C02AB7DF0@orsmsx111.jf.intel.com \
    --to=andrew.grover@intel.com \
    --cc=habanero@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®