detecting hyperthreading

Wojciech Puchar wojtek at puchar.net
Wed Mar 11 07:14:57 UTC 2015


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>


More information about the freebsd-hackers mailing list