* Terrible number crunching results versus Tru64
@ 2002-12-21 15:59 Jim West
2002-12-21 16:49 ` Måns Rullgård
0 siblings, 1 reply; 4+ messages in thread
From: Jim West @ 2002-12-21 15:59 UTC (permalink / raw)
I have several PWS 600's that I am about to lose the Tru64 site license
for. I went ahead and installed Linux on one starting from Slackware 8.0
that I found on an archive, and instolled g++ 3.2 over that. I then
compiled a rather large number-crunching application and the results were
very poor compared to the Tru64 tools. Run-time examples:
Tru64 cxx : 10 seconds
Tru64 g++ : 13 seconds
Linux g++ : 29 seconds
I obviously used the same compiler flags (-O3 -ffast-math) in both g++
cases. I was expecting the Linux results to be about equal to the Tru64
g++ results. I remember at one time reading that the Linux libm library
does not perform well with the Alpha. Could that be the problem? Is there
a more optimized library I can install?
Thanks for any help.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Terrible number crunching results versus Tru64
2002-12-21 15:59 Terrible number crunching results versus Tru64 Jim West
@ 2002-12-21 16:49 ` Måns Rullgård
2002-12-21 19:44 ` Jim West
0 siblings, 1 reply; 4+ messages in thread
From: Måns Rullgård @ 2002-12-21 16:49 UTC (permalink / raw)
Jim West <jcwest16@cox.net> writes:
> I have several PWS 600's that I am about to lose the Tru64 site license
> for. I went ahead and installed Linux on one starting from Slackware 8.0
> that I found on an archive, and instolled g++ 3.2 over that. I then
> compiled a rather large number-crunching application and the results were
> very poor compared to the Tru64 tools. Run-time examples:
>
> Tru64 cxx : 10 seconds
> Tru64 g++ : 13 seconds
> Linux g++ : 29 seconds
>
> I obviously used the same compiler flags (-O3 -ffast-math) in both g++
> cases. I was expecting the Linux results to be about equal to the Tru64
> g++ results. I remember at one time reading that the Linux libm library
> does not perform well with the Alpha. Could that be the problem? Is there
> a more optimized library I can install?
Get Compaq's C and C++ compilers for Linux. They are free. Compaq
also has a library (cpml) with highly optimized math functions (trig,
log, etc.). Actually, this library is required by the C compiler.
You might also want to look at cxml, Compaq's library of linear
algebra, fft, etc.
For some pure floating-point applications, ccc's code is almost twice
as fast as what gcc 3 can do.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Terrible number crunching results versus Tru64
2002-12-21 16:49 ` Måns Rullgård
@ 2002-12-21 19:44 ` Jim West
2002-12-22 0:09 ` Måns Rullgård
0 siblings, 1 reply; 4+ messages in thread
From: Jim West @ 2002-12-21 19:44 UTC (permalink / raw)
In article <yw1x65tnqpuw.fsf@zaphod.guide>, M�ns Rullg�rd wrote:
>
> Get Compaq's C and C++ compilers for Linux. They are free. Compaq
> also has a library (cpml) with highly optimized math functions (trig,
> log, etc.). Actually, this library is required by the C compiler.
> You might also want to look at cxml, Compaq's library of linear
> algebra, fft, etc.
>
> For some pure floating-point applications, ccc's code is almost twice
> as fast as what gcc 3 can do.
OK, the cpml library alone reduced it from 29 seconds to 15 seconds (versus
10 seconds for the Tru64 compiler). I'll see about the DEC compilers. I
didn't realize that they were free for non-commercial use.
Thank you very much for your help.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Terrible number crunching results versus Tru64
2002-12-21 19:44 ` Jim West
@ 2002-12-22 0:09 ` Måns Rullgård
0 siblings, 0 replies; 4+ messages in thread
From: Måns Rullgård @ 2002-12-22 0:09 UTC (permalink / raw)
Jim West <jcwest16@cox.net> writes:
> > Get Compaq's C and C++ compilers for Linux. They are free. Compaq
> > also has a library (cpml) with highly optimized math functions (trig,
> > log, etc.). Actually, this library is required by the C compiler.
> > You might also want to look at cxml, Compaq's library of linear
> > algebra, fft, etc.
> >
> > For some pure floating-point applications, ccc's code is almost twice
> > as fast as what gcc 3 can do.
>
> OK, the cpml library alone reduced it from 29 seconds to 15 seconds (versus
> 10 seconds for the Tru64 compiler). I'll see about the DEC compilers. I
> didn't realize that they were free for non-commercial use.
You could also try running the binaries compiled for tru64 under
linux. You need to make /shlib, /usr/shlib and /sbin/loader accesible
from linux, and enable ECOFF binary support in the kernel (module is
ok).
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-12-22 0:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-21 15:59 Terrible number crunching results versus Tru64 Jim West
2002-12-21 16:49 ` Måns Rullgård
2002-12-21 19:44 ` Jim West
2002-12-22 0:09 ` Måns Rullgård
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox