From owner-freebsd-questions@FreeBSD.ORG Tue Dec 13 19:52:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B415716A41F for ; Tue, 13 Dec 2005 19:52:05 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D656943D58 for ; Tue, 13 Dec 2005 19:52:04 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 4EA7D5FD1; Tue, 13 Dec 2005 14:52:04 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63007-10; Tue, 13 Dec 2005 14:52:03 -0500 (EST) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 899695D8F; Tue, 13 Dec 2005 14:52:03 -0500 (EST) In-Reply-To: <1134501177.13444.56.camel@columbus.webtent.org> References: <1134501177.13444.56.camel@columbus.webtent.org> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2DED9AA7-DD0C-43CE-9BDB-45E646B1F604@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Tue, 13 Dec 2005 14:52:01 -0500 To: robert@webtent.com X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at codefab.com Cc: FreeBSD Subject: Re: Multiple CPUs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2005 19:52:05 -0000 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: 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