From owner-freebsd-questions Fri Nov 26 6:47:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.10.60]) by hub.freebsd.org (Postfix) with ESMTP id A717E14D9B for ; Fri, 26 Nov 1999 06:47:14 -0800 (PST) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.9.2/8.9.2) with ESMTP id PAA36465; Fri, 26 Nov 1999 15:47:04 +0100 (CET) (envelope-from kheuer@gwdu60.gwdg.de) Date: Fri, 26 Nov 1999 15:47:04 +0100 (CET) From: Konrad Heuer To: Micke Josefsson Cc: Peter Sidow , freebsd-questions@FreeBSD.ORG Subject: RE: Multiple=?iso-8859-1?Q?_CPU=B4s?= ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 26 Nov 1999, Micke Josefsson wrote: > 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=B4s? I have a giga motherboard with t= wo > > 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=B4s. > >=20 > > Regards and thanks! > First you will need at least version 3.0. >=20 > Look into /usr/src/sys/i386/conf/GENERIC >=20 > there you will find: >=20 > # 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=3D2 # number of CPUs > #options NBUS=3D4 # number of busses > #options NAPIC=3D1 # number of IO APICs > #options NINTR=3D24 # number of INTs >=20 > I just uncommented the two first options and recompiled the kernel. At th= e next > boot both processors came up. >=20 > With the 'top' command you'll have an extra column indicating which CPU i= s > doing what. >=20 > My motherboard TYAN 1669(?) needed its BIOS updated, but all was easy aft= er > that. Furthermore, after booting the generic single-cpu kernel, you can run `mptable' (in `/usr/sbin') to view some parameters for your board which may be useful for configuring the SMP kernel. Regards // // Konrad Heuer ____ ___ _____= __=20 // Gesellschaft f=FCr wissenschaftliche / __/______ ___ / _ )/ __= / _ \ // Datenverarbeitung mbH G=D6ttingen / _// __/ -_) -_) _ |\ \/= // / // Am Fa=DFberg, D-37077 G=D6ttingen /_/ /_/ \__/\__/____/___= /____/=20 // Deutschland (Germany) ----- The Power to Serve ----= - // http://www.freebsd.org // kheuer@gwdu60.gwdg.de // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message