Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jason Patterson <jason@reflections.com.au>
Subject: Re: Gnu g77/gcc on DEC ALPHA running DEC UNIX
Date: 1997/10/18	[thread overview]
Message-ID: <34486EB9.A6069CC0@reflections.com.au> (raw)
In-Reply-To: 34462CF3.41C6@whoi.edu


eddie scheer wrote:
> I did a plain installation of gcc and g77 on my Alpha box runnix
> DEC UNIX. Programs seem to be about 10x slower than those compiled with
> DEC Fortran. Is this to be expected?

10x is probably an exaggeration, right?

But yes, the GNU compilers have a lot less powerful optimizers, particularly
when it comes to instruction scheduling, which is a key performance factor on
the Alpha's and UltraSPARC's, unlike the Pentium Pro, MIPS R10000 or PowerPC
604 all of which do a fair bit of dynamic scheduling. The compiler really has
to "spoon feed" the pipelines of the Alpha 21164 and UltraSPARC to get
maximum performance, and the relatively poor scheduler in gcc/g++/g77 simply
doesn't do that very well.

A factor of 2 difference between g77 and DEC's compiler is quite reasonable.
Anything more than that is probably a sign of pathological cache behavior
(which might also be a compiler issue of a different type :-)


JASON PATTERSON
 jason@reflections.com.au  http://www.reflections.com.au/~jason

 Imagine that CRAY decides to make a personal computer. It contains 16
 Alpha based processors executing in parallel, has 800 megabytes of RAM,
 9 Gigabytes of disk storage, a resolution of 4096 x 4096 pixels, does
 24bit 3D graphics in realtime, relies entirely on voice recognition for
 input, fits in your shirt pocket and costs $300. What is the first
 question the computer community asks?

 "Is it DOS compatible?"



  parent reply	other threads:[~1997-10-18  4:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-16  4:00 Gnu g77/gcc on DEC ALPHA running DEC UNIX eddie scheer
1997-10-16  4:00 ` root
1997-10-16  4:00   ` Jeffrey Potoff
1997-10-20  4:00   ` Glen Turner
1997-10-20  4:00     ` Jason Patterson
1997-10-18  4:00 ` Jason Patterson [this message]
1997-10-22  4:00   ` Hugues Talbot
1997-10-22  4:00     ` Kevin Oberman
1997-10-22  4:00     ` Jason Patterson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox