From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5249 invoked from network); 4 Jun 1998 21:25:38 -0000 Received: from ironbark.arc.nasa.gov (gallen@128.102.126.69) by mail2.redhat.com with SMTP; 4 Jun 1998 21:25:38 -0000 Received: (from gallen@localhost) by ironbark.arc.nasa.gov (8.8.7/8.8.7) id OAA00611 for axp-list@redhat.com; Thu, 4 Jun 1998 14:25:07 -0700 Date: Thu, 4 Jun 1998 14:25:07 -0700 From: "Gary A. Allen" Message-Id: <199806042125.OAA00611@ironbark.arc.nasa.gov> To: axp-list@redhat.com Subject: Alphas are better than SGI boxes 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