From: Andrew Theurer <habanero@us.ibm.com>
To: linux-kernel@vger.kernel.org
Subject: Hyperthreading and physical/logical CPU identification
Date: Mon, 29 Apr 2002 13:31:53 -0500 [thread overview]
Message-ID: <200204291849.NAA23906@popmail.austin.ibm.com> (raw)
Hello all,
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?)
Thanks
Andrew Theurer
next reply other threads:[~2002-04-29 18:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-29 18:31 Andrew Theurer [this message]
2002-04-29 22:41 ` Hyperthreading and physical/logical CPU identification Martin J. Bligh
2002-04-30 17:00 ` Jack F. Vogel
-- strict thread matches above, loose matches on Subject: below --
2002-04-29 19:40 Grover, Andrew
2002-04-29 19:59 ` Andrew Theurer
2002-04-29 22:20 ` J.A. Magallon
2002-04-29 23:14 ` Jauder Ho
2002-04-29 20:41 Holzrichter, Bruce
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=200204291849.NAA23906@popmail.austin.ibm.com \
--to=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