From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f67f3,c1ccff4e01ceb28a X-Google-Attributes: gidf67f3,public X-Google-Thread: 1164f8,e56d115cef48b8c8 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10a2ed,e56d115cef48b8c8 X-Google-Attributes: gid10a2ed,public X-Google-Thread: 110292,e56d115cef48b8c8 X-Google-Attributes: gid110292,public From: henley Subject: Re: big memory on PPro or Alpha Date: 1997/01/20 Message-ID: <32E39FFF.194A@tonys.ekology.umn.edu>#1/1 X-Deja-AN: 211049798 references: content-type: text/plain; charset=us-ascii organization: University of Minnesota mime-version: 1.0 newsgroups: comp.sys.intel,comp.sys.dec,alt.comp.hardware.pc-homebuilt,alt.fan.e-t-b x-mailer: Mozilla 3.0 (WinNT; I) David Mosberger-Tang wrote: > > janes@signal.dra.hmg.gb (Tim W. Janes) writes: > > Here are execution time comparisons for a run of our in house speech > > recognition code. > > > > PPro 200 (NetBSD) 127 secs > > Alphastation 600 5/266 (DU) 134 secs > > Alphastation 500 5/333 (DU) 109 secs > > > > I had put down the relative good PPro performance to the fact that all > > published performance figures use 64bit floats but we use 32Bit floats > > and a PPro does 32bit arithmetic very much faster than 64 but an alpha > > does 64 and 32 bit arithmetic at the same speed. > > > > Sorry DEC but at the moment we are very happy with the > > performance/cost of our array of cheap PPro machines. > > Assuming your code is written in C and you were using DEC C on the DU > machines: did you make sure that -std1 was turned on when using the > DEC C compiler? Without it, the compiler defaults to K&R mode which > has the effect that all fp operations are performed in double > precision (and since you're using floats, that would result in many > unneeded conversions). In contrast, gcc defaults to ANSI mode. I recompiled my code with all the compiler options suggested to me, including the -std1 switch you mentioned (this has the greatest effect) and -tune ev5, and I can now improve the alpha numbers: before optimization: 333MHz alphastation 500 : 76 MFlops/s after optimization : 89 Mflops/s This is still slower than the 200MHz ppro, at 105 Mflops/s.