public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Sebastian Pop <sebpop@gmail.com>
To: ramrad01@arm.com
Cc: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>,
	GCC Patches <gcc-patches@gcc.gnu.org>,
	Vladimir Makarov <vmakarov@redhat.com>,
	Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>,
	Marcus Shawcroft <marcus.shawcroft@arm.com>,
	Richard Earnshaw <rearnsha@arm.com>,
	Richard Sandiford <rdsandiford@googlemail.com>
Subject: Re: [PATCH] Account for prologue spills in reg_pressure scheduling
Date: Tue, 21 Oct 2014 00:01:00 -0000	[thread overview]
Message-ID: <20141020222727.GB14144@f1.c.bardezibar.internal> (raw)
In-Reply-To: <CAJA7tRZBnYVtN+itDhsFkw8fpWngKiXEuWj7adfrxRwNg=5TUA@mail.gmail.com>

Ramana Radhakrishnan wrote:
> We already have sched-pressure --param=sched-pressure-algorithm=1 on
> by default in the AArch64 backend from September.
> https://gcc.gnu.org/ml/gcc-patches/2014-09/msg01663.html went in a few
> days back.
> 
>  So if this patch is on then we are looking at uplifts with
> sched-pressure-algorithm=2 patch and --param

Right: I ran "-O3" vs. "-O3 -fsched-pressure --param=sched-pressure-algorithm=1"
and the numbers are identical.

> sched-pressure-algorithm=2. To a large degree turning on algorithm #2
> is a benchmarking exercise and IMHO should happen along with the
> sched-pressure tweaks that you are currently doing.  I would suggest
> moving to the same algorithm as the ARM backend would be nice and if
> we can deal with any performance regressions that appear. However
> without seeing behaviour on some more benchmarks like SPEC2k(6) it
> would be unwise to switch this on by default . We can run this and let
> you know the results, though SPECFP2k6 takes quite a while - are all
> your patches to sched-pressure now done ?
> 
> >>
> >> These are great results, yay!
> >
> > +1.  Thanks for running these tests.  If you have time, it'd also be
> > interesting to try the same thing with --param=sched-pressure-algorithm=1
> > (which should be equivalent to not having the --param, but better safe
> > than sorry).  Is algorithm 1 or algorithm 2 better for aarch64?

When testing Maxim's patch + --param=sched-pressure-algorithm=1
I see more perf degradations than speedups.

> Sebastian's results indicate algorithm #2 + Maxim's patches are better
> but we probably need some more benchmarking.

Overall algorithm #2 produces better results than algorithm #1.  Maxim's patch
is nicely improving the perf of algorithm #2.

Thanks,
Sebastian

  parent reply	other threads:[~2014-10-20 22:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-20  7:03 Maxim Kuvyrkov
2014-10-20 19:13 ` Sebastian Pop
2014-10-20 19:23   ` Maxim Kuvyrkov
2014-10-20 20:44     ` Sebastian Pop
2014-10-20 20:59       ` Maxim Kuvyrkov
2014-10-20 21:21         ` Sebastian Pop
2014-10-20 21:21         ` Richard Sandiford
2014-10-20 21:57           ` Ramana Radhakrishnan
2014-10-20 22:27             ` Maxim Kuvyrkov
2014-10-21  0:01             ` Sebastian Pop [this message]
2014-10-20 22:13         ` Evandro Menezes
2014-10-21 15:27 ` Vladimir Makarov
2014-10-22  7:45   ` Maxim Kuvyrkov
2014-10-22 12:51     ` Richard Sandiford
2014-10-22 14:47     ` Vladimir Makarov
2014-10-23  3:19       ` Maxim Kuvyrkov
2014-10-23  7:25         ` Richard Sandiford
2014-10-23  7:28           ` Maxim Kuvyrkov

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=20141020222727.GB14144@f1.c.bardezibar.internal \
    --to=sebpop@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=marcus.shawcroft@arm.com \
    --cc=maxim.kuvyrkov@linaro.org \
    --cc=ramana.radhakrishnan@arm.com \
    --cc=ramrad01@arm.com \
    --cc=rdsandiford@googlemail.com \
    --cc=rearnsha@arm.com \
    --cc=vmakarov@redhat.com \
    /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).