Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Shane Sturrock <sss@nova.bru.ed.ac.uk>
To: axp-list@redhat.com
Subject: Re: Alpha cluster?
Date: Sat, 6 Nov 1999 06:29:28 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.4.10.9911060612290.27044-100000@nova.bru.ed.ac.uk> (raw)
In-Reply-To: <Pine.LNX.4.10.9911052254360.945-100000@cc42593-a.taylor1.mi.home.com>


On Fri, 5 Nov 1999, Jeff Sturm wrote:

> > Possibly, but I still find it unlikely that the Athlon will be faster than
> > a '164 clock for clock, let alone a '264 based on my experience.  I simply
> > don't believe benchmarks, the best benchmark is your own code.
> 
> Very true.  The scary part of benchmarks like SPECint95 is that CPU
> manufacturers may target benchmark performance specifically to get an edge
> over the competition, which does not necessarily benefit real-world code
> to the same degree.

Yup.  As I've said, I have yet to see the x86 processors perform anything
like as well as Alpha for my work regardless of what optimisations I might
put into the compiler.  But, I use very little floating point.

> Anyway, doesn't the Alpha have real advantages over x86 (besides clock
> speed, in which they are now neck-to-neck)?  My asm is a little rusty, but
> I believe the Alpha has far more GP registers, and can use registers for

Sure does, if you really want some fun you can get into the asm (it's so
nice on an Alpha, its like an high level language) and tune the living
daylights out of the program core.

> parameter passing... does that mean it relies less on slow main memory or
> cache?  Also, the Alpha traps unaligned memory accesses, and the x86
> ignores them by default... that means they are far more likely to be fixed
> on Alpha than on x86, even though they still carry a penalty.  I'm sure
> there are other differences that I can't think of right now.

Indeed.  Other points to remember when dealing with any processor is
maximizing your cache usage, try and keep your memory accesses nice and
linear so that the cache won't be being filled with lots of data you
won't be using (O'Reilly has a nice book on high performance computing
which goes into this in detail).  x86 has such a feeble amount of cache
that for anything that is seriously compute intensive and that uses the
cache well on an Alpha you are really going to see some rewards.

> I write business software.  I don't need fp performance.  Typical business
> software really isn't heavy integer processing, as some others have
> claimed.  Rather it is very heavy on data processing, i.e. memory and
> disk-intensive.  Large amounts of RAM are common to exploit disk caching
> to the fullest.  Large processor cache helps too.  Any tricks to avoid
> memory fetches and processor stalls are beneficial.  The importantance
> of clock speed diminishes as much processor time is spent waiting for
> memory or bus.

Yep, actually sounds pretty similar to our code although we actually use
very little physical RAM (1MB) and the algorithm is slow enough that even
an IDE disc can keep up.  More than anything else I think this is why our
code behaves so well on the Alpha.  Plus we use every register we can get
our hands on.

> The Alpha seems to cope well.  Most of our software I've tested on Alpha
> performs as well as or better than the x86 version (both compiled with
> gcc).  I realize I don't have the latest and fastest PIII, but then I
> don't have a 264 either... I guess I'm working with the previous
> generation of both architectures.

Ditto here although we are negotiating the price on a UP2000 with single
processor at the moment to add to our cluster of '164s.

Basically though, if your code is plain 32 bit and compact so it uses the
cache well the '164 Alpha is able to outperform clock for clock its x86
rivals.  Also, if you can get the dual instruction pipeline running
nicely on the Alpha (add a few no-ops here and there to stop it stalling)
you can bump the speed up again.  Anything you need to do in 64 bits is
going to be much faster and if you can do SIMD in the 64 bit word as we do
then you can slaughter x86.  This completely ignores FP as I don't use it
by and large.

Want a comparison?  If I run our Smith/Waterman algorithm on an Intel PII
400Mhz box against a database it will take around 15 mins to complete a
database search.  The same algorithm (not the same program since it won't
run in less than 64 bits) will complete the task on a 533 '164 in less
than 48 seconds.  Hopefully if we get a UP2000 box we can do it even
quicker.

Shane


  reply	other threads:[~1999-11-06  6:29 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-24 18:05 Alpha cluster? Mark L. Holloway
1999-10-24 18:12 ` Matti Aarnio
1999-10-24 19:03 ` Greg Lindahl
1999-10-25  3:15   ` Jeffrey Sturm
1999-10-26 14:28     ` Greg Lindahl
1999-10-26 14:42       ` Phillip Ezolt
1999-10-26 14:52         ` Greg Lindahl
1999-10-26 15:57         ` Wes Bauske
1999-11-03  5:08       ` Jeff Sturm
1999-11-03  5:30         ` Wes Bauske
1999-11-03  5:34         ` Kevin Brown
1999-11-03  5:37           ` Wes Bauske
1999-11-03  6:41             ` Kevin Brown
1999-11-03  8:22               ` Wes Bauske
1999-11-03 13:30                 ` Kevin Brown
1999-11-03 13:43                   ` Shane Sturrock
1999-11-03 16:53                     ` Wes Bauske
1999-11-04  9:52                       ` Shane Sturrock
1999-11-04 17:36                         ` Wes Bauske
1999-11-05  8:17                           ` Shane Sturrock
1999-11-05 17:53                             ` Wes Bauske
1999-11-06  4:39                             ` Jeff Sturm
1999-11-06  6:29                               ` Shane Sturrock [this message]
1999-11-08 11:32                                 ` Phil Carmody
1999-11-08 13:20                                   ` Shane Sturrock
1999-11-08 13:55                                     ` Jay.Estabrook
1999-11-07 21:28                               ` Greg Lindahl
1999-11-07 22:15                                 ` Peter Rival
1999-11-08 13:30                                   ` Peter Rival
1999-11-10  1:06                                   ` Maurice Hilarius
1999-11-10  4:29                                     ` Wes Bauske
1999-11-04 15:42                       ` Adam C Powell IV
1999-11-04 17:56                         ` Wes Bauske
1999-11-05 16:16                           ` Greg Lindahl
1999-11-05 18:10                             ` Wes Bauske
1999-11-05 18:30                               ` Greg Lindahl
1999-11-05 22:04                                 ` Wes Bauske
1999-11-06  2:14                                   ` Alpha cluster - SIMD-FP on future Alphas? N Novakovic
1999-11-06  2:20                                     ` Rich Peters
1999-11-06  5:22                                       ` Wes Bauske
1999-11-06  5:26                                     ` Wes Bauske
1999-11-03 15:32                 ` Alpha cluster? Greg Lindahl
1999-11-03 16:51                 ` Steve Rogers
1999-11-04  4:04                   ` Kevin Brown
1999-11-05  7:43                   ` Maurice Hilarius
  -- strict thread matches above, loose matches on Subject: below --
1999-11-03 13:26 Larry Sendlosky
1999-11-03 15:29 ` Greg Lindahl
1999-11-03 16:53 ` Steve Rogers
1999-11-03 17:29   ` Greg Lindahl
1999-11-03 17:51 Larry Sendlosky
1999-11-03 18:00 Larry Sendlosky
1999-11-03 18:17 Paul Bunn
1999-11-03 18:52 ` Michael Huntingdon
1999-11-03 18:59 Heirich, Alan
     [not found] <D72CB525BE86D1119D1F00805FE69EDF02C5B56C@exccup-25007.mis. tandem.com>
1999-11-03 19:14 ` Michael Huntingdon
1999-11-16  7:20   ` Uncle George
1999-11-03 19:31 Heirich, Alan
     [not found] <D72CB525BE86D1119D1F00805FE69EDF02C5B56E@exccup-25007.mis. tandem.com>
1999-11-03 19:51 ` Michael Huntingdon
1999-11-07 22:52 Tom Morris
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