Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2000 19:00:10 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        Andy Coates <andy@friends-tv.net>
Cc:        Greg Lehey <grog@lemis.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Dual Processors
Message-ID:  <3902592A.66193EE1@3-cities.com>
References:  <017701bfac70$2152eaa0$0100a8c0@blade> <20000423105631.E4675@freebie.lemis.com> <022f01bfacc5$f9d11ff0$0100a8c0@blade>

next in thread | previous in thread | raw e-mail | index | archive | help


Andy Coates wrote:
> 
> ----- Original Message -----
> From: "Greg Lehey" <grog@lemis.com>
> To: "Andy Coates" <andy@friends-tv.net>
> Cc: <freebsd-questions@FreeBSD.ORG>
> Sent: Sunday, April 23, 2000 2:26 AM
> Subject: Re: Dual Processors
> 
> > 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!
> 
> 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 :-)
> Thanks for clearing it up.
> 
> Now I rest in the knowledge my box is running at its fastest :-)

That won't necessarily be true using a Celeron. The bottleneck in the
kind of calculations I do is the PC-66 memory. In scaling tests that I
did, my Celeron 433a ran at about the same throughput as a p-II 300 on
a 100MHz FSB. They only sold them for 66MHz bus but that was the ratio
I obtained. A pair of dual P-II 350's with 100MHz FSB could out
produce your dual Celeron's.

Kent

-- 
Kent Stewart
Richland, WA

mailto:kstewart@3-cities.com
http://www.3-cities.com/~kstewart/index.html
FreeBSD News http://daily.daemonnews.org/

SETI(Search for Extraterrestrial Intelligence) @ HOME
http://setiathome.ssl.berkeley.edu/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3902592A.66193EE1>