From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 12 17:20:59 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 896D216A4CE; Wed, 12 Nov 2003 17:20:59 -0800 (PST) Received: from smtp.sw.oz.au (alt.aurema.com [203.217.18.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6FF543FDD; Wed, 12 Nov 2003 17:20:57 -0800 (PST) (envelope-from vance@aurema.com) Received: from smtp.sw.oz.au (localhost [127.0.0.1]) by smtp.sw.oz.au with ESMTP id hAD1KlBA005633; Thu, 13 Nov 2003 12:20:47 +1100 (EST) Received: (from vance@localhost) by smtp.sw.oz.au id hAD1KkU9005632; Thu, 13 Nov 2003 12:20:46 +1100 (EST) Date: Thu, 13 Nov 2003 12:20:46 +1100 From: Christopher Vance To: Daniel Ellard Message-ID: <20031113012046.GB407@aurema.com> References: <20031112103358.S11644@bowser.eecs.harvard.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.38 cc: freebsd-hackers@FreeBSD.org cc: John Baldwin Subject: Re: Confused about HyperThreading and Performance X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 01:20:59 -0000 On Wed, Nov 12, 2003 at 06:07:58PM -0500, John Baldwin wrote: >APIC is not on by default for 4.9, it will be for 5.2. 4.9 does have >HTT on by default when you build an SMP kernel though. Did you include >'options HTT' in your 4.8 SMP kernel? If not, you aren't actually >using your second CPU. Also, as someone else mentioned, setting >'machdep.cpu_idle_hlt=1' can be useful on some HTT systems. However, >p4's have a problem with their interrupt routing that can leave the >second CPU halted for a long time if you do that. Just because you have a cpu with HTT doesn't mean you can use it. Your motherboard and BIOS also need to be aware of it, and enable it. -- Christopher Vance