From: "Adam C. Powell, IV" <adam.powell@nist.gov>
Subject: Re: gcc/egcs C optimization
Date: 1998/11/03 [thread overview]
Message-ID: <363F3118.7A28BB64@nist.gov> (raw)
In-Reply-To: slrn73qihg.dp0.conrad@hive.me.gu.edu.au
Conrad Sanderson wrote:
> Berk Sensoy <bas7@lemur.phy.duke.edu> wrote:
>
> > Does anyone have any suggestions as to what would be the best
> >compiler options to optimize (make the fastest at run-time) my code on an
> >Alpha/Linux machine? I have a
> >code that solves a biharmonic PDE by calling a Fortran subroutine. Our
> >group just acquired an Alpha/Linux and we are trying to figure out how
> >best to opimize its various capabilities vis-a-vis an Intel machine.
>
> -O3 -funroll-all-loops -fexpensive-optimizations
> (may need to add -mieee depending on how the code is written)
Thanks! This is a big help.
> Getting a decent math library will make the most difference:
>
> http://people.frankfurt.netsurf.de/Joachim.Wesner/
Likewise, if your problem involves dense matrix multiply, or anything using
it (e.g. LU-decomposition), Kazushige Goto's assembler gemm truly screams.
Like 1.5 double-precision FLOPS/clock sustained! (Just under 2 peak.) Blows
away everything else on the planet within 5-10 times the price.
ftp://ftp.eni.co.jp/.2/Linux-Alpha-JP/ftp.statabo.rim.or.jp/BLAS/
> Note that with the current state of free compilers on Alpha,
> you will probably end up getting better performance on
> a Intel P2/450.
Really?? Even for floating point? Do you have a P2/450 vs. alpha bnchmark?
All of the programs I have built unmodified with egcs-1.0.3a and libffm run
slightly faster (10-30%) than an SGI Origin 2000! (Goto's gemm is about 4
times faster than the hand-coded R10K BLAS gemm.) I'd have to see a
convincing benchmark to believe P2 is any faster- for floating point (integer
I'd believe)- everything I've seen says otherwise.
Zeen,
-Adam `Cold Fusion' Powell, IV _/\_ http://www.ctcms.nist.gov/~powell/
Call with Netscape Conference! \/ http://dls.netscape.com/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
next prev parent reply other threads:[~1998-11-03 5:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-31 5:00 gcc/egcs C optimization Berk Sensoy
1998-11-02 5:00 ` Conrad Sanderson
1998-11-02 5:00 ` Murx
1998-11-03 5:00 ` Adam C. Powell, IV [this message]
1998-11-03 5:00 ` Greg Lindahl
1998-11-04 5:00 ` Steven G. Johnson
1998-11-04 5:00 ` C.Simmendinger
1998-11-04 5:00 ` Craig Burley
1998-11-04 5:00 ` Greg Lindahl
1998-11-05 5:00 ` C.Simmendinger
1998-11-05 5:00 ` Greg Lindahl
1998-11-05 5:00 ` C.Simmendinger
1998-11-05 5:00 ` Toon Moene
1998-11-06 5:00 ` C.Simmendinger
1998-11-06 5:00 ` C.Simmendinger
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