From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,5c187b9e0c78e85b X-Google-Attributes: gid1094ba,public X-Google-Thread: 111c93,5c187b9e0c78e85b X-Google-Attributes: gid111c93,public From: "Jochen K�pper" Subject: Re: Linux / Tru64 Fortran performance Date: 2000/04/29 Message-ID: #1/1 X-Deja-AN: 617142336 Content-Transfer-Encoding: 8bit Sender: jochen@Isis166 References: <8e29bb$7th$1@nnrp1.deja.com> <3905E6E5.B4E2DFF5@moene.indiv.nluug.nl> <8e50ue$vu8$1@nnrp1.deja.com> <8e54sv$jt0$1@nntp6.u.washington.edu> <8e6uqk$3i3$1@nnrp1.deja.com> Content-Type: text/plain; charset=ISO-8859-1 Organization: Heinrich-Heine-Universit�t Mime-Version: 1.0 Newsgroups: comp.lang.fortran,comp.os.linux.alpha Leon Muratov writes: > > > So any ideas what can cause 50% slowdown on Linux? Have you actually read the fort manuals ? I don't have them here at home, and I haven't looked in for a while, but IIRC there are some optimizations of the Tru64 compiler not performed by Linux-fort ! Moreover, doesn't Tru64-f77/f90 perform feedback-optimization ? That certainly isn't supported on Linux yet. > > As already mentioned Tru64 has page coloring while linux > > doesn't. This can affect memory management which your > > "benchmark" number suggest is the problem. One really important thing - mentioned down the thread already - run the same binary on both OS's - that shows you the OS's influence. > Use the profiler to find the bottleneck(s) in the code. > You need to add the -pg flag to the compilation and use gprof > to see how the code uses the cpu. Also look at the Compaq performance measurement tools for Linux, not sure which are available, but there is more than (g)prof ! > And if compilers are the same (as COMPAQ fortran group stated) See fort manual. > BTW when I checked few LAPACK routines compiled from source by COMPAQ > compilers they run as fast as their twins from extended math > libraries. Using what BLAS routines. Probablky the one from libcxml ;-? Plain LAPACk with generic BLAS certainly is slower than libcxml, but LAPACK on top of a fast vendor BLAS quite often is very fast - that actually one reason for the design ;-) I have (had ?) some code that worked faster with the generic LAPACK on top of ATLAS BLAS than with libcxml ;-! (last tested with an early beta of libcxml and ATLAS-2, IIRC.) Jochen -- http://www.Jochen-Kuepper.de Einigkeit und Recht und Freiheit Libert`e, `Egalit`e, Fraternit`e Sex, drugs and rock-n-roll