From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,baadd4fe2bf1dd84 X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: Redhat/Alpha computational performance???? Date: 1998/03/03 Message-ID: <6dhf2l$gku$1@pulp.ucs.ualberta.ca>#1/1 X-Deja-AN: 330470835 References: <6dh5he$rca@news1.newsguy.com> X-Complaints-To: usenet@pulp.ucs.ualberta.ca X-Trace: pulp.ucs.ualberta.ca 888946581 17054 (None) 129.128.7.128 Organization: Disorganized Bits Reply-To: michal@gortel.phys.ualberta.ca Newsgroups: comp.os.linux.alpha Greg Lindahl (lindahl@cs.virginia.edu) wrote: : mbkennel@yahoo.com (Matt Kennel) writes: : : > I don't know what SPECfp programs do, but it's impossible to do optical : > physics without exponentials, sine and cosine (over both R and C). : : They don't do optical physics. I have never used sin(), cos(), or : non-integer exponentials in a science program. It all depends on what : you're doing. I run recently a few timing runs on a totally untouched Fortran code supplied by a prospective customer. It does some kind of a transform using a grid (looks like a kernel for ODE solving) and is chockfull of sin() and cos() calls in matrix type calculations. I am pretty sure that a day with an editor would speed up this code quite a bit. Anyway, when using 1024x1024 grid I got times a bit above 3 minutes for a code compiled with just -O3, g77 from egcs-1.0.1 and running on 533 LX. Adding into a fray things like '-funroll-loops -fomit-frame-pointer -fstrength-reduce' dropped this time down to 2 minutes with small seconds. Not a bad result for a short edit in a Makefile. :-) Curiously enough putting in also '-ffast-math' made this test not very much but noticeably and consistently **slower**. This customer runs this code right now on 500au DEC machine using Digital Unix and its compiler. Their times are between four and five minutes for the same test, I understand. Granted, this is not the same hardware and probably using DU and its Fortran on LX would drop times even further but I think that LX with Linux is not a slouch for the money. And, of course, YOU can improve it even further. Michal