From owner-freebsd-smp Thu May 1 14:06:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA16877 for smp-outgoing; Thu, 1 May 1997 14:06:26 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA16870 for ; Thu, 1 May 1997 14:06:23 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.5/8.8.5) with ESMTP id PAA08374; Thu, 1 May 1997 15:05:52 -0600 (MDT) Message-Id: <199705012105.PAA08374@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: Andreas Klemm cc: Bruce Albrecht , freebsd-smp@freebsd.org Subject: Re: Where to start SMP? In-reply-to: Your message of "Thu, 01 May 1997 21:45:20 +0200." <19970501214520.51610@klemm.gtn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 01 May 1997 15:05:51 -0600 Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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