public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Reduce build times
Date: Thu, 03 Nov 2011 02:33:01 +0100	[thread overview]
Message-ID: <4EB1EF4D.1080400@googlemail.com> (raw)
In-Reply-To: <20111102224842.46B8316F8444@gemini.denx.de>

Hi Wolfgang,

On 02.11.2011 23:48, Wolfgang Denk wrote:
> Dear Daniel Schwierzeck,
>
> In message<CACUy__UjmnRYKMWiMB9pqr0_dS6cgiyo-MsoVY4eSH2zT6ZKHA@mail.gmail.com>  you wrote:
>>
>> On Wed, Nov 2, 2011 at 7:54 AM, Wolfgang Denk<wd@denx.de>  wrote:
>>> U-Boot Makefiles contain a number of tests for compiler features etc.
>>> which so far are executed again and again. =C2=A0On 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.
>>>
>>
>> maybe you want to try this experimental patch.
>> http://patchwork.ozlabs.org/patch/123313/
>>
>> It significantly reduces the count of gcc calls by caching the results.
>> This also improves compilation times.
>
> Do you suggest this in addition or instead of the patch I posted?

as an additional but separate patch to further reduce the execution time 
of MAKEALL.

>
> Can you provide some measurements of build times and/or execve system
> calls?

I have attached the results of some MAKEALL runs in the patch mail (I 
cc-ed you).

Best regards,
Daniel

  reply	other threads:[~2011-11-03  1:33 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
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 [this message]
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=4EB1EF4D.1080400@googlemail.com \
    --to=daniel.schwierzeck@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox