All of lore.kernel.org
 help / color / mirror / Atom feed
From: Graeme Russ <graeme.russ@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Reduce build times
Date: Wed, 02 Nov 2011 22:08:15 +1100	[thread overview]
Message-ID: <4EB1249F.607@gmail.com> (raw)
In-Reply-To: <1320216842-29785-1-git-send-email-wd@denx.de>

Hi Wolfgang,

On 02/11/11 17:54, Wolfgang Denk wrote:
> U-Boot Makefiles contain a number of tests for compiler features etc.
> which so far are executed again and again.  On some architectures
> (especially ARM) this results in a large number of calls to gcc.
> 
> This patch makes sure to run such tests only once, thus largely
> reducing the number of "execve" system calls.
> 
> Example: number of "execve" system calls for building the "P2020DS"
> (Power Architecture) and "qong" (ARM) boards, measured as:
> 	-> strace -f -e trace=execve -o /tmp/foo ./MAKEALL <board>
> 	-> grep execve /tmp/foo | wc -l
> 
> 	Before: After:	Reduction:
> ==================================
> P2020DS 20555	15205	-26%
> qong	31692	14490	-54%
> 
> As a result, built times are significantly reduced, typically by
> 30...50%.
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Andy Fleming <afleming@gmail.com>
> Cc: Kumar Gala <galak@kernel.crashing.org>
> Cc: Albert Aribaud <albert.aribaud@free.fr>
> cc: Graeme Russ <graeme.russ@gmail.com>
> cc: Mike Frysinger <vapier@gentoo.org>
> ---

Tested on x86, does what is written on the box ;)

Tested-by: Graeme Russ <graeme.russ@gmail.com>

Regards,

Graeme

  reply	other threads:[~2011-11-02 11:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02  6:54 [U-Boot] [PATCH] Reduce build times Wolfgang Denk
2011-11-02 11:08 ` Graeme Russ [this message]
2011-11-02 12:35 ` Matthias Weißer
2011-11-02 14:49 ` Premi, Sanjeev
2011-11-02 15:37   ` Tom Rini
2011-11-02 18:20     ` Simon Glass
2011-11-02 18:57 ` Daniel Schwierzeck
2011-11-02 22:48   ` Wolfgang Denk
2011-11-03  1:33     ` Daniel Schwierzeck
2011-11-03 15:25     ` Daniel Schwierzeck
2011-11-03 19:49       ` Wolfgang Denk
2011-11-04  2:01       ` Aneesh V
2011-11-03  2:21 ` 馬克泡
2011-11-03  3:53 ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EB1249F.607@gmail.com \
    --to=graeme.russ@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.