From owner-freebsd-questions@FreeBSD.ORG Mon May 15 13:40:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C1C716A744 for ; Mon, 15 May 2006 13:40:18 +0000 (UTC) (envelope-from work@ashleymoran.me.uk) Received: from mercureh.reacthosting.com (reacthosting.com [195.177.245.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75C8743D46 for ; Mon, 15 May 2006 13:40:11 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from hosta.jigsawfinance.com ([213.106.224.113] helo=alfie.jigsawhq.com) by mercureh.reacthosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FfdIv-0009NL-5q; Mon, 15 May 2006 14:40:09 +0100 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-questions@freebsd.org Date: Mon, 15 May 2006 14:39:39 +0100 User-Agent: KMail/1.9.1 References: <200605151112.33416.work@ashleymoran.me.uk> <4468569B.6060706@firebadger.net> In-Reply-To: <4468569B.6060706@firebadger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605151439.39957.work@ashleymoran.me.uk> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mercureh.reacthosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - ashleymoran.me.uk X-Source: X-Source-Args: X-Source-Dir: Cc: Bill Moran , Richard Collyer Subject: Re: Please explain make -j to my little brain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 13:40:24 -0000 On Monday 15 May 2006 11:23, Richard Collyer wrote: > The way I understand it is that 1 core would do this... > > compile .... read disk .... compile .... read disk ... compile > > It wont be reading when it is compiling and cant compile when its > reading so if you do -j 2 even on a single core machine it could do: > > compile .... read disk .... complile .... read disk ... compile > read disk .... complile .... read disk ... compile .... read disk > > Which means neither the CPU or the disks are idle resulting in faster > performance. Thanks Richard + Bill I get it now. Presumably with faster disks, the lower the number of make processes you require. Ashley -- "If you do it the stupid way, you will have to do it again" - Gregory Chudnovsky