From owner-freebsd-smp Mon Jun 2 21:39:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA03487 for smp-outgoing; Mon, 2 Jun 1997 21:39:33 -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 VAA03448 for ; Mon, 2 Jun 1997 21:39:30 -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 WAA15897; Mon, 2 Jun 1997 22:29:15 -0600 (MDT) Message-Id: <199706030429.WAA15897@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: gshaffer@cod.nosc.mil (Gregory M. Shaffer) cc: smp@FreeBSD.ORG Subject: Re: Parallel make worlds In-reply-to: Your message of "Mon, 02 Jun 1997 20:33:18 PDT." <9706030333.AA20318@cod.nosc.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Jun 1997 22:29:15 -0600 Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > ------- > I noticed that when I do a 'make -j 8 world' I do not get the extra speed > benefit of my second CPU. I searched the mailing list archives at > www.freebsd.org for info on parallel make worlds. I did not find any > definitive answer that this is even possible or advisable. I would like to > take advatange of this if at all possible. Can some kind soul please point > me in the right direction or provide me with the required modes to make this > happen. I too would love to be able to do this, but it doesn't currently work. There is a fair degree of work to be done to the /usr/share/mk/* files for it to be possible. My first experiments with it showed problems with dependancies for *.y files (lex,yacc stuff), as well as other misc. things. The basic problem is that these files, as well as some of the actual Makefiles, do not define the dependancies well enough for a parallel system. When run on a single CPU system they work OK, but fall apart when races occure between 2 or more CPUs. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD