From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,1649e8215a34bad7 X-Google-Attributes: gid111c93,public From: S S Sturrock Subject: Re: Alpha vs. P2? Date: 1998/08/03 Message-ID: <35C57FC5.78A2@holyrood.ed.ac.uk>#1/1 X-Deja-AN: 377431132 Content-Transfer-Encoding: 7bit References: <6pqcfm$7a$1@sunsystem5.informatik.tu-muenchen.de> Content-Type: text/plain; charset=us-ascii Organization: ICMB, University of Edinburgh Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha Out of interest I have been running some code I wrote on our P200MMX and Alpha 21164-533SX. According to the clock speeds the alpha should be about 2.67x faster than the Pentium. Running my code (largely integer) the pentium performs 2.88 million comparisons a second and the alpha 7.04 million which is 2.44x faster. Pretty good. However, this code does not utilise the 64 bit architecture having been developed on the Intel and more to the point makes no attempt to code to the dual integer pipelines of the alpha. Its also full of int32s which has got to be bad! We do have some more code which is a 64 bit implementation of the same algorithm using microparallelism and every attempt has been made to ensure both pipelines are filled. The results are exactly the same for the search and the program performs 75 million comparisons per second. In other words its more than 10x faster than my vanilla code on the same alpha and 26x faster than the vanilla code on the Pentium 200MMX. We have run it on both SGI/R10000 and Alpha and have no reason to believe it won't run on SparcULTRA, PA/RISC etc etc etc. This program is not I/O bound, it is heavy integer work and so is a pretty good comparison. Even if the PII400 is spectacularly faster than our P200MMX I don't see it being 26x faster. IOW, depending on what you are doing the Alpha can be faster than a Pentium, or much faster than a Pentium for integer work. FP should be faster too but there are the issues of the libm/libfm/libffm to work though for the moment. For those interested, the algorithm is the affine gapped Smith & Waterman biological database searching algorithm. Our current alpha is a 533SX with 64MB RAM and 4GB UW-SCSI drive running RH5.0 with egcs-2.91.47 19980707 compiled with haifa enabled. -- Windows *IS* difficult to use. Difficult in the same way a teenager is difficult, its immature, unstable and you can never get it to work properly. Dr Shane Sturrock sss@holyrood.ed.ac.uk