From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,c041d60c5ac9906 X-Google-Attributes: gid1103af,public X-Google-Thread: 102b32,c041d60c5ac9906 X-Google-Attributes: gid102b32,public X-Google-Thread: f9b51,c041d60c5ac9906 X-Google-Attributes: gidf9b51,public X-Google-Thread: 111c93,c041d60c5ac9906 X-Google-Attributes: gid111c93,public From: nospam@teflon.coated (Matt Nelson) Subject: Re: Alpha vs Pentium II Date: 1998/06/25 Message-ID: <6mu3sr$40j@bgtnsc01.worldnet.att.net>#1/1 X-Deja-AN: 366042135 References: <7702308E7DD72BE1.D5C0D24C5E4A105B.0BFAE93A10527F86@library-proxy.airnews.net> <6m386v$b3s$1@salomon.mchp.siemens.de> <6mttjs$buq@bgtnsc01.worldnet.att.net> Reply-To: mnelson at dynatec dot com Organization: AT&T WorldNet Services Newsgroups: comp.os.linux.alpha,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.setup On 25 Jun 1998 19:11:19 +0200, Robert Harley wrote: > >nospam@teflon.coated (Matt Nelson) writes: >> [...] >> we use linux around here for remote sensing R&D signal processing tasks. >> most of our code is in Fortran (g77), and involves lots of multi- >> dimensional complex FFT's [...] >> it's close, but my codes run *faster* on the PII/300 than the Alpha/566. >> others around here are seeing similar results. > >If you develop your code and tune it on x86, then run it with little >or no adaptation on Alpha, it's not surprising that the Alpha appears >to be only similar speed. > >You could have done the opposite and found the Alpha three or four >times as fast. we aren't a bunch of computer scientists; we're a bunch of physicists etc doing signal processing and data analysis. we don't "tune" our code to the Intel platform. we don't "tune" code at all (except for coding basics, like making sure nested loops are in the correct order, etc.). we generally don't have time for that - we're up to our ears just doing the science. >The DEC compilers do a good job of munging code into suitable form for >Alpha, with lots of register usage, small-scale parallelism etc. > >With GNU compilers, the object code is closer to a straight-through >translation of the source (no flames please :). note that i am comparing GNU/Intel to GNU/Alpha. DU doesn't really enter into my comparison. so we should be talking about "straight-through" translation on both platforms. of course, we can buy two Alpha/Linux boxes for the price of one Alpha/DU box, recovering the performance hit! and when GNU/Alpha matures, we'll be ahead of the game... >What this means is that you have to put in a bit of work to get top >performance. Read a bit about the Alpha architecture, bear it in mind >when writing/tuning your code, and you WILL find the Alpha is >significantly faster, usually by 50% to 100%. could you provide any pointers to references that might explain how to tune code for the alpha? >A quick solution to your problem: grab the FFTW routines for Alpha and >plug them in. Whee! i've been meaning to try FFTW...