From owner-freebsd-questions Thu Aug 8 23:59: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8A3C37B400 for ; Thu, 8 Aug 2002 23:59:05 -0700 (PDT) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 611C543E84 for ; Thu, 8 Aug 2002 23:59:04 -0700 (PDT) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id g796x1H05847; Fri, 9 Aug 2002 09:59:01 +0300 Message-Id: <200208090659.g796x1H05847@lv.raad.tartu.ee> Received: from SpoolDir by INFO (Mercury 1.48); 9 Aug 02 09:58:01 +0300 From: "Toomas Aas" Organization: Tartu City Government To: "[brano]" , freebsd-questions@freebsd.org Date: Fri, 9 Aug 2002 09:57:56 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: dual CPU MB In-reply-to: <0d5901c23eed$c7c198c0$028c630a@brano> X-info: Headers changed by Barricade Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "[brano]" > 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 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