Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 07:26:12 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: make -j 4 is really make -j 8 for buildworld? 
Message-ID:  <17255.1074061572@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 14 Jan 2004 00:22:12 EST." <Pine.NEB.3.96L.1040114001713.40206A-100000@fledge.watson.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.NEB.3.96L.1040114001713.40206A-100000@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17255.1074061572>