Date: Wed, 14 Jan 2004 20:57:45 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: jason <jason@ec.rr.com>, Marc Olzheim <marcolz@stack.nl> Cc: current@freebsd.org Subject: Re: make -j 4 is really make -j 8 for buildworld? Message-ID: <p06020472bc2ba318b46e@[128.113.24.47]> In-Reply-To: <4005BB53.1020609@ec.rr.com> References: <Pine.NEB.3.96L.1040114001713.40206A-100000@fledge.watson.org> <17255.1074061572@critter.freebsd.dk> <20040114184629.GA27639@stack.nl> <4005BB53.1020609@ec.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06020472bc2ba318b46e>