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

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 14 Jan 2004 07:26:12 +0100
In message <Pine.NEB.3.96L.1040114001713.40206A-100000_at_fledge.watson.org>, Robe
rt Watson writes:
>
>A few times in the past, I've noticed that when I run 'make -j4
>buildworld', I frequently run with load averages between 8 and 10 on one
>of my boxes at work.  Recently, I actually sat around with ps -ax for a
>bit, and found that frequently, 8 different compiler/assembler instances
>are running at once, rather than the four I expect:

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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Tue Jan 13 2004 - 21:26:16 UTC

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