Re: [PATCH 1/4] [x86] Add command line option to enable/disablehyper-threading.

From: Alan
Date: Thu Nov 30 2006 - 05:59:50 EST


On Wed, 29 Nov 2006 23:26:05 -0500
Ben Collins <bcollins@xxxxxxxxxx> wrote:

> This patch adds a config option to allow disabling hyper-threading by
> default, and a kernel command line option to changes this default at
> boot time.
>
> Signed-off-by: Ben Collins <bcollins@xxxxxxxxxx>

The description is wrong - this does not disable hyperthreading it merely
leaves one thread idle. I don't believe Intel have ever published a
procedure for truely disabling HT, but if you idle a thread you may want
to adjust the cache settings on a PIV (10.5.6 in the intel docs) and set
it to shared mode. Need to play more with what the bios does I guess.

So Ack but with the proviso it should say "Ignoring" or "Not using" not
"Disabling", because it does not do the latter and there seem to be
performance differences as a result

Acked-by: Alan Cox <alan@xxxxxxxxxx>

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/