Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Xavier Gallez <gallez@mema.ucl.ac.be>
Subject: Re: Using DEC compilers on a Linux Alpha cluster
Date: 1998/07/29	[thread overview]
Message-ID: <35BECDE5.559DE104@mema.ucl.ac.be> (raw)
In-Reply-To: 6pkpqs$92d@news1.newsguy.com



Greg Lindahl wrote:

> Xavier Gallez <gallez@mema.ucl.ac.be> writes:
>
> > http://www.meca.ucl.ac.be/memawww/deepflow/
>
> In your single-node benchmarks, I assume that your FFTW code does a
> lot of math library calls, so much of gcc's performance problem at
> small problem sizes is due to the math library. At large problem sizes
> you are bound by main memory bandwidth, which is why gcc and Dec cc
> are about equal.
>
> Does your NumLab code also do a lot of math library calls?
>
> -- g

This is actually a very good point. Indeed, gcc and Dec cc perform nearly
equally for large problems in the FFTW test, probably because of memory
bandwidth limitations. In the NumLab test however, it is only when the
size of the data gets large that DEC cc becomes realy more performant than
gcc. Indeed, the NumLab code generated by DEC runs 3.5 faster than the one
generated by gcc, while it is only twice as fast for smaller problems. The
memory bandwidth does not seem to be the bottleneck anymore. My feeling is
that DEC cc compiler programs I/O operations between the L3 cache and the
main memory in a very efficient way, while gcc does not. Concerning the
type of arithmetic operations, FFTW uses intensively tabulated values in
order to limit math library calls. As I understand it, there are only a
few calls to sin and cos at each iteration, many less than explicit
additions and multiplications. It would be a good idea to check the FFTW
homepage for further information (http://theory.lcs.mit.edu/~fftw). In
NumLab, the main operations are explicit additions and multiplications,
with few calls to sqrt and log (1 out of 40 operations in the most
computationaly intensive "micro" part of the simulation).

Thanks for your comments.

Xavier




  reply	other threads:[~1998-07-29  4:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-28  4:00 Using DEC compilers on a Linux Alpha cluster Xavier Gallez
1998-07-28  4:00 ` Greg Lindahl
1998-07-29  4:00   ` Xavier Gallez [this message]
1998-07-29  4:00     ` Greg Lindahl
1998-08-03  4:00       ` Steve Peltz
1998-07-29  4:00     ` Joachim Wesner
1998-07-30  4:00     ` Steven G. Johnson
1998-07-30  4:00       ` Greg Lindahl
1998-07-29  4:00 ` Lev Gelb
1998-07-29  4:00   ` Xavier Gallez
1998-07-29  4:00     ` Lev Gelb
1998-07-29  4:00       ` Joachim Wesner
1998-07-30  4:00         ` Robert Harley
1998-07-30  4:00           ` Joachim Wesner
1998-07-31  4:00             ` Xiaoguang Zhang
1998-07-31  4:00               ` Joachim Wesner
1998-08-05  4:00         ` David Cherkus
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