Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Apr 2007 19:14:39 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: trouble with HT
Message-ID:  <46145B8F.3010109@u.washington.edu>
In-Reply-To: <4613848B.5080306@tiscali.it>
References:  <20070403194555.4a9d1f2f.freebsd@dfwlp.com>	<20070404005721.GA19966@xor.obsecurity.org>	<20070403212527.b94753ea.freebsd@dfwlp.com> <4613848B.5080306@tiscali.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46145B8F.3010109>