Dual 2.40ghz xeon w/hyperthreading

John Baldwin jhb at FreeBSD.org
Fri Apr 25 09:31:46 PDT 2003


On 25-Apr-2003 jeev wrote:
> Which would give me the best performance? To disable hyperthreading or
> enable machdep.cpu_idle_hlt, and if I were to enable it, it would be from
> loader.conf or?

Actually, if you have recent current, your hyperthreading CPU's are already
basically idle.  You can check the machdep.hlt_logical_cpus sysctl to see
if they are disabled or not.  1 means they are disabled, 0 means they are
being used to run user processes.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the freebsd-smp mailing list