alphalinux.org high-perf list (1998-2001)
 help / color / mirror / Atom feed
* Re: Performance Comparison of Compilers
@ 1999-01-21 15:37 esci
  1999-01-21 18:07 ` Claus Denk
  0 siblings, 1 reply; 7+ messages in thread
From: esci @ 1999-01-21 15:37 UTC (permalink / raw)


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

I got a similar 533 LX  from Microway and NDP FORTRAN.  After some testing, I

returned the compiler and converted to DU.  Unfortunately, I can't say the

conversion was an overwhelming success.  For all its flaws Linux is at least

as good as DU if not better.  The performance of the DU compilers is quite

good.  Other aspects are less satisfactory.  One of my motivations for the

conversion was the very weak FORTRAN support in gdb.  As it turns out, the

DU debuggers are as bad or worse.  There is no support at all for any intrinsics

or the exponential.

   print sin(x)**b

just produces error messages from ladebug(1).  dbx is even worse!

Performance of NDP FORTRAN was rather varied.  For simple tests such as dot 

products and polynomial evaluations, it was within 10-20% of the DU performance.

For another test, my actual problem, it was 3 times slower.  This is because

of the handling of sqrt().  The problem has 3 sqrt() operations per loop

iteration.  Interestingly, in some case g77 was faster than NDP, though in

general NDP produced much quicker runs.  The documentation of NDP is a bit 

weak though.  The only real discussion of the compiler flags is the tutorial

that Fried has on the Microway web page.

In retrospect, unless you absolutely have to have the best possible performance

on a wide range of problems, the NDP compiler is a pretty good choice.  It

is certainly far cheaper than the almost $2500 license fee for DU & Digital 

FORTRAN.  Mike Warren et al report using the Gnu tools w/ the dgemm routines.

If your problem is concentrated in a small loop consider just hand optimizing

the code produced by gcc & g77 after you get it written and debugged.

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.

Reg Beardsley

rhb@acm.org

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Performance Comparison of Compilers
@ 1999-01-21 18:32 Stefan Schroepfer
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Schroepfer @ 1999-01-21 18:32 UTC (permalink / raw)


Piotr A Dybczynski wrote:

> 

> optimizing for alpha , on NDP optimizing compilers etc. Finally I came to

> the conclusion, that Microway NDP Fortran seems to be the only tool,

> dedicated for this processor. They say in Microway, that they do not ofer

> a C compiler for alphalinux becouse egcs is preety good but from my

> investigations it seems that the best way is to produce .o files with egcs

> and then let NDP optimize it for particular architecture.

Microway NDP Fortran (re-)optimizes already compiled (and thus

optimized) objects files?

Stefan Schroepfer

scr@iis.fhg.de

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Performance Comparison of Compilers
@ 1999-01-20 17:52 Dr J Pelan
  1999-01-21  7:25 ` Piotr A Dybczynski
  0 siblings, 1 reply; 7+ messages in thread
From: Dr J Pelan @ 1999-01-20 17:52 UTC (permalink / raw)


At the moment it seems, at least to me, particularly difficult to pin down

exactly how good or bad the free compilers (egcs/gcc) are against the DEC

compilers unless one actually has access to the various machines. One can

glean snippets here and there (from Dejanews say) but it isn't always

clear what was done and the comparisons are but for a single program. 

What I would like to see established is an ongoing comparison of the

compilers using some agreed 'trivial' or real world benchmarks in C and

Fortran. I'm thinking of something along the lines of running say five

programs in the following combinations on the same architecture;

o  Digital Unix & DEC C (Fortran)

o  Digital Unix & egcs  (g77)

o  Linux        & egcs  (g77)  with compiled   libraries

o  Linux        & egcs  (g77)  with hand-coded libraries

I'd do this myself if I had access to such machines but I don't (at least

not yet) but perhaps the list members could provide suitable programs and

patch the information together ?  The only catch is this would have to be

repeated where any component, particularly egcs, is subsequently updated.

The influence of compiler options is also useful information.

I'm sure some people must be already be performing tests of this kind.

John P.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-01-21 20:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-21 15:37 Performance Comparison of Compilers esci
1999-01-21 18:07 ` Claus Denk
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox