From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: Compaq C-compiler - what am I doing wrong?
Date: 1999/11/05 [thread overview]
Message-ID: <382227B9.39EF4F17@kc.rr.com> (raw)
In-Reply-To: 7vsosn$qfi$1@nntp6.u.washington.edu
Jimmy Eng wrote:
>
> I'm looking a bit of help here. I have a DS10 that
> has Linux 2.2.12 installed on it along with the latest
> Compaq C-compiler beta release (ccc-6.2.0-8.alpha.rpm).
>
> I was hoping to see the 466MHz DS10 outperform my the
> current 533MHz 164LX Alphas that I currently have in
> my cluster. However, performance for my application is
> actually slower on the DS10 than on the 164LX's (as well
> as a 500MHz 21164A AlphaStation 500). The difference in
> performance could be on the order of the difference in
> clock speeds but I don't have the numbers in front of
> me to verify exactly.
>
> Anyways, it appears that something's not working right
> for me obviously since the performance of the DS10 should
> be better. I've looped through a portion of my application
> that calculates FFTs and timed the ccc (Compaq's C) compiler
> (turning on optmizations including -tune host -arch host)
> against gcc that came with the OS (RedHat 6.0) and there's
> virtually no difference in performance on the DS10!
>
> Any ideas?
>
> - Jimmy
> Software Engineer, Department of Molecular Biotechnology
> University of Washington
I personally use '-fast -O4' as my optimization options. If
you're doing FFTs, maybe you should look into 'cxml', which
is available from the same place you got the compiler. It
has FFTs in it that (I'm assuming) Compaq (probably actually
Digital) optimized already for your architecture.
If ccc isn't faster than gcc, there's something wrong. How
explicit is your FFT code? Do you do a lot of 'a = b * c;'
type of statements, or are there more function calls? I've
found that the optimizer likes long chains of explicit
statements, it gives the scheduler more to chew on so it can
avoid pipeline stalls (which gcc doesn't even look at).
If you try out cxml, could you write back to the group and
tell us what the performance characteristics are? We'd
really appreciate it.
Regards,
Tony Hammitt
thammitt@kc.rr.com
next prev parent reply other threads:[~1999-11-05 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-04 5:00 Compaq C-compiler - what am I doing wrong? Jimmy Eng
1999-11-05 5:00 ` Tony Hammitt [this message]
1999-11-05 5:00 ` Robert Harley
1999-11-05 5:00 ` Tony Hammitt
1999-11-05 5:00 ` Reg Clemens
1999-11-05 5:00 ` Greg Lindahl
1999-11-06 5:00 ` Stuart Midgley
1999-11-09 5:00 ` Wong Yeow Whye
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