From owner-freebsd-questions Sat Apr 22 18:26:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 181DE37B867 for ; Sat, 22 Apr 2000 18:26:39 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA04924; Sun, 23 Apr 2000 10:56:31 +0930 (CST) Date: Sun, 23 Apr 2000 10:56:31 +0930 From: Greg Lehey To: Andy Coates Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Dual Processors Message-ID: <20000423105631.E4675@freebie.lemis.com> References: <017701bfac70$2152eaa0$0100a8c0@blade> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <017701bfac70$2152eaa0$0100a8c0@blade> Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 22 April 2000 at 16:33:34 +0100, Andy Coates wrote: > Hi, > > I currently have a Abit BP6 motherboard with 2 celeron 466's. I'm not sure > how to make FreeBSD make use of both these processors, can anyone give me a > point in the right direction as to where I should be looking? > > I added SMP options in the kernel config, but I wasn't too sure what to use > so I left the defaults in: > # To make an SMP kernel, the next two are needed > options SMP # Symmetric MultiProcessor Kernel > options APIC_IO # Symmetric (APIC) I/O > # Optionally these may need tweaked, (defaults shown): > options NCPU=2 # number of CPUs > options NBUS=4 # number of busses > options NAPIC=1 # number of IO APICs > options NINTR=24 # number of INTs > > Would that be okay? And how can I test that I am using both processors? I > tried running a CPU intensive program and the load average never went over > 1, which I thought would reach 2 if 2 processors were in use. If you run one CPU intensive program, it will run in one CPU. You need at least two to use both CPUs. Take a look at dmesg. You should see: SMP: AP CPU #1 Launched! Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message