From martinjonestechnology@googlemail.com Mon Jun 08 19:53:35 2009
Received: from mail-ew0-f213.google.com ([209.85.219.213])
	by stoneboat.aleph1.co.uk with esmtp (Exim 4.69)
	(envelope-from <martinjonestechnology@googlemail.com>)
	id 1MDjyO-00066k-D1
	for balloon@balloonboard.org; Mon, 08 Jun 2009 19:53:35 +0100
Received: by ewy9 with SMTP id 9so4417552ewy.13
	for <balloon@balloonboard.org>; Mon, 08 Jun 2009 11:53:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=googlemail.com; s=gamma;
	h=domainkey-signature:received:received:sender:message-id:date:from
	:user-agent:mime-version:to:subject:content-type
	:content-transfer-encoding;
	bh=aSEl9N7jBIff5fdpOiECtsYX4N5ot7VYV/4+KXfGXbU=;
	b=R87cFu2mwfKnHDQrIgrGPW2zwOIgs4W0aBXKKJwZaRDm+DawY8HpmoYHmTK0bqmwYB
	FTU827GX5Rjmw6dU5ag3l2Mb9bofXTA9FBYhLdC/uxLwNO2y7J44DreeNVsyN12GEVN6
	IekkGFTB5pmKlBfB+sVzQ3tnulu7H3z8hvVi0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma;
	h=sender:message-id:date:from:user-agent:mime-version:to:subject
	:content-type:content-transfer-encoding;
	b=vX7MDgybEDzvU94dpAn07P1iFW5r6aNn+nzdWAqHYgpOcn9NNlMFqArB67Y1VcmgGt
	ep7qLzN13yus+HOgto7s0pRviTp3ETMS2sT3T3o9EmqaqcMMlQ5ue34CQ++ScwR3tBfD
	YYBUJUqHHtxg7U9ywjMvHXMXyTMUJVKXOi8Uo=
Received: by 10.210.28.4 with SMTP id b4mr1598939ebb.28.1244487206678;
	Mon, 08 Jun 2009 11:53:26 -0700 (PDT)
Received: from cox.local (cpc4-cmbg1-0-0-cust759.cmbg.cable.ntl.com
	[82.21.110.248])
	by mx.google.com with ESMTPS id 28sm47901eye.26.2009.06.08.11.53.25
	(version=SSLv3 cipher=RC4-MD5); Mon, 08 Jun 2009 11:53:26 -0700 (PDT)
Sender: Chris Jones <martinjonestechnology@googlemail.com>
Message-ID: <4A2D5E25.40006@martin-jones.com>
Date: Mon, 08 Jun 2009 19:53:25 +0100
From: Chris Jones <chris@martin-jones.com>
User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
MIME-Version: 1.0
To: balloon@balloonboard.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-SA-Exim-Connect-IP: 209.85.219.213
X-SA-Exim-Mail-From: martinjonestechnology@googlemail.com
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	stoneboat.aleph1.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS
	autolearn=no version=3.2.5
X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000)
X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk)
Subject: [Balloon] Balloon software Makefile tweak - spend less time waiting
X-BeenThere: balloon@balloonboard.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: Balloon List <balloon.balloonboard.org>
List-Unsubscribe: <http://balloonboard.org/mailman/options/balloon>,
	<mailto:balloon-request@balloonboard.org?subject=unsubscribe>
List-Archive: <http://balloonboard.org/lurker/list/balloon.html>
List-Post: <mailto:balloon@balloonboard.org>
List-Help: <mailto:balloon-request@balloonboard.org?subject=help>
List-Subscribe: <http://balloonboard.org/mailman/listinfo/balloon>,
	<mailto:balloon-request@balloonboard.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jun 2009 18:53:35 -0000

Hi all,

This afternoon I've added (yet) another variable into the Balloon 
software makefiles. I recommend setting it in your Makefile.local. It's 
called 'MAKEOPTS' and gets appended to appropriate Make command lines in 
the kernel and bootldr.

It's intended to be set to '-j <something>' to cause Make to spawn off 
multiple jobs at the same time. This isn't always a good idea - for 
example, if the jobs are wget downloads - so it has to be used 
selectively. I've only put it in the Makefiles where it makes sense and 
a useful difference.

It's only really useful on multi-processor machines but can give a good 
performance improvement. For example, a clean build of bootldr took 14.3 
seconds with '-j 1' (the default setting) and 5.7 seconds with '-j 4' on 
a 4-core machine.

It would be nice to extend this to the toolchain build in initrd, but 
that looked Hard so I haven't done it. I don't spend as much time 
building initrds anyway ;-)

Chris
-- 
Chris Jones - chris@martin-jones.com
Martin-Jones Technology Ltd, makers of Solidlights
148 Catharine Street, Cambridge, CB1 3AR, UK
Phone +44 (0) 1223 655611 Fax +44 (0) 870 112 3908
http://www.solidlights.co.uk/


