From owner-freebsd-questions@FreeBSD.ORG Thu Apr 5 02:15:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98D8216A404 for ; Thu, 5 Apr 2007 02:15:17 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 77A9C13C45B for ; Thu, 5 Apr 2007 02:15:17 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l352FGLU000788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 4 Apr 2007 19:15:17 -0700 X-Auth-Received: from [192.168.10.45] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l352FGpM025121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Apr 2007 19:15:16 -0700 Message-ID: <46145B8F.3010109@u.washington.edu> Date: Wed, 04 Apr 2007 19:14:39 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20070403194555.4a9d1f2f.freebsd@dfwlp.com> <20070404005721.GA19966@xor.obsecurity.org> <20070403212527.b94753ea.freebsd@dfwlp.com> <4613848B.5080306@tiscali.it> In-Reply-To: <4613848B.5080306@tiscali.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.4.4.190333 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: trouble with HT 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: Thu, 05 Apr 2007 02:15:17 -0000 Andrea Milani wrote: > Jonathan Horne wrote: >> well, wikipedia says this (something that i just now learned about >> standard pentium4 line of processors) >> [wikipedia] >> HyperThreading was present in all Northwood CPUs, but was disabled in >> the core in all but the 3.06 GHz model. >> [/wikipedia] >> > > That's not true. I have a 2.6 GHz Northwood, and it supports > HyperThreading (however I'm not running FreeBSD on it, so I can't help > you with SMP). > You can use the Intel Processor Spec Finder > (http://processorfinder.intel.com/) to discover the capabilities of > your CPU, but I think the "HTT" that appears in the dmesg output > stands for Hyper Threading Technology. As noted by Andrea, HTT has been available since 2.6GHz in the Northwood series (think 2.4GHz was the last non-HTT based Northwood CPU but I'd have to check some internal sources). If you don't have SMP support setup on your freebsd box you need to either a) use the generic SMP kernel (it's called SMP, not GENERIC), or build a custom kernel with the following lines: options SMP device apic Then you'll have a SMP enabled kernel :). You also need to add: kern.smp.active = 1 kern.smp.cpus = 1 to /etc/sysctl.conf. After you do that, you should see the following: [root@hoover /home/gcooper]# dmesg | grep SMP FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs SMP: AP CPU #1 Launched! Either Wikipedia's wrong, or you accidentally misread / misquoted that article. Cheers, -Garrett