From owner-freebsd-questions Sat Oct 19 10: 7:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C287B37B401 for ; Sat, 19 Oct 2002 10:07:35 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51C2043E6E for ; Sat, 19 Oct 2002 10:07:35 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id KAA25320; Sat, 19 Oct 2002 10:06:41 -0700 Message-ID: <3DB19120.6000005@owt.com> Date: Sat, 19 Oct 2002 10:06:40 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Riley Cc: Kris Kennaway , FreeBSD Questions Subject: Re: Buildworld fails References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Riley wrote: >>From: Kris Kennaway >>Sent: Saturday, October 19, 2002 2:44 AM > > >>>1 error >>>*** Error code 2 >> >>The fact that there's no actual error message shown indicates that >>you're doing make installworld with a -j option. This is not >>supported and as you have found is likely to fail. >> >>Kris > > > The lack of an error message did seem odd. Thanks for the heads up. > > Is the Handbook out of date? According the Build World section: > > > It is now possible to specify a -j option to make which will cause it to > spawn several simultaneous processes. This is most useful on multi-CPU > machines. However, since much of the compiling process is IO bound rather > than CPU bound it is also useful on single CPU machines. > > On a typical single-CPU machine you would run: > > # make -j4 buildworld > > make(1) will then have up to 4 processes running at any one time. Empirical > evidence posted to the mailing lists shows this generally gives the best > performance benefit. > > > Let me give it a try without `-j'. > Time it when you do the buildworld such as "time make". There are a lot of us with newer HDs and cpus that have found that no "-j" produces a wall clock time that is 10-20% faster than -j4. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message