This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: several messages
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: Theodore Papadopoulo <Theodore dot Papadopoulo at sophia dot inria dot fr>,Andrew MacLeod <amacleod at redhat dot com>
- Cc: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>,Diego Novillo <dnovillo at redhat dot com>, Andrew Haley <aph at redhat dot com>,Jeff Sturm <jsturm at one-point dot com>, Tim Josling <tej at melbpc dot org dot au>,Zack Weinberg <zack at codesourcery dot com>, doko at cs dot tu-berlin dot de,gcc at gcc dot gnu dot org, Neil Booth <neil at daikokuya dot co dot uk>
- Date: Wed, 11 Jun 2003 00:01:33 +0200 (CEST)
- Subject: Re: several messages
- References: <3EE4F737.30905@student.tudelft.nl> <Pine.LNX.4.44.0306091714210.14066-100000@ops2.one-point.com> <16101.46320.736811.833185@cuddles.redhat.com> <Pine.BSF.4.55.0306101241510.21183@acrux.dbai.tuwien.ac.at><1055251639.11031.1.camel@frodo.toronto.redhat.com> <Pine.BSF.4.55.0306101729080.38079@naos.dbai.tuwien.ac.at> <1055261913.6414.169.camel@p4>
On Tue, 10 Jun 2003, Theodore Papadopoulo wrote:
>> This indicates that the SPEC tester is not sufficient wrt. to
>> compile-time regressions.
> Let me make a guess:
>
> - Gerald, your test code is C++.
> - SPEC is mostly (if not all) C ?
Perfect guess!
> I bet that most of the slowdown reported is for C++, whereas most of
> the new code introduced in the compiled is tested for not introducing
> slowdowns against C code (ie SPEC+gcc itself).
That's may guess, indeed, else somebody else should have noticed a
slowdown by a factor of two.
> Perhaps, (if the above guess is valid), it is the proper time to add
> some specific C++ compile-time tests, and to start to measure the
> slowdowns also for C++.
I couldn't agree more, especially since I originally contributed the code
that's now in PR8361 years ago. Diego, would you mind adding that?
On Tue, 10 Jun 2003, Andrew MacLeod wrote:
> FWIW, The very limited amount of compile time experience Ive got (an
> early cut at reducing compile time for out-of-SSA) indicated that
> tree-ssa requires more memory. If you have a smaller memory machine, its
> compile times shoot up quite a bit due to swapping. On machines where it
> can compile without swapping, compiles times are not so bad.
I can guarantee that the machine I used was not swapping.
Having under my desktop at my (former) work place, I would have (a)
heard the disk, and (b) noticed that while reading mail in Pine (it's
a dual-PIII/1000, so that shouldn't have interfered much otherweise).
Gerald