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: mbkennel@yahoo.com (Matt Kennel) Subject: Re: Redhat/Alpha computational performance???? Date: 1998/03/04 Message-ID: #1/1 X-Deja-AN: 330873894 References: <6dh5he$rca@news1.newsguy.com> <6dhf2l$gku$1@pulp.ucs.ualberta.ca> Organization: University of California at San Diego Reply-To: mbkennel yahoo.com Newsgroups: comp.os.linux.alpha On 3 Mar 1998 17:36:21 GMT, Michal Jaegermann wrote: :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. Naturally, but please don't say that these elementary functions aren't crucial to a very large number of computations. Some of my other benchmark codes which showed poor performance were for computational neuroscience. Does SPECfp test elementary functions at all? And why does the Linux/Alpha compiler compile the "FDLIBM" library (a high quality IEEE-754 libm) so poorly? :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. Are you sure the trigonometric functions inside the inner loops, or are they used only for initialization of some kernel coefficients? :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. How does the similar code compare with a modern Pentium running egcs on x86 Linux? -- * Matthew B. Kennel/Institute for Nonlinear Science, UCSD - * "People who send spam to Emperor Cartagia... vanish! _They say_ that * there's a room where he has their heads, lined up in a row on a desk... * _They say_ that late at night, he goes there, and talks to them... _they *- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"