Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 14:37:49 +0000
From:      Pete French <petefrench@ticketswitch.com>
To:        freebsd-amd64@freebsd.org, wmoran@collaborativefusion.com
Cc:        bseklecki@collaborativefusion.com
Subject:   Re: How is hyperthreading handled on amd64?
Message-ID:  <E1FIoBB-00011G-P4@dilbert.firstcallgroup.co.uk>
In-Reply-To: <20060313085431.0eb059d9.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> After building a kernel with SMP, I do see 2 logical processors,
> and top(1) shows both of them doing their thing.  However,
> machdep.hypterthreading_allowed is set to 0.  Is the amd64 kernel
> ignoring this value, or is top(1) reporting incorrectly?

It seems to be a bug - if you have an SMP kernel you cant turn off
hyperthreading, no matter which knobs you twiddle. Not amd64 specific
either. Even with all the hyperthreading variables off and with the
masks showing that processes should not be scheduled on the second CPU's
I still see stuff on 0, 1, 2 and 3.

-pcf.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FIoBB-00011G-P4>