From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,28b0249f7691568e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,28b0249f7691568e X-Google-Attributes: gid102b75,public From: dsiebert@icaen.uiowa.edu (Doug Siebert) Subject: Re: Alpha in peril? First Canion, now Pfieffer (I do think so) Date: 1999/06/02 Message-ID: <7j3frg$qee$1@server05.icaen.uiowa.edu>#1/1 X-Deja-AN: 484890100 References: <372A6EF1.793A8BB5@igs.net> <7ip0kt$rm2$1@murrow.corp.sgi.com> <7j1b6i$a60$1@Starbase.NeoSoft.COM> <7j1g6o$17n$1@murrow.corp.sgi.com> <7j1lej$i6q$1@Starbase.NeoSoft.COM> Organization: Iowa Computer Aided Engineering Network, University of Iowa Reply-To: douglas-siebert@uiowa.edu Newsgroups: comp.arch,comp.sys.dec tjb@Starbase.NeoSoft.COM (Timothy J. Bogart) writes: >In article <7j1g6o$17n$1@murrow.corp.sgi.com>, >John McCalpin wrote: >>SPEC only measures compile time for one particular compiler, >>gcc, cross-compiling a particular code for a particular target. >Most _vendors_ don't. Most vendors don't make compilers >that can be tested cross platform. However, lots of folks >do use GCC. But, I think the crux is that SPEC is an >average (ok, geometric mean) of several measures. Does this >correlate well with compile time? Well, I looked at 4 >examples: Alpha server 8400, Dell Precision 610, HP9000/785 >and IBM H50. The ratio of peak SPEC ratio for the .gcc testt >to the SPECint number advertised are... .85 .89 .80 .91 - >that qualifies as a range, but is that what you had in mind >when you you said "*much*"? I believe John was referring to the time taken by the native compiler, NOT gcc. And please note that the Intel results do not use gcc, and that the SPEC results I've seen using gcc have been about 30% slower than the official Intel results on the exact same hardware. And the x86 is probably gcc's best platform (other than old Sparc CPUs and VAX perhaps) gcc is a good compiler if you want a universal compiler that will run on many systems, and is also good if you like fast compilation. It is not a good choice if you seek performance. In a world where people will pay twice as much for a machine that is 20% faster, I find it amazing how many of those people will use gcc for their builds. OK, maybe for development, since it is faster -- but not for production code when a better alternative is available! Some of the slowness that a compiler exhibits may be due to its working harder to find better optimizations. That is not always the case, of course, and your return in execution speed on longer compilation times reach a point of diminishing returns, as do all things, but there is sometimes something to be said for letting a compiler chew on your code for a few hours for your production version. -- Douglas Siebert Director of Computing Facilities douglas-siebert@uiowa.edu Division of Mathematical Sciences, U of Iowa I plan to live forever, or die trying.