From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,100c510dac09e617 X-Google-Attributes: gid111c93,public From: ruede@lisboa.math.uni-augsburg.de (Ulrich Ruede) Subject: Re: MFlops Comparison using g77 (bad news) Date: 1997/09/16 Message-ID: <5vlv3q$ngk$1@sparcserver.lrz-muenchen.de>#1/1 X-Deja-AN: 272926926 References: <5vl4lv$8ko@bgtnsc03.worldnet.att.net> Distribution: world Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Newsgroups: comp.os.linux.alpha In article <5vl4lv$8ko@bgtnsc03.worldnet.att.net>, "Luke Lonergan" writes: [ ... ] > I just installed RedHat 4.2, gcc-2.7.2.3 and g77-0.5.21 on a new Enorex 433 > MHz Alpha > 21164 machine. It uses the PC164 motherboard and has 256 MBytes of EDO RAM > installed. > > I am running a simple Ocean model to benchmark machines. The computational > kernel is simple: > [ ... ] > > This is the performance that I get: > > 36 MFlops on the 21164 Alpha 433 MHz (This is obviously unexpected) > > 40 MFlops on the PPro 200MHz > 55 MFlops on the PentiumII 300 MHz > 70 MFlops on the SGI Origin 2000 (MIPS R10000 at 195 MHz) > 100 MFlops on the 21164 Alpha 450MHz on the Cray T3E > 1000 MFlops on the Cray T90 > > One of several things is wrong. It's not the memory system, as I observe > flat performance up to the 256 MBytes > of memory on the machine. > > I think the compiler is the culprit. Any ideas? This must be the compiler's fault. You may experiment with the compiler flags, but most likely g77 just is not capable of exploiting the Alpha architecture reasonably well yet. For a similar kernel (red-black ordering to improve vectorization), see a preliminary comparison of various machines at http://scicomp.math.uni-augsburg.de/ruede/cache/rb/docu.html Here the Alpha (with 500 Mhz) shows a peak rate of 400+x MFlops, and in a modified code I have seen rates of 700+ Mflops. However this was done by using the original Digital FORTRAN compiler. Unfortunately I do not know many compiler alternatives under Linux for the Alpha. The only one I know of is http://www.microway.com/ndpfort.html Are there others out there? Uli __________________________________________________________________________ Ulrich Ruede, Institut fuer Mathematik, Universitaet Augsburg D-86135 Augsburg, Germany, e-mail: ruede@math.uni-augsburg.de Tel: +49 821 598 2190, Fax: +49 821 598 2339 URL: http://scicomp.math.uni-augsburg.de/ruede/me.html