6.2-RELEASE does not use second CPU on pentium D

Oliver Fromme olli at lurza.secnetix.de
Wed Apr 25 14:08:17 UTC 2007


Alex Povolotsky wrote:
 > I have a Pentium D box, running 6.2-RELEASE. In dmesg, I see CPU#1 
 > launched, but I never see any process running on it, and mptable shows

Hyperthreading is disabled by default in FreeBSD (for
security reasons).  You can enable it via sysctl if
you want (machdep.hyperthreading_allowed=1).

However, note that it might not make your machine any
faster (in fact, a UP kernel might be faster; it depends
on the kind of programs that you're running).  Also
not that there is a potential security issue with hyper-
threading (information leak).

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"When your hammer is C++, everything begins to look like a thumb."
        -- Steve Haflich, in comp.lang.c++


More information about the freebsd-stable mailing list