All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	AKASHI Takahiro <takahiro.akashi@linaro.org>,
	Bin Meng <bmeng.cn@gmail.com>
Subject: Re: [PATCH v3 2/2] ci: Add a test for a non-LTO build
Date: Mon, 8 Aug 2022 12:09:29 -0400	[thread overview]
Message-ID: <20220808160929.GT1146598@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ1SLFjGfb=+CnLv18UqujbC20Mqm+TTxgw0QcqSX4J=ng@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

On Sun, Aug 07, 2022 at 09:48:01AM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On Wed, 3 Aug 2022 at 12:13, Simon Glass <sjg@chromium.org> wrote:
> >
> > Check that sandbox builds and runs tests OK with LTO disabled.
> >
> > Signed-off-by: Simon Glass <sjg@chromium.org>
> > ---
> >
> > (no changes since v1)
> >
> >  .azure-pipelines.yml | 4 ++++
> >  .gitlab-ci.yml       | 7 +++++++
> >  2 files changed, 11 insertions(+)
> >
> 
> Another little snippet - it seems that CI performance for the world
> builds has dropped 20% - 30% with LTO enabled. With tui I used to see
> just over 1 build a second; now it is running at about 0.78 and kaki
> has gone from close to 0.5 to 0.29.
> 
> I wonder if ,in CI, we should just build a selection of boards with
> LTO, switching the world builds to non-LTO? The problem is that we may
> hit code size limits in SPL.

I'm not sure how you're measuring this. We don't enable LTO by default
anywhere other than sandbox, it's opt-in for a few platforms still.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2022-08-08 16:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 18:13 [PATCH v3 1/2] Makefile: Allow LTO to be disabled for a build Simon Glass
2022-08-03 18:13 ` [PATCH v3 2/2] ci: Add a test for a non-LTO build Simon Glass
2022-08-07 15:48   ` Simon Glass
2022-08-08 16:09     ` Tom Rini [this message]
2022-08-09 19:51       ` Simon Glass
2022-08-09 20:10         ` Tom Rini
2022-09-03  1:54   ` Tom Rini
2022-09-01  2:26 ` [PATCH v3 1/2] Makefile: Allow LTO to be disabled for a build Simon Glass
2022-09-03  1:54 ` Tom Rini

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=20220808160929.GT1146598@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=bmeng.cn@gmail.com \
    --cc=sjg@chromium.org \
    --cc=takahiro.akashi@linaro.org \
    --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.