5.5 and SMP

Mikhail Goriachev mikhailg at webanoide.org
Mon Aug 28 00:29:09 UTC 2006


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 at webanoide.org
Web: http://www.webanoide.org

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


More information about the freebsd-questions mailing list