From: Richard Biener <rguenther@suse.de>
To: "Martin Liška" <mliska@suse.cz>
Cc: Segher Boessenkool <segher@kernel.crashing.org>,
gcc-patches@gcc.gnu.org,
Richard Sandiford <richard.sandiford@arm.com>
Subject: Re: [RFH] split {generic,gimple}-match.c files
Date: Mon, 06 May 2019 13:36:00 -0000 [thread overview]
Message-ID: <alpine.LSU.2.20.1905061532580.10704@zhemvz.fhfr.qr> (raw)
In-Reply-To: <b2b6fecf-2a5b-6850-fd49-6685d0270937@suse.cz>
[-- Attachment #1: Type: text/plain, Size: 2263 bytes --]
On Mon, 6 May 2019, Martin Liška wrote:
> On 5/2/19 9:04 PM, Richard Biener wrote:
> > On May 2, 2019 8:14:46 PM GMT+02:00, Segher Boessenkool <segher@kernel.crashing.org> wrote:
> >> On Thu, May 02, 2019 at 07:41:18PM +0200, Richard Biener wrote:
> >>> On May 2, 2019 7:00:16 PM GMT+02:00, Segher Boessenkool
> >> <segher@kernel.crashing.org> wrote:
> >>>> On Thu, May 02, 2019 at 03:18:00PM +0200, Richard Biener wrote:
> >>>>> Somewhen earlier this year I've done the experiment with using
> >>>>> a compile with -flto -fno-fat-lto-objects and a link
> >>>>> via -flto -r -flinker-output=rel into the object file. This cut
> >>>>> compile-time more than in half with less maintainance overhead.
> >>>>>
> >>>>> Adding other files to this handling looks trivial as well, as well
> >>>>> as conditionalizing it (I'd probably not want this for devel
> >> builds).
> >>>>
> >>>> But we want devel builds to be a lot faster than they are now :-/
> >>>
> >>> My devel build is -O0 non-bootstrapped and building the files after
> >> dependency changes is fast enough. It's the bootstraps that matter, no?
> >>
> >>
> >> Yes, I bootstrap most of the time. For development. It catches a
> >> *lot*
> >> of problems progressive builds do not. (Those are plenty fast already
> >> of
> >> course, -O0 or not).
> >
> > So we'd catch it there but disable by default for stage 1 since we probably do not want to rely on the host compiler.
> >
> > Richard.
> >
> >>
> >> Segher
> >
>
> I'm interested in 2 scenarios:
>
> 1) fast non-bootstrap development build with -O2; typically I want to run a fraction of test-suite or
> I want to install the compiler and run-time binaries; building the compiler with -O0 will result in terribly
> slow build of run-time libraries
That's already overall "fast", mostly dominated by runtime library build.
> 2) faster bootstrap on a massively parallel machine (64+ cores)
I guess for this we can also try to do LTO bootstap and
LTO-link libbackend itself. LTO bootstrap is only slow because
we build everything 12 times.
I'm most interested in faster bootstrap on low-core machines
(4 to 6 physical cores), since that's what I am doing most of the time.
This is dominated by testing time, not bootstrap time.
Richard.
next prev parent reply other threads:[~2019-05-06 13:36 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-25 11:44 Richard Biener
2018-04-25 12:26 ` Richard Biener
2018-04-25 12:46 ` Richard Biener
2018-04-25 13:16 ` Martin Liška
2018-09-03 12:27 ` Martin Liška
2018-09-03 12:41 ` Richard Biener
2018-09-03 12:54 ` Martin Liška
2018-09-03 13:50 ` Martin Liška
2018-09-03 14:01 ` Richard Biener
2018-09-03 14:27 ` Martin Liška
2018-09-03 14:43 ` Richard Biener
2018-09-04 15:07 ` Martin Liška
2018-09-10 11:43 ` Martin Liška
2019-04-29 15:21 ` Martin Liška
2019-05-02 13:18 ` Richard Biener
2019-05-02 17:00 ` Segher Boessenkool
2019-05-02 17:41 ` Richard Biener
2019-05-02 18:14 ` Segher Boessenkool
2019-05-02 19:04 ` Richard Biener
2019-05-06 12:59 ` Martin Liška
2019-05-06 13:36 ` Richard Biener [this message]
2019-05-06 13:51 ` Martin Liška
2019-05-06 15:10 ` Segher Boessenkool
2019-05-06 12:56 ` Martin Liška
2019-05-06 13:32 ` Richard Biener
2019-05-06 13:50 ` Martin Liška
2019-04-29 14:41 ` Martin Liška
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=alpine.LSU.2.20.1905061532580.10704@zhemvz.fhfr.qr \
--to=rguenther@suse.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=mliska@suse.cz \
--cc=richard.sandiford@arm.com \
--cc=segher@kernel.crashing.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).