Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Gary A. Allen" <gallen@ironbark.arc.nasa.gov>
To: axp-list@redhat.com
Subject: Alphas are better than SGI boxes
Date: Thu, 4 Jun 1998 14:25:07 -0700	[thread overview]
Message-ID: <199806042125.OAA00611@ironbark.arc.nasa.gov> (raw)

Shane Steven Sturrock sent the following:

>We are working on some 64 bit code which isn't being optimised very well with 
>gcc/egcs and as a result our 533Mhz alpha was being trounced by the MIPS 
>R10000s in our SGI Challenge which only run at 200Mhz.  Said trouncing was of 
>the order of 15% poorer performance for the alpha.  Grim situation for us, big 
>laughs from the SGI boys.
>
>Needless to say the problem is with the compilers.  The one on the SGI is
>smart enough to know how to get the best out of the chip, gcc/egcs is not. 
>Of course there is the option of DU C which is supposed to give about
>30% better results than gcc.  I can now believe this having improved the
>performance of our code by a similar amount by a few simple changes to the
>assembler output of egcs.

I've been doing similar benchmarks at NASA Ames with a computational
fluid dynamics (CFD) code along with a trajectory code that I wrote.  The
CFD code is a commercial FORTRAN/C hybrid code. My code is written purely in
C.  Initially I could only benchmark "toy problems" for the CFD code using an
Egcs compiled executable because the code would crash if I ran a real
test case.  However the latest version of Egcs will run real test cases but
I haven't benchmarked it.  I did benchmark the Egcs compiled toy CFD problems
and found that the SGI/R10000 was significantly faster than my 533 Mhz Alpha. 
However I found for my pure C language trajectory code the Alpha was faster. 
Keep in mind that this is an apples-to-oranges comparison because the
trajectory code was scalar while the CFD code was vector intensive.  Also the
Gcc compiler is a much more mature compiler than then the G77 compiler.  I
then compiled the CFD code as a staticly linked executable using DEC Unix
Fortran and C compilers.   The DEC compiled code ran without mishap for a
full blown test case (3D simulation of the Venture Star RLV) under Linux and
was about 15% ***faster*** than our fastest SGI/R10000.  My Alpha with 6
Gbytes of hard disk space, 1/4 Gbyte of RAM and a 20" moniter costs about
$6,500 all up. My Alpha ran faster for our toughest CFD problem against an
SGI box that cost $250,000.  In terms of CPU cycles/dollar the Linux/Alpha
combination "blows the doors off" of all competitors.  It is without
question the cheapest way to do scientific compuations.


                                     Gary


             reply	other threads:[~1998-06-04 21:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-04 21:25 Gary A. Allen [this message]
1998-06-05  8:02 ` Alphas are better than SGI boxes james
1998-06-05 13:44   ` Ian Grant
1998-06-05 15:18   ` Maurice Hilarius
1998-06-05 17:09     ` Wes Bauske
1998-06-11 10:28     ` More assembler stuff Shane Steven Sturrock
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