From: Len Brown <len.brown@intel.com>
To: Kernel Mailing List <linux-kernel@vger.kernel.org>,
ACPI Developers <acpi-devel@lists.sourceforge.net>
Subject: how to disable HT
Date: 18 Mar 2004 22:18:49 -0500 [thread overview]
Message-ID: <1079666329.3274.55.camel@dhcppc4> (raw)
BIOS SETUP is the best method to disable HT. But sometimes
that isn't practical, so disabling at Linux boot-time is needed.
Most OEMs' BIOS enumerates primary logical processors before
secondary logical processors -- so reducing NR_CPUS at build-time
can start a processor per package before hitting the limit --
effectively disabling HT.
2.6.5-rc1-mm2 includes a patch that allows boot-time maxcpus=N to
work the same as NR_CPUS=N:
http://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5-rc1/2.6.5-rc1-mm2/broken-out/bk-acpi.patch
It moves maxcpus=N earlier to cpu enumeration time
from CPU startup time.
So if disabling HT at boot-time is important to you, please
try it out and comment on the success/failure in the bug report:
http://bugzilla.kernel.org/show_bug.cgi?id=2317
I expect that it will work on most systems, but not all, and so it
is important to look in dmesg to verify that it disabled the
secondary logical processors at intended.
eg. system with 4 logical processors booted with maxcpus=2:
Total of 2 processors activated (11091.96 BogoMIPS).
WARNING: No sibling found for CPU 0.
WARNING: No sibling found for CPU 1.
thanks,
-Len
reply other threads:[~2004-03-19 3:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1079666329.3274.55.camel@dhcppc4 \
--to=len.brown@intel.com \
--cc=acpi-devel@lists.sourceforge.net \
--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