From owner-freebsd-questions@FreeBSD.ORG Wed Oct 22 20:10:07 2003 Return-Path: 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 BCD5816A4B3 for ; Wed, 22 Oct 2003 20:10:07 -0700 (PDT) Received: from mail.lincsatmail.com (mail.lincsatmail.com [207.179.143.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9538143FA3 for ; Wed, 22 Oct 2003 20:10:06 -0700 (PDT) (envelope-from gerry@interpool.ca) Received: from interpool.homeunix.com (dpc69192056.direcpc.com [69.19.2.56]) (authenticated) by mail.lincsatmail.com (8.11.6/8.11.6) with ESMTP id h9N39mm32640; Thu, 23 Oct 2003 00:09:52 -0300 Date: Wed, 22 Oct 2003 23:09:58 -0400 From: Gerald Freymann To: mgreene@aci.on.ca Message-Id: <20031022230958.19ca7558.gerry@interpool.ca> In-Reply-To: <000001c3990d$2c0bc7e0$f6c8a8c0@pepstep> References: <000001c3990d$2c0bc7e0$f6c8a8c0@pepstep> Organization: Interpool Development www.interpool.ca X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean cc: freebsd-questions@freebsd.org Subject: Re: Multiple CPUs...verifying X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 03:10:07 -0000 On Wed, 22 Oct 2003 22:27:13 -0400 "Marco Greene (Home)" wrote: |O|>Does FreeBSD autodetect multiple CPU's or do you specifically have to |O|>configure the kernel and recompile? In my experiences with FreeBSD 4-4.8R, you have to uncomment two lines in the kernel config file. # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O and then rebuildworld and kernel. World because there are programs that will compile differently if there are multiple CPU's (at least I think that's right!) Kernel for obvious reason. |O|>outline in the handbook. However, when I try to boot with the new |O|>kernel...it doesn't work. I think you're going to have to give more information than "it doesn't work" if you expect anybody to attempt to offer advice. |O|>Also, how do you verify whether or not both CPUs have been configured |O|>in the kernel...and that they are in fact being used? type: dmesg |more and look through the results. When my dual-cpu loads up, I see where there 2nd CPU is acknowledged. Even doing a 'top' shows me which CPU is in use for each program. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Scary Gerry -- Senior Systems Manager freymann@scaryg.shacknet.nu -For web-hosting, Perl, PHP & MySql programming see http://www.interpool.ca -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-