This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tree-ssa performance


On Tue, 2003-06-10 at 13:36, Richard Earnshaw wrote:

> > Eh, the SPEC95 machine has 256Mb of RAM.  That's not huge for today's
> > standards.  Bootstrap times for that machine are in line with what I get
> > on the bigger machine (~10% slower than mainline).
> > 
> > I also regularly bootstrap on a PPC with 128Mb of RAM.  I'll try
> > bootstrapping mainline on that machine to see what the difference is.
> 
> Which is still 4 times more memory than one of the machine I have 
> available for bootstrapping the ARM compiler.
> 
> This squandering of memory is getting silly IMO.  There's no wonder gcc 
> has a reputation for being slow.
> 
I agree 100%.  I was only addressing the mainline vs tree-ssa problem. 
GCC is memory-hungry and I think it will get worse before it gets
better.  Some of the heavy optimization passes we have in mind will use
all the memory you can throw at them.

That's not to say that we shouldn't try to limit memory usage either by
adding more smarts into the optimizers or by having the memory intensive
passes triggered at -O3 or something along those lines.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]