Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2006 10:28:43 +1000
From:      Mikhail Goriachev <mikhailg@webanoide.org>
To:        Noah <admin2@enabled.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 5.5 and SMP
Message-ID:  <44F238BB.8090203@webanoide.org>
In-Reply-To: <44F20B3D.4060001@enabled.com>
References:  <44F20B3D.4060001@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Noah wrote:
> Hi there,
> 
> I just installed 5.5 for the first time and I am trying to make sure 
> that SMP is operating properly.  The kernel I have loaded is rebuilt 
> with SMP support.  okay the dmesg is showing two logical CPUs.  I 
> actually only have one CPU as you can tell by the boot information.  I 
> am wondering why top is always displaying '0' in the C column?  on my 
> 4.11 machines that number is set to 0 or 1 depending on the logical CPU 
> that is accessed.
> 
> --- snip ----
> 
> Aug 27 19:19:24 hurricane kernel: Hyperthreading: 2 logical CPUs
> Aug 27 19:19:24 hurricane kernel: real memory  = 2145849344 (2046 MB)
> Aug 27 19:19:24 hurricane kernel: avail memory = 2094419968 (1997 MB)
> Aug 27 19:19:24 hurricane kernel: FreeBSD/SMP: Multiprocessor System 
> Detected: 2 CP
> Us
> Aug 27 19:19:24 hurricane kernel: cpu0 (BSP): APIC ID:  0
> Aug 27 19:19:24 hurricane kernel: cpu1 (AP): APIC ID:  1
> 
> ----  snip ---


Hi,

You have to activate hyperthreading:

http://docs.freebsd.org/cgi/mid.cgi?20060730235206.7A7B743D45


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: mikhailg@webanoide.org
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44F238BB.8090203>