From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 17:58:01 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 858C616A4CE; Wed, 14 Jan 2004 17:58:01 -0800 (PST) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FEFE43D2F; Wed, 14 Jan 2004 17:58:00 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i0F1vkLJ009350; Wed, 14 Jan 2004 20:57:47 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <4005BB53.1020609@ec.rr.com> References: <17255.1074061572@critter.freebsd.dk> <20040114184629.GA27639@stack.nl> <4005BB53.1020609@ec.rr.com> Date: Wed, 14 Jan 2004 20:57:45 -0500 To: jason , Marc Olzheim From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) 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 01:58:01 -0000 At 7:57 PM -0200 1/14/04, jason wrote: >Marc Olzheim wrote: >> >>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 ? > >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. Hmm, I guess we also get into the case where 'make' might spawn 'cc' as one single job, but 'cc' itself will turn around and fork into multiple processes to get it's own work done. That makes sense. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu