From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,5c187b9e0c78e85b X-Google-Attributes: gid111c93,public X-Google-Thread: 1094ba,5c187b9e0c78e85b X-Google-Attributes: gid1094ba,public From: kargl@troutmask.apl.washington.edu (Steven G. Kargl) Subject: Re: Linux / Tru64 Fortran performance Date: 2000/04/25 Message-ID: <8e54sv$jt0$1@nntp6.u.washington.edu>#1/1 X-Deja-AN: 615663168 References: <8e29bb$7th$1@nnrp1.deja.com> <3905E6E5.B4E2DFF5@moene.indiv.nluug.nl> <8e50ue$vu8$1@nnrp1.deja.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: help@cac.washington.edu X-Trace: nntp6.u.washington.edu 956700383 20384 (None) 140.142.17.38 Organization: University of Washington Mime-Version: 1.0 Newsgroups: comp.lang.fortran,comp.os.linux.alpha In article <8e50ue$vu8$1@nnrp1.deja.com>, Leon Muratov writes: > In article <3905E6E5.B4E2DFF5@moene.indiv.nluug.nl>, > > So any ideas what can cause 50% slowdown on Linux? Memory management and I/O. As already mentioned Tru64 has page coloring while linux doesn't. This can affect memory management which your "benchmark" number suggest is the problem. Does your program allocate/deallocate a large number of small arrays? This could lead to misalignment and fragmentation which may causes inefficient use of the cache. > > And what can I do to figure it out before I erase Linux disk? > 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. Of course, this suggestion is only valid if Compaq provides this with their linux Fortran compiler. -- Steve