From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 16:59:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 959FD16A4CE; Wed, 14 Jan 2004 16:59:07 -0800 (PST) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id A533243D72; Wed, 14 Jan 2004 16:58:52 -0800 (PST) (envelope-from jason@ec.rr.com) Received: from ec.rr.com (cpe-024-211-231-149.ec.rr.com [24.211.231.149]) i0F0wlKY000586; Wed, 14 Jan 2004 19:58:49 -0500 (EST) Message-ID: <4005BB53.1020609@ec.rr.com> Date: Wed, 14 Jan 2004 19:57:39 -0200 From: jason User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marc Olzheim References: <17255.1074061572@critter.freebsd.dk> <20040114184629.GA27639@stack.nl> In-Reply-To: <20040114184629.GA27639@stack.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: Poul-Henning Kamp cc: Robert Watson cc: current@freebsd.org Subject: Re: make -j 4 is really make -j 8 for buildworld? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 00:59:07 -0000 Marc Olzheim wrote: >On Wed, Jan 14, 2004 at 07:26:12AM +0100, Poul-Henning Kamp wrote: > > >>The N in -jN is a relative measure of parallelism which has nothing >>to do with how many processes are run. That depends on parallism in >>the Makefiles and how subdirs are entered. >> >> > >Hmm.. From the manual page: > > -j max_jobs > Specify the maximum number of jobs that make may have running at > any one time. Turns compatibility mode off, unless the B flag is > also specified. > >'maximum number of jobs' seems to be quite clear to me... Or is the -j >propagated into subdirs ? > >Zlo >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > If a make file can specify more than one job in any instance, then thats why. You would run -j4 and have 4 jobs working, but when job number x is running it spawns 2 or more jobs to compile indepndent portions of code in a program faster. In something like gnome or kde this must be very common. I have no idea if this is right, but if I worked on a big project that is how I would chose to write the make file if I could. Maybe you should ask this on the hackers list? Jason