From owner-freebsd-questions@FreeBSD.ORG Sat Mar 3 12:55:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 878DD16A401 for ; Sat, 3 Mar 2007 12:55:59 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from mx2.netclusive.de (mx2.netclusive.de [89.110.132.132]) by mx1.freebsd.org (Postfix) with ESMTP id 2461413C467 for ; Sat, 3 Mar 2007 12:55:58 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from nermal.rz1.convenimus.net (Fdd20.f.ppp-pool.de [195.4.221.32]) by mx2.netclusive.de (Postfix) with ESMTP id 5AF1D260027 for ; Sat, 3 Mar 2007 13:55:57 +0100 (CET) Received: by nermal.rz1.convenimus.net (Postfix, from userid 8) id D4A4415213; Sat, 3 Mar 2007 13:55:53 +0100 (CET) To: freebsd-questions@freebsd.org Path: not-for-mail From: Christian Baer Newsgroups: gmane.os.freebsd.questions Date: Sat, 3 Mar 2007 13:55:53 +0100 (CET) Organization: Convenimus Projekt Lines: 44 Message-ID: References: <20070228183733.4f6ddfe7@gumby.homeunix.com> NNTP-Posting-Host: garfield.rz1.convenimus.net X-Trace: nermal.rz1.convenimus.net 1172926553 99267 192.168.100.11 (3 Mar 2007 12:55:53 GMT) X-Complaints-To: abuse@convenimus.net NNTP-Posting-Date: Sat, 3 Mar 2007 12:55:53 +0000 (UTC) User-Agent: slrn/0.9.8.1 (FreeBSD) Subject: Re: compiling ports with more than one job X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2007 12:55:59 -0000 On Wed, 28 Feb 2007 18:37:33 +0000 RW wrote: > There are two problems here. The first is that not all of the > underlying builds support this. The second is that we are using Make as > our ports scripting language - I'm guessing that in Gentoo no-one > expects portage itself to be parallel. I don't actually *expect* anything. :-) I'm not sure why you think that Gentoo should be an exeption here, but that won't hold up forever - on any OS. It seems that we have reached a point where faster CPUs cannot be made by just increasing the clock. All current CPUs (from Intel and AMD) have two cores and ones with four cores are almost on the market. There are CPUs in other areas with even more cores in use today. This means that at least in the near future just about every OS must somehow work with more than one CPU since parallel computing seems to be the future. This will create several new challenges. Microsoft will lose money because until now they charged money for their OS if the customer wanted more than one CPU supported. :-) But others will have to adapt too. FreeBSD and Gentoo will have to get the compiling into order so it works parallel. NetBSD mut get SMP running properly at all. I know that SMP wasn't considered too important in the past as only servers had more than one CPU. But the times are changing, SMP is coming bigtime and the software must be made to meet the demands of the hardware. > Really it's only the build stage that matters. What you might try is > setting the MAKE_ARGS variable, which passes extra arguments to gmake > during build and install. If a port makefile sets it explicitly you'll > be out of luck, but I think most either don't set it, or use +=. So you mean a MAKE_ARGS= -j 4 would help? > Probably you would want to set it conditionally in make.conf, so you > can exclude any problematical ports. What do you mean with that? Regards Chris