From owner-freebsd-current@FreeBSD.ORG Tue Jan 13 22:26:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5964E16A4CE; Tue, 13 Jan 2004 22:26:16 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDFB143D5F; Tue, 13 Jan 2004 22:26:14 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i0E6QCdN017256; Wed, 14 Jan 2004 07:26:13 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Robert Watson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 14 Jan 2004 00:22:12 EST." Date: Wed, 14 Jan 2004 07:26:12 +0100 Message-ID: <17255.1074061572@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: make -j 4 is really make -j 8 for buildworld? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 06:26:16 -0000 In message , 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.