Re: make -j 4 is really make -j 8 for buildworld?

From: Garance A Drosihn <drosih_at_rpi.edu>
Date: Wed, 14 Jan 2004 20:57:45 -0500
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_at_gilead.netel.rpi.edu
Senior Systems Programmer           or  gad_at_freebsd.org
Rensselaer Polytechnic Institute    or  drosih_at_rpi.edu
Received on Wed Jan 14 2004 - 16:58:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC