Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* HELP:How does Alpha compare to PII?
@ 1998-08-12  4:00 QM
  1998-08-14  4:00 ` Thorsten Koch
  1998-08-17  4:00 ` cekim
  0 siblings, 2 replies; 9+ messages in thread
From: QM @ 1998-08-12  4:00 UTC (permalink / raw)


My friend intends to run a unix (linux) machine and needs raw power for some
scientific application. For the price of a Pentium II 350/400/450Mhz system
what equivalent Alpha system can should be be looking at? Also what is the
performance comparison. 

Also do you know of an Alpha dealer in the UK with very reasonable prices?
Thanks.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: HELP:How does Alpha compare to PII?
  1998-08-12  4:00 HELP:How does Alpha compare to PII? QM
@ 1998-08-14  4:00 ` Thorsten Koch
  1998-08-19  4:00   ` Jason Colflesh
  1998-08-17  4:00 ` cekim
  1 sibling, 1 reply; 9+ messages in thread
From: Thorsten Koch @ 1998-08-14  4:00 UTC (permalink / raw)


Hi, I think this depends heavily on the type of application.
Integer vs. Floating Point and the type of code. 
Some people pointed out that linux/alpha lacks a highly 
optimizing fortran compiler.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: HELP:How does Alpha compare to PII?
  1998-08-12  4:00 HELP:How does Alpha compare to PII? QM
  1998-08-14  4:00 ` Thorsten Koch
@ 1998-08-17  4:00 ` cekim
  1998-08-19  4:00   ` John Rowe
  1 sibling, 1 reply; 9+ messages in thread
From: cekim @ 1998-08-17  4:00 UTC (permalink / raw)


In article <6qs6i8$592$1@bignews.shef.ac.uk>,
  QM<modnar_q@yahoo.com> wrote:
> My friend intends to run a unix (linux) machine and needs raw power for some
> scientific application. For the price of a Pentium II 350/400/450Mhz system
> what equivalent Alpha system can should be be looking at? Also what is the
> performance comparison.
>
> Also do you know of an Alpha dealer in the UK with very reasonable prices?
> Thanks.

As noted with a previous reply, it does depend highly on what you intend to
do with it.  Fortran is coming along nicely on the alpha under linux, but it
is not "there" yet in terms of really using the alpha to its full extent.

there are also known weaknesses with Alpha-linux math lib that are slowly
being addressd, but it seems that without the benifit of a digital unix
compiler, or some hand tweaking, Gcc, or ECGS compiled floating point code is
not as fast as it could be on the alpha.  (30-40% faster is possible with
Digital U from some reports)

Now, in direct comparison with the PII, I can offer this.

I did some side by side testing of a PPRO200 and an Alpha 164LX 533MHZ on
floating point code:

Once I discovered an alpha/mathlib weakness with large exponents and cosines
(ie: don't do it!, keep those floating point exponents small if you can when
using the trig functions).  I compiled the same code on my alpha and pentium
pro (the PII sadly is not yet running linux, so we wll have to extrapolate a
little).

In various tests the Alpha came out 3-5X faster than the PPRO.	It got even
better when memory Bandwidth becase a question(large arrays) because the
ALpha memory subsytem is far better than the PPRO and is still better than
most if not all PII setups at present.

The other benifit with the Alpha is 64 bit accuracies and the lack of a few
math bugs which give you greater accuracy all around.

So, since the PII is a PPRo core with MMX and a slower L2 cachs (PPRO runs at
core speed, PII until XEON does not), and considering the improved memory
subsystem of the PII over the PPRO (SDRAM at 100MHZ vs EDO at 66MHz), there
should be a roughly 1-1 improvement by MHz for the PII over the PPRO.

thus a 400MHZ PII should be about 2X the P6-200 and a 450 will start to match
the integer performance of an alpha running linux (digital unix is somewhat of
another story because the compilers are much better all around).

Again, you will suffer in accuracy if that is important and if you need 64 bit
numbers, the PII is next to useless as it will have to clunk all day to
effectively reconstruct a 64 bit result out of bit sliced 32 bit instructions.

If 32 bits and the occiasional error are ok with you (who needs Pi anyway?)
then the best bang for the buck right now is more than likely a dual PII
system under linux and some carefully threaded code to take full advantage of
the dual system.

If you need accurate results and 64 bits of precision, then go with the alpha
and either:

1. bite the bullet and buy digital U (the output of statically compiled
programs under digital U run wonderfully under linux BTW).

2. Get an alpha and be prepared to profile your C/fotran code and do some hand
optimization, if things start to slow down.

some quick calculations on Specfp/int numbers
(see:http://www.microway.com/bench.html):

PII 333 - 12.8 INT 9.25 fp
Alpha 164LX 533 (LX is important don't use 164PC!!!) - 16.6 int 24 fp

PII SpecINT/MHZ - 3.84e-2
PII SPecfp/MHZ - 2.77e-2

Alpha SpecINT/MHZ - 3.11e-2
Alpha Specfp/MHZ - 4.5e-2

Spec* numbers are reasonably accurate in my experience as a general guide for
processer perofrmance, but again remember the weakness of the math lib code
under linux.

so, this would indicate that a PII would need to operate at roughly 433MHz to
match the integer performance and 866MHz to match the fp performance.

Of course this ignores the 64 bit and lack of math error advantage you get
from alpha.

The nice thing about linux is that you can build clusters of machines to
process in parallel (see beowolf project) so long as pentium and 32 bit
accuracy are sufficient, the intel linux platform is a bit easier to support
simply because of the volume of poeple using it.

I love my alpha and it screams, but recognize that it is not a cure all for
slow code and you need to choose your hardware carefully and according o your
needs.

Hope that helps,

/Mike

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: HELP:How does Alpha compare to PII?
  1998-08-17  4:00 ` cekim
@ 1998-08-19  4:00   ` John Rowe
  1998-08-19  4:00     ` Toon Moene
  0 siblings, 1 reply; 9+ messages in thread
From: John Rowe @ 1998-08-19  4:00 UTC (permalink / raw)


cekim@ix.netcom.com writes:

>Again, you will suffer in accuracy if that is important and if you need 64 bit
>numbers, the PII is next to useless as it will have to clunk all day to
>effectively reconstruct a 64 bit result out of bit sliced 32 bit instructions.

Que? The PII supports 80 bit IEEE maths with 80 bit registers. (Of
course the fp register system is a mess but that's another story.) All
of our work is 64 bit floating point and we're very happy with the
PIIs for the price. I have no idea about 64 bit integers.

John



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: HELP:How does Alpha compare to PII?
  1998-08-19  4:00   ` John Rowe
@ 1998-08-19  4:00     ` Toon Moene
  1998-08-19  4:00       ` Greg Lindahl
  0 siblings, 1 reply; 9+ messages in thread
From: Toon Moene @ 1998-08-19  4:00 UTC (permalink / raw)


John Rowe <rowe@excc.exeter.ac.uk> wrote:

> cekim@ix.netcom.com writes:

> >Again, you will suffer in accuracy if that is important and if you need 64 
bit
> >numbers, the PII is next to useless as it will have to clunk all day to
> >effectively reconstruct a 64 bit result out of bit sliced 32 bit 
instructions.

> Que? The PII supports 80 bit IEEE maths with 80 bit registers. (Of
> course the fp register system is a mess but that's another story.) All
> of our work is 64 bit floating point and we're very happy with the
> PIIs for the price. I have no idea about 64 bit integers.

Under g77/gcc (whether g77-0.5.23 + gcc-2.8.1 or egcs-1.0.3) you'll get 
support for 64 bit integers:  In C: long long int; in Fortran: INTEGER*8.
Of course, on a thoroughly 32 bit architecture like the ix86 this means that 
simple arithmetic has to be broken down into 32-bit chunks, but it can be 
done transparently.

I don't know off-hand of a modern architecture *not* supporting 64-bit 
floating point arithmetic.

OTOH, you really have to love Intel for having 80-bit intermediate results in 
registers, or alternatively, all those who aren't ashamed of developing 
algorithms that break down on the differences between 64- and 80-bit 
intermediate values.

-- 
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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: HELP:How does Alpha compare to PII?
  1998-08-19  4:00     ` Toon Moene
@ 1998-08-19  4:00       ` Greg Lindahl
  1998-08-20  4:00         ` Toon Moene
  0 siblings, 1 reply; 9+ messages in thread
From: Greg Lindahl @ 1998-08-19  4:00 UTC (permalink / raw)


Toon Moene <toon@moene.indiv.nluug.nl> writes:

> OTOH, you really have to love Intel for having 80-bit intermediate results in 
> registers, or alternatively, all those who aren't ashamed of developing 
> algorithms that break down on the differences between 64- and 80-bit 
> intermediate values.

As a guy who works on weather codes, you fall into the second category
-- lots of weather organizations use the methodology of "proving"
correctness of parallelization by insisting on bit-for-bit
reproducability. If you have 80-bit intermediates, that can be hard to
get.

-- g




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: HELP:How does Alpha compare to PII?
  1998-08-14  4:00 ` Thorsten Koch
@ 1998-08-19  4:00   ` Jason Colflesh
  0 siblings, 0 replies; 9+ messages in thread
From: Jason Colflesh @ 1998-08-19  4:00 UTC (permalink / raw)


Well, I'll throw my two cents into the mix, by pointing to a great
breakdown of
pretty much ALL processors, past and present. It's got stat information,
and
specint/fp 92/95 info. This includes PPRO, PII, and the Alpha series.

http://infopad.EECS.Berkeley.EDU/CIC/summary/local/

The main site is also pretty good, at:

http://infopad.EECS.Berkeley.EDU/CIC/


Jason Colflesh




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: HELP:How does Alpha compare to PII?
  1998-08-19  4:00       ` Greg Lindahl
@ 1998-08-20  4:00         ` Toon Moene
  1998-08-20  4:00           ` Greg Lindahl
  0 siblings, 1 reply; 9+ messages in thread
From: Toon Moene @ 1998-08-20  4:00 UTC (permalink / raw)


lindahl@pbm.com (Greg Lindahl) wrote:

> I wrote:
> 
> > OTOH, you really have to love Intel for having 80-bit intermediate 
results in 
> > registers, or alternatively, all those who aren't ashamed of developing 
> > algorithms that break down on the differences between 64- and 80-bit 
> > intermediate values.

> As a guy who works on weather codes, you fall into the second category
> -- lots of weather organizations use the methodology of "proving"
> correctness of parallelization by insisting on bit-for-bit
> reproducability. If you have 80-bit intermediates, that can be hard to
> get.

That's because most of the Numerical Weater Prediction systems were developed 
on Crays, where you could get bit-for-bit reproducability.

Of course, the answers were (slightly) wrong, because the Cray series was 
infamous for its "cutting corners" in floating point arithmetic, but at least 
it was reproducibly wrong.

-- 
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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: HELP:How does Alpha compare to PII?
  1998-08-20  4:00         ` Toon Moene
@ 1998-08-20  4:00           ` Greg Lindahl
  0 siblings, 0 replies; 9+ messages in thread
From: Greg Lindahl @ 1998-08-20  4:00 UTC (permalink / raw)


Toon Moene <toon@moene.indiv.nluug.nl> writes:

> > As a guy who works on weather codes, you fall into the second category
> > -- lots of weather organizations use the methodology of "proving"
> > correctness of parallelization by insisting on bit-for-bit
> > reproducability. If you have 80-bit intermediates, that can be hard to
> > get.
> 
> That's because most of the Numerical Weater Prediction systems were developed 
> on Crays, where you could get bit-for-bit reproducability.

Every machine today except the x86 and the powerpc without the magic
compiler switch have bit-for-bit reproducability. I assure you that
the weather folks didn't force that all by themselves.

-- g



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1998-08-20  4:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-12  4:00 HELP:How does Alpha compare to PII? QM
1998-08-14  4:00 ` Thorsten Koch
1998-08-19  4:00   ` Jason Colflesh
1998-08-17  4:00 ` cekim
1998-08-19  4:00   ` John Rowe
1998-08-19  4:00     ` Toon Moene
1998-08-19  4:00       ` Greg Lindahl
1998-08-20  4:00         ` Toon Moene
1998-08-20  4:00           ` Greg Lindahl

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