From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,94b6222e337d2ab8 X-Google-Attributes: gid111c93,public From: Murx Subject: Re: Alpha's floating point performance Date: 1998/11/16 Message-ID: <36507C86.7407F9D0@theo1.physik.uni-stuttgart.de>#1/1 X-Deja-AN: 412489621 Content-Transfer-Encoding: 7bit References: <3643A2A1.DECD63A@cs.sunysb.edu> <7276pa$iu5$1@zeitung.ngc.com> <729g65$cub$1@nnrp1.dejanews.com> <36501DB7.C5404B12@theo1.physik.uni-stuttgart.de> <36506C02.FF2315E@ic.sunysb.edu> Content-Type: text/plain; charset=us-ascii Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Mime-Version: 1.0 Reply-To: chrisi@theo1.physik.uni-stuttgart.de Newsgroups: comp.os.linux.alpha Vinhthuy Phan wrote: > So do you think that in general a 533Mhz apha is roughly twice as fast as > a 450Mhz Pentium II, both using EGCS? Unfortunately there is no such things as roughly ;-) Fortunately though the above is true for *our* code. Or to put it this way: I wouldn't exchange my 533 Mhz alpha for two 450 Mhz Pentiums. (We have both, a 300 Mhz Pentium II and a 533 Mhz Alpha, so my judgement is based on that) The thing is this: If you take a little bit care of the actual architecture of the alpha, you get a speed increase by a factor two or even more. Example: You code a general matrix-multiplication (gemm) You do this in a 'regular` way and you end up with a throughput of 60-80 Mflops (all egcs, large matrices) Now you do cache-blocking, loop unrolling and you end up with 300-500 Mflops. (DU compiler usually reaches that region already in step one, egcs doesn't, again: depends on the code ) The extreme situation: You code this thing in assembler and get something like 800-900 Mflops. (independent of the size of the matrices, Goto's gemm) If you'd do the same with a Pentium II 450 Mhz you'd *also* get some 60-80 Mflops in the first step or maybe even *more*. The performance of the alpha (and the pentium) is totally swamped by access to memory. > I'm trying to find out as much about the difference between 450Mhz > Pentium II and Alpha systems running linux as possible. Any comment on > this will be greatly appreciated. It's actually very easy: If you can manage to hold you data/instructions in the cache, get an alpha, the alpha is capable of reaching an incredible throughput. How much you *eventually* get, really depends on your code. And that can differ between 'same performance/slower' and '10 times faster'. (being unfair here .-)) Christian P.S Our code isn't assembler. P.P.S get an Alpha anyway, the prizes don't differ that much. P.P.P.S What's the state on Digital porting their compilers to Linux ?