Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2015 08:14:34 +0100 (CET)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        "Pokala, Ravi" <rpokala@panasas.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: detecting hyperthreading
Message-ID:  <alpine.BSF.2.11.1503110814220.866@laptop.wojtek.intra>
In-Reply-To: <D12358C5.12F652%rpokala@panasas.com>
References:  <D12358C5.12F652%rpokala@panasas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
dmesg
look at "HTT" CPU capability

On Mon, 9 Mar 2015, Pokala, Ravi wrote:

> Hi folks,
>
> There used to be a sysctl, "machdep.hyperthreading_allowed", which
> indicated whether or not the kernel was using hyperthreaded cores. It
> looks like it was removed sometime between 8 and 9, for perfectly good
> reasons (https://svnweb.freebsd.org/base?view=revision&revision=222853).
>
> That said, is there currently a way to tell at runtime from userland if
> hyperthreading is enabled or not?
>
> Thanks,
>
> Ravi
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1503110814220.866>