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: 111c93,c041d60c5ac9906 X-Google-Attributes: gid111c93,public X-Google-Thread: f9b51,c041d60c5ac9906 X-Google-Attributes: gidf9b51,public From: Toon Moene Subject: Re: Alpha vs Pentium II Date: 1998/06/15 Message-ID: <6m42ta$9od$2@news.utrecht.NL.net>#1/1 X-Deja-AN: 362950190 References: <7702308E7DD72BE1.D5C0D24C5E4A105B.0BFAE93A10527F86@library-proxy.airnews.net> <6m386v$b3s$1@salomon.mchp.siemens.de> Organization: Moene Computational Physics, Maartensdijk, The Netherlands Newsgroups: comp.os.linux.alpha,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.setup Bill Simpson wrote: > On 15 Jun 1998, Martin Kahlert wrote: > > In addition i would like to know, how does the performance of Alpha > > compare to Pentium II in real apps compiled on LINUX (with egcs)? > > The spec values won't be reached by far i think. The problem is, > > that there are so many many more Intel boards running LINUX > > than Aplhas. So egcs-Intel should be far more optimized to Intel > > than to Aplha. > I remember reading a posting that backed up Martin. In the real world > running home-brewed C software (gcc or egcs) under Linux, the Alpha was > not nearly as fast as the SPEC numbers had previously led him to believe. > So that Alpha user's conclusion was that really there was NO extra bang > for the buck with an Alpha system. >From the point of view of gcc / egcs, there are two *major* problems with Pentia: 1. Too few registers (gcc / egcs has all sorts of "special" code to deal with paucity of registers of the ix86 "architecture"). 2. Double precision data not aligned on 8-byte addresses is awfully slow to access. Unfortunately, Intel didn't realise that when they drew up the A(pplication) B(inary) I(nterface), so gcc/egcs has a hard time coping with this misfeature. Of course, if your code happens to mostly consist of small basic blocks (small pieces of codes surrounded by jumps) and is not using any double precision data anyway, you won't run into these limitations. In these cases (especially if it's also true that your code does a lot of character operations, like copying and comparing strings), you're probably not better of using an Alpha. If, however, your programs are more like the average Fortran program, with five-page long do loops [sorry, couldn't resist] using lots of double precision calculations, an Alpha might be a nice choice. -- Toon Moene (mailto:toon@moene.indiv.nluug.nl) Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Phone: +31 346 214290; Fax: +31 346 214286 g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam