Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 14:52:01 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        robert@webtent.com
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Multiple CPUs
Message-ID:  <2DED9AA7-DD0C-43CE-9BDB-45E646B1F604@mac.com>
In-Reply-To: <1134501177.13444.56.camel@columbus.webtent.org>
References:  <1134501177.13444.56.camel@columbus.webtent.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 13, 2005, at 2:12 PM, Robert Fitzpatrick wrote:
> I guess this means my new server is only using one of my CPUs?
>
> esmtp# grep CPU /var/log/dmesg.today
> CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
>   Hyperthreading: 2 logical CPUs
> cpu0: <ACPI CPU (2 Cx states)> on acpi0
>
> Can someone point me to the best doc for enabling use of both CPUs on
> the FreeBSD 5.4 server? I assume the kernel needs built with options.

Note that if you've only got one physical HTT-capable CPU, running in  
single-processor mode is likely to give better performance than  
running SMP just to enable the hyperthreaded virtual CPU.  If you've  
got a dual-CPU box and need to run SMP for that anyway, then using  
HTT seems to sometimes help and sometimes reduce performance.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2DED9AA7-DD0C-43CE-9BDB-45E646B1F604>