Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 09:57:56 +0300
From:      "Toomas Aas" <toomas.aas@raad.tartu.ee>
To:        "[brano]" <brano@zahrobie.sk>, freebsd-questions@freebsd.org
Subject:   Re: dual CPU MB
Message-ID:  <200208090659.g796x1H05847@lv.raad.tartu.ee>
In-Reply-To: <0d5901c23eed$c7c198c0$028c630a@brano>

next in thread | previous in thread | raw e-mail | index | archive | help
> From:          "[brano]" <brano@zahrobie.sk>
> Subject:       dual CPU MB
> Date:          Thu, 8 Aug 2002 17:10:48 +0200

> what I need add to KERNEL to support mutliprocesoring ?
> I add:
> options  SMP   # Symmetric MultiProcessor Kernel
> options  APIC_IO   # Symmetric (APIC) I/O
> but I have still poor benchmarks (equivalent to one CPU)

Maybe the benchmark you are using does not support SMP?

To make sure SMP is working, look for the lines in dmesg output that 
look something like:

FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
<snip>
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!

Also, when you run 'top', you should see that some processes run on 
CPU 0 and some on CPU 1.

--
Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* When cheese gets it's picture taken, what does it say?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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