From owner-freebsd-questions Fri Nov 26 6:25:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id CE96D14C3F for ; Fri, 26 Nov 1999 06:25:41 -0800 (PST) (envelope-from mj@isy.liu.se) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.9.1/8.9.1) with ESMTP id PAA01518; Fri, 26 Nov 1999 15:22:09 +0100 (MET) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <383E9203.D30F304E@munich.sgi.com> Date: Fri, 26 Nov 1999 15:22:07 +0100 (CET) From: Micke Josefsson To: Peter Sidow Subject: RE: Multiple=?iso-8859-1?Q?_CPU=B4s?= ? Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 26-Nov-99 Peter Sidow wrote: > Hi, > I am running at home an older version ( 2.2.5 I think ) and know that > that version is only good for one CPU. > But does 3.3 support multiple cpu´s? I have a giga motherboard with two > I 586 and would like to use both > processors. I looked into the kernel configuration file from the > handbook but there is still no choice for selecting > two ore more cpu´s. > > Regards and thanks! First you will need at least version 3.0. Look into /usr/src/sys/i386/conf/GENERIC there you will find: # 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 I just uncommented the two first options and recompiled the kernel. At the next boot both processors came up. With the 'top' command you'll have an extra column indicating which CPU is doing what. My motherboard TYAN 1669(?) needed its BIOS updated, but all was easy after that. Hope it helps a bit. /Micke ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 3.1 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message