public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Brad Lucier <lucier@math.purdue.edu>
To: jh@suse.cz (Jan Hubicka)
Cc: lucier@math.purdue.edu (Brad Lucier), jh@suse.cz (Jan Hubicka),
	dje@watson.ibm.com (David Edelsohn),
	gcc@gcc.gnu.org, mark@codesourcery.com, feeley@iro.umontreal.ca
Subject: Re: optimization/6007: cfg cleanup tremendous performance hog with -O1
Date: Thu, 28 Mar 2002 15:27:00 -0000	[thread overview]
Message-ID: <200203282222.g2SMMAL21768@banach.math.purdue.edu> (raw)
In-Reply-To: <20020328120307.GF27534@atrey.karlin.mff.cuni.cz> from "Jan Hubicka" at Mar 28, 2002 01:03:07 PM

> 
> > [RE: crossjumping]
> > 
> > > I will try to check whether I can squeze out some more cycles or
> > > find way how to limit this.
> > 
> > My code uses a lot of computed goto's, with many labels.  Is crossjumping
> > possibly a win in this case?  Can it ignore these jumps?
> > 
> > Brad
> Hi, here is patch I made as a test.  It simply disables crossjumping
> if there is moer than 100 outgoing edges.  Unfortunately I can't benchmark
> your testcase as my machine runs out of space before getting there.  Can you
> check if this solves your problem?  If so, I will prepare more polished
> version of this patch.

Here is a progress report.

Today's CVS version of gcc-3.1 had a good bootstrap with your patch.
I'll run the regression tests later.

I'm running the new gcc on my test case now.  So far, it's taken
> 30 minutes of CPU time on my 500 MHz UltraSPARC.  Unfortunately,
it's also taking about 4 GB of swap space, and competing with another
400 MB job, so it's not making much progress right now.

The amount of swap necessary is a problem, even if cross-jumping is
disabled for certain blocks because the number of outgoing edges
is too large.  I've been having memory problems compiling much smaller
programs on my PII linux box at home because I have "only" 768 MB of
swap space.

Is there some way to not build these large internal structures if we don't
end up using them?

Brad

  reply	other threads:[~2002-03-28 22:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-19 13:16 lucier
2002-03-19 13:21 ` David Edelsohn
2002-03-22  4:29   ` Jan Hubicka
2002-03-24 20:03     ` Brad Lucier
2002-03-25  2:14       ` Jan Hubicka
2002-03-25  2:32         ` Richard Henderson
2002-03-25  2:59           ` Jan Hubicka
2002-03-28  6:39       ` Jan Hubicka
2002-03-28 15:27         ` Brad Lucier [this message]
2002-03-29  8:44           ` Jan Hubicka
2002-03-29 10:37           ` Jan Hubicka
2002-04-04  7:02             ` Brad Lucier
2002-04-04  8:23               ` Jan Hubicka
2002-04-04 12:46                 ` Richard Henderson
2002-04-04 12:43               ` Richard Henderson
2002-04-04 12:57                 ` Jan Hubicka
2002-04-05 22:15                 ` Brad Lucier
2002-04-06  5:10                   ` Mark Mitchell
2002-03-29 10:44         ` Brad Lucier
2002-03-29 14:00         ` Brad Lucier

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=200203282222.g2SMMAL21768@banach.math.purdue.edu \
    --to=lucier@math.purdue.edu \
    --cc=dje@watson.ibm.com \
    --cc=feeley@iro.umontreal.ca \
    --cc=gcc@gcc.gnu.org \
    --cc=jh@suse.cz \
    --cc=mark@codesourcery.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).