From owner-freebsd-questions Sat Apr 22 19: 1: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from janus.hosting4u.net (janus.hosting4u.net [209.15.2.37]) by hub.freebsd.org (Postfix) with SMTP id 3974037B7D5 for ; Sat, 22 Apr 2000 19:00:52 -0700 (PDT) (envelope-from andy@friends-tv.net) Received: (qmail 27692 invoked from network); 23 Apr 2000 02:00:51 -0000 Received: from jupiter.hosting4u.net (HELO friends-tv.net) (209.15.2.9) by janus.hosting4u.net with SMTP; 23 Apr 2000 02:00:51 -0000 Received: from blade ([195.217.160.159]) by friends-tv.net ; Sat, 22 Apr 2000 21:00:48 -0500 Message-ID: <023a01bfacc7$f92c4280$0100a8c0@blade> From: "Andy Coates" To: "Greg Lehey" Cc: References: <017701bfac70$2152eaa0$0100a8c0@blade> <20000423105631.E4675@freebie.lemis.com> <022f01bfacc5$f9d11ff0$0100a8c0@blade> <20000423112304.F4675@freebie.lemis.com> Subject: Re: Dual Processors Date: Sun, 23 Apr 2000 03:02:20 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Greg Lehey" To: "Andy Coates" Cc: Sent: Sunday, April 23, 2000 2:53 AM Subject: Re: Dual Processors > [Format recovered--see http://www.lemis.com/email/email-format.html] > > On Sunday, 23 April 2000 at 2:48:05 +0100, Andy Coates wrote: > > On Sunday, April 23, 2000 2:26 AM, Greg Lehey wrote: > >> On Saturday, 22 April 2000 at 16:33:34 +0100, Andy Coates wrote: > >>> > >>> 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! > > > > Yep, its there. I did actually see that message on bootup, and first > > impression was that only #1 CPU had been started or something, and > > wondered where #2 was :-) > > You don't have a #2. #0 is what produced all the messages so far. > > > Thanks for clearing it up. > > > > Now I rest in the knowledge my box is running at its fastest :-) > > I've just installed a system with exactly the same motherboard/CPU > combination. I'm quite impressed. As am I, and I was tempted to try and overclock them - but I hear its hard to debug if the system dies from overclocking. If anyone else has the same setup (BP6/2x466 celerons) and has safely overclocked them for some time now without any instability, let us know. Andy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message