Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: S S Sturrock <sss@holyrood.ed.ac.uk>
Subject: Re: Alpha vs. P2?
Date: 1998/08/03	[thread overview]
Message-ID: <35C57FC5.78A2@holyrood.ed.ac.uk> (raw)
In-Reply-To: 6pqcfm$7a$1@sunsystem5.informatik.tu-muenchen.de

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



      parent reply	other threads:[~1998-08-03  4:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-30  4:00 Alpha vs. P2? Christian Stieber
1998-07-30  4:00 ` Jeff Lessem
1998-07-30  4:00 ` Matt Nelson
1998-07-30  4:00   ` Eric Christy
1998-07-31  4:00     ` Fast math library for Alpha/Linux (was Re: Alpha vs. P2?) G. Hugh SONG
1998-07-31  4:00       ` Greg Lindahl
1998-07-31  4:00         ` Joachim Wesner
1998-07-31  4:00       ` Matt Nelson
1998-07-31  4:00         ` Joachim Wesner
1998-07-31  4:00           ` Toon Moene
1998-07-31  4:00           ` Matt Nelson
1998-07-31  4:00             ` Joachim Wesner
1998-08-01  4:00               ` Greg Lindahl
1998-07-31  4:00       ` Toon Moene
1998-08-03  4:00 ` S S Sturrock [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox