From owner-freebsd-current Wed Jun 4 18:32:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA25646 for current-outgoing; Wed, 4 Jun 1997 18:32:42 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA25641 for ; Wed, 4 Jun 1997 18:32:40 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id SAA14576 for ; Wed, 4 Jun 1997 18:32:35 -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 TAA24836; Wed, 4 Jun 1997 19:31:08 -0600 (MDT) Message-Id: <199706050131.TAA24836@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: Glenn Johnson cc: freebsd-current@FreeBSD.ORG Subject: Re: Second processor not being used? In-reply-to: Your message of "Tue, 03 Jun 1997 14:10:55 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Jun 1997 19:31:08 -0600 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > I just install a second Pentium Pro processor in my system. I built an SMP > kernel, rebooted, and the second processor is found and brought online. Are you setting SMP_AUTOSTART in the config file? there are several places in the boot where references are made to the 2nd CPU, but that doesn't mean that its running processes. > However, it does not appear to do anything. I submitted two jobs that each > require about 3 hours of computation time (very little disk I/O). Both jobs > were being run from the primary processor however. Is there something I need to > do to tell a job to go to a certain processor? Please help. this doesn't make alot of sense, but then you knew that! try making a kernel with 1 cpu running: sysctl -w kern.smp_active=1 cd /usr/src/sys/compile/SMP make clean && make depend && time make -j4 then with 2 CPUs running: sysctl -w kern.smp_active=2 cd /usr/src/sys/compile/SMP make clean && make depend && time make -j8 let us know the times for each. and give us an mptable: mptable -dmesg > outfile -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD