From: "B. James Phillippe" <bryan@terran.org>
To: axp-list@redhat.com
Subject: Re: Impossible
Date: Wed, 9 Sep 1998 09:48:02 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.3.96.980909094149.24930A-100000@earth.terran.org> (raw)
In-Reply-To: <A162436CCDFCD1119B5900E0290E6E7803CB76@carrera-mail2.carrera.com>
On Tue, 8 Sep 1998, Mark Dohojda wrote:
> He run C program in NT and in Linux (on the same box), and NT proved to
> be 30% faster. Now I don't know much about the code, however I know
> that he used the same sources on both of the operating systems. Also
> the source (to the best of my knowledge) was in no way optimized for NT.
...
> My question is, how can NT beat Linux????? Is that possible? And what to
> do, to make sure that Linux is not going to look bad.
It's impossible to know what's happening without knowing what this program
does. One theory: I've heard that the Linux Alpha math libraries are
really slow and inefficient. If the program uses floating point a lot,
that might be the problem. Another very likely candidate is the compiler:
I've also heard Microsoft's Alpha compiler is actually Digital's handiwork.
The compiler that comes with RedHat is not really the best available. You
could try getting egcs-1.1 release from http://egcs.cygnus.com and
compiling it with the Haifa scheduler, then rebuilding your code with
something like -O3 -ffast-math. Let us know what the results are.
cheers,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGTI.
http://earth.terran.org/~bryan
next prev parent reply other threads:[~1998-09-09 16:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-08 21:04 Impossible Mark Dohojda
1998-09-09 13:37 ` Impossible Simon Kenyon
1998-09-09 13:47 ` Impossible Armin Ollig
1998-09-09 18:29 ` Impossible Harvey J. Stein
1998-09-09 14:19 ` Impossible David Alan Gilbert
1998-09-09 14:50 ` Impossible Adam C. Powell, IV
1998-09-09 14:52 ` Impossible Ken Hansen
1998-09-09 21:06 ` Impossible Michal Jaegermann
1998-09-09 10:41 ` Impossible Ken Hansen
1998-09-10 6:49 ` Impossible gkoch
1998-09-09 14:57 ` Impossible Adam C. Powell, IV
1998-09-09 16:48 ` B. James Phillippe [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-09-09 19:43 Impossible John Porcello
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