Date: Mon, 9 Mar 2015 21:03:47 +0000 From: "Pokala, Ravi" <rpokala@panasas.com> To: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: detecting hyperthreading Message-ID: <D12358C5.12F652%rpokala@panasas.com>
next in thread | raw e-mail | index | archive | help
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=3Drevision&revision=3D222853)= . That said, is there currently a way to tell at runtime from userland if hyperthreading is enabled or not? Thanks, Ravi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D12358C5.12F652%rpokala>