make -j 4 is really make -j 8 for buildworld?
jason
jason at ec.rr.com
Wed Jan 14 16:59:07 PST 2004
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
More information about the freebsd-current
mailing list