From owner-freebsd-hackers Fri May 2 14:02:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA22996 for hackers-outgoing; Fri, 2 May 1997 14:02:21 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id OAA22991 for ; Fri, 2 May 1997 14:02:19 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA09474; Fri, 2 May 1997 14:00:09 -0700 From: Terry Lambert Message-Id: <199705022100.OAA09474@phaeton.artisoft.com> Subject: Re: make flags To: bsdhack@shadows.aeon.net (mika ruohotie) Date: Fri, 2 May 1997 14:00:08 -0700 (MST) Cc: hackers@FreeBSD.ORG In-Reply-To: <199705021852.VAA03005@shadows.aeon.net> from "mika ruohotie" at May 2, 97 09:52:14 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > something that made me wonder... > > earlier today i read about 'make -j' stuff from the smp list, and i > got the impression that for single cpu something like '-j 4' would > give some performance boost. > > but, i experimented with it myself earlier today and it didnt boost > anything... the fastest compiling i got without any 'j's, i tested > '-j 2' and '-j 4' > > uh, am i missing something? it's only pentium pro spesific? (i have pentium) > > my other kernel flags are '-O2 -pipe' The makefiles must be "-j" aware. For a build world, this includes modifying "/etc/make.conf". There's a lot of changes that went into makeing -j work down to inferior makefiles (check out the "parallel make" thread in the -current archives). All in all, I don't think you'd get much of a win from anything other than -current with the changes in place. Someone needs to cookbook this. Personally, I always build the absolute minimum I need to build, and would be just as happy with a build process that installed and cleaned behind itself on a per item basis so as to never require more than one utility worth of object tree space at any one time. So I'm not a good choice to cookbook parallel makes. 8-(. Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.