From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,c2e7b424529514a6 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-12-21 08:49:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!news.algonet.se!algonet!news-stob.telia.net!telia.net!194.22.194.4.MISMATCH!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail Sender: mru@zaphod.guide Newsgroups: comp.os.linux.alpha Subject: Re: Terrible number crunching results versus Tru64 References: From: mru@users.sourceforge.net (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Military Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Sat, 21 Dec 2002 16:49:28 GMT NNTP-Posting-Host: 195.252.35.143 X-Complaints-To: abuse@telia.com X-Trace: newsc.telia.net 1040489368 195.252.35.143 (Sat, 21 Dec 2002 17:49:28 CET) NNTP-Posting-Date: Sat, 21 Dec 2002 17:49:28 CET Organization: Telia Internet Xref: archiver1.google.com comp.os.linux.alpha:6796 Jim West 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