Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 1997 15:05:51 -0600
From:      Steve Passe <smp@csn.net>
To:        Andreas Klemm <andreas@klemm.gtn.com>
Cc:        Bruce Albrecht <bruce@zuhause.mn.org>, freebsd-smp@freebsd.org
Subject:   Re: Where to start SMP? 
Message-ID:  <199705012105.PAA08374@Ilsa.StevesCafe.com>
In-Reply-To: Your message of "Thu, 01 May 1997 21:45:20 %2B0200." <19970501214520.51610@klemm.gtn.com> 

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

> On Thu, May 01, 1997 at 08:56:17AM -0500, Bruce Albrecht wrote:
> > Where's the recommended location for starting SMP?  I'm doing it in
> > /usr/local/etc/rc.d, but I was wondering if I was missing something.
> > I think it should be added to /etc/rc and /etc/rc.conf now that the
> > SMP code is in -current.
> 
> There are problems, to start the 2nd CPU automatically ...
> See the comments in the commitlogs or in LINT, don't
> remember the exact location ...
> 
> I have created an alias in root's .cshrc
> 
> 	smp     sysctl -w kern.smp_active=2
> 
> This starts nicely the 2nd (or more) CPU.

I do the same thing since I don't necessarily want the 2nd CPU to start 
automatically when I'm debugging the kernel.  But the "automatic startup"
problem is specific to having the kernel attempt to do it early on in the
boot process.  unless  something has changed, it should be OK to have
something in /usr/local/etc/rc.d start the 2nd CPU.

--
Steve Passe	| powered by 
smp@csn.net	|            Symmetric MultiProcessor FreeBSD





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705012105.PAA08374>