From owner-freebsd-stable Wed Apr 21 18:14:23 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mercury.gfit.net (ns.gfit.net [209.41.124.90]) by hub.freebsd.org (Postfix) with ESMTP id 38A2B1570C for ; Wed, 21 Apr 1999 18:13:37 -0700 (PDT) (envelope-from tom@embt.com) Received: from gizmo (timembt.iinc.com [206.67.169.229]) by mercury.gfit.net (8.8.8/8.8.8) with SMTP id UAA28329 for ; Wed, 21 Apr 1999 20:06:10 GMT (envelope-from tom@embt.com) Message-Id: <3.0.3.32.19990421211251.006a12c4@mail.embt.com> X-Sender: tembt@mail.embt.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Wed, 21 Apr 1999 21:12:51 -0400 To: freebsd-stable@freebsd.org From: Tom Embt Subject: Re: dual P2 In-Reply-To: <19990421163005.B18302@nuxi.com> References: <3.0.3.32.19990420234436.0077a93c@mail.embt.com> <3.0.3.32.19990420234436.0077a93c@mail.embt.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 04:30 PM 4/21/99 -0700, you wrote: >> make -j8 buildworld >..snip.. >> There shouldn't be a space between the j and the number, BTW. Or, at >> least I never put a space there. > >Ah, the wonders of getopt(): > >make: illegal option -- z >usage: make [-Beiknqrstv] [-D variable] [-d flags] [-f makefile] > [-I directory] [-j max_jobs] [-m directory] [-V variable] > ^^^ >or RTFM: > > make [-Beiknqrstv] [-D variable] [-d flags] [-f makefile] [-I directory] > [-j max_jobs] > ^^^ >-- David (obrien@NUXI.com -or- obrien@FreeBSD.org) > Hmm. Well I'll admit I shoulda RT(F)M, but here's an exerpt from the well known page http://www.nothing-going-on.demon.co.uk/FreeBSD/make-world/make-world.html#T OC-271 (section 5.5) [snip] If you are tracking -current you can also pass the -j option to make. This lets make spawn several simultaneous processes. This is most useful on true 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 target make(1) to 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. If you have a multi-CPU machine and you are using an SMP configured kernel try values between 6 and 10 and see how they speed things up. [/snip] In this case no space is shown. This is what I was going by, and has always seemed to work OK for me. It is quite likely that it is made to work either way. Keep your stick on the ice, Tom Embt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message