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

From: jason <jason_at_ec.rr.com>
Date: Wed, 14 Jan 2004 19:57:39 -0200
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_at_freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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
Received on Wed Jan 14 2004 - 15:59:07 UTC

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