alphalinux.org high-perf list (1998-2001)
 help / color / mirror / Atom feed
From: Claus Denk <denk@morena.us.es>
Subject: Re: Performance Comparison of Compilers
Date: Thu, 21 Jan 1999 19:07:21 +0100 (\x104\x14UU\x01)	[thread overview]
Message-ID: <Pine.LNX.3.95.990121183349.6320B-100000@morena.us.es> (raw)
In-Reply-To: <199901211537.JAA0000005356@localhost>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4637 bytes --]

Hi all,

> Note that although it appears to be possible to run DU code on a Linux box,

> there seem to be licensing issues.  I've not looked into these yet.  I

> will probably simply let DU generate assembly sequences which I will then

> move to Linux for assembly and linking.

  Yes, it is illegal to run DU statically linked code on a linux alpha box

(due to the licensed libraries that are linked). There were some efforts

on the axp list to write libraries that could dynamically be linked

against DU code (this would be legal), but I don't know if anyone has

continued this work.

Generating DU assembly code and doing the assemply on linux isn't a

solution neither, as the gnu assembler doesn't understand all the assembly

code produced by the Du compilers. You will have to know how to handcode

assembly on the alpha .... 

I can't give you any comparisons for the egcs compilers, but I can

contribute with a DU f77 (V4.1, options -O4 I believe) and a 

g77 0.5.21 (-O2 -funroll-loops) comparison. The benchmarks are the

livermore loops, the geometric mean of the following results is a number

that represents quite well the performance that I see in my various

programs:

ALPHA 21164 500Mhz/1Mb cache, DEC f77 V4.1 (-O4), RH Linux 4.2:

---------------------------------------------------------------

         MFLOPS    RANGE:             REPORT ALL RANGE STATISTICS:

         Mean DO Span   =  167

         Code Samples   =   72

         Maximum   Rate =    276.4885 Mega-Flops/Sec.

         Quartile  Q3   =    116.1047 Mega-Flops/Sec.

         Average   Rate =     91.7861 Mega-Flops/Sec.

         Geometric Mean =     73.6158 Mega-Flops/Sec.

         Median    Q2   =     73.3668 Mega-Flops/Sec.

         Harmonic  Mean =     56.3082 Mega-Flops/Sec.

         Quartile  Q1   =     50.0282 Mega-Flops/Sec.

         Minimum   Rate =     10.6042 Mega-Flops/Sec.

         Standard  Dev. =     60.0277 Mega-Flops/Sec.

         Avg Efficiency =     26.63%  Program & Processor

         Mean Precision =     15.90   Decimal Digits

ALPHA 21164 500Mhz/1Mb cache, g77 0.5.21 (-O2 -funroll-loops), RH 4.2:

----------------------------------------------------------------------

         MFLOPS    RANGE:             REPORT ALL RANGE STATISTICS:

         Mean DO Span   =  167

         Code Samples   =   72

         Maximum   Rate =    194.4802 Mega-Flops/Sec.

         Quartile  Q3   =     70.2215 Mega-Flops/Sec.

         Average   Rate =     61.7432 Mega-Flops/Sec.

         Geometric Mean =     50.0105 Mega-Flops/Sec.

         Median    Q2   =     55.0838 Mega-Flops/Sec.

         Harmonic  Mean =     33.8270 Mega-Flops/Sec.

         Quartile  Q1   =     37.4901 Mega-Flops/Sec.

         Minimum   Rate =      3.9221 Mega-Flops/Sec.

         Standard  Dev. =     39.0908 Mega-Flops/Sec.

         Avg Efficiency =     25.71%  Program & Processor

         Mean Precision =     15.90   Decimal Digits

Just for comparison:

Pentium II 400 MHz, g77 0.5.18, -O2 -funroll-loops, RH Linux 5.?:

-----------------------------------------------------------------

         MFLOPS    RANGE:             REPORT ALL RANGE STATISTICS:

         Mean DO Span   =  167

         Code Samples   =   72

         Maximum   Rate =    239.0417 Mega-Flops/Sec.

         Quartile  Q3   =     87.7879 Mega-Flops/Sec.

         Average   Rate =     73.8423 Mega-Flops/Sec.

         Geometric Mean =     61.2890 Mega-Flops/Sec.

         Median    Q2   =     67.0473 Mega-Flops/Sec.

         Harmonic  Mean =     43.8180 Mega-Flops/Sec.

         Quartile  Q1   =     52.1202 Mega-Flops/Sec.

         Minimum   Rate =      6.4813 Mega-Flops/Sec.

         Standard  Dev. =     42.3088 Mega-Flops/Sec.

         Avg Efficiency =     25.64%  Program & Processor

         Mean Precision =     12.69   Decimal Digits

A very poor result for g77 can be obtained by comparing the original

Netlib BLAS routines SGEMM and DGEMM (matrix matrix multiplication)

routines (rates in MFLOPS, mean values over matrix sizes 32x32 up to

128x128 in steps of 32):

       g77 0.5.21    DU

SGEMM    27         144

DGEMM    26         115

I suppose that the egcs compilers have improved these numbers 

quite a bit ! 

regards, Claus

  reply	other threads:[~1999-01-21 18:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-21 15:37 Performance Comparison of Compilers esci
1999-01-21 18:07 ` Claus Denk [this message]
1999-01-21 19:46   ` Michal Jaegermann
1999-01-21 20:17     ` Claus Denk
  -- strict thread matches above, loose matches on Subject: below --
1999-01-21 18:32 Stefan Schroepfer
1999-01-20 17:52 Dr J Pelan
1999-01-21  7:25 ` Piotr A Dybczynski
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