Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* big memory on PPro or Alpha
@ 1997-01-08  5:00 Erik Evensen
  1997-01-08  5:00 ` Dennis Moran
                   ` (5 more replies)
  0 siblings, 6 replies; 73+ messages in thread
From: Erik Evensen @ 1997-01-08  5:00 UTC (permalink / raw)



Hi,

I'm considering building a Pentium Pro or Alpha (21064 - don't think I
can afford a 21164 unless I can get mboard/CPU/cache for < $2000)
machine to run some pretty big floating point intensive simulations
(ca. 180 meg). I'm planning on putting 256 meg in the machine. My
question is how does a PPro perform with large programs -- is the 256K
cache a big problem (would the 512K PPro make more sense). How does
memory bandwidth compare between PPro and Alpha motherboards/chipsets?

Thanks for any input. . .

--erik



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

* Re: big memory on PPro or Alpha
  1997-01-08  5:00 big memory on PPro or Alpha Erik Evensen
@ 1997-01-08  5:00 ` Dennis Moran
  1997-01-12  5:00   ` henley
  1997-01-09  5:00 ` big memory on PPro or Alpha 
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 73+ messages in thread
From: Dennis Moran @ 1997-01-08  5:00 UTC (permalink / raw)



Erik Evensen <erik@avalon.harvard.edu> wrote in article
<to3ewc6t4u.fsf@avalon.harvard.edu>...
> Hi,
> 
> I'm considering building a Pentium Pro or Alpha (21064 - don't think I
> can afford a 21164 unless I can get mboard/CPU/cache for < $2000)
> machine to run some pretty big floating point intensive simulations
> (ca. 180 meg). I'm planning on putting 256 meg in the machine. My
> question is how does a PPro perform with large programs -- is the 256K
> cache a big problem (would the 512K PPro make more sense). How does
> memory bandwidth compare between PPro and Alpha motherboards/chipsets?
> 
> Thanks for any input. . .
> 
> --erik
> 
> 

The Alpha will really kick the Pentium Pro's ass in what you are
describing. You can get a 433MHz Alpha system for $4000 or so dollars. The
memory bandwidth is much faster on the Alpha system.


-- 
Dennis Moran (aka Coolio)
coolio@coolio9.com
http://www.coolio9.com/




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

* Re: big memory on PPro or Alpha
  1997-01-08  5:00 big memory on PPro or Alpha Erik Evensen
  1997-01-08  5:00 ` Dennis Moran
  1997-01-09  5:00 ` big memory on PPro or Alpha 
@ 1997-01-09  5:00 ` Toshinao Ishii
  1997-01-11  5:00 ` Douglas H. Borsom
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 73+ messages in thread
From: Toshinao Ishii @ 1997-01-09  5:00 UTC (permalink / raw)



In article <to3ewc6t4u.fsf@avalon.harvard.edu> Erik Evensen <erik@avalon.harvard.edu> writes:

>   question is how does a PPro perform with large programs -- is the 256K
>   cache a big problem (would the 512K PPro make more sense). How does
>   memory bandwidth compare between PPro and Alpha motherboards/chipsets?

What about trying STREAM benchmark ? Basically, it copies from a huge
array to another huge array and measures the speed of copying.
(Of course, what it exactly does is not such simple.)
You can find some results on http://www.cs.virginia.edu/stream.

-=-=-=-=-=-=-=
Toshinao Ishii

	email: ici@osk.threewebnet.or.jp (NeXTMAIL/MIME Welcome)



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

* Re: big memory on PPro or Alpha
  1997-01-08  5:00 big memory on PPro or Alpha Erik Evensen
  1997-01-08  5:00 ` Dennis Moran
@ 1997-01-09  5:00 ` 
  1997-01-14  5:00   ` Opher D. Kahn
  1997-01-09  5:00 ` Toshinao Ishii
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 73+ messages in thread
From:  @ 1997-01-09  5:00 UTC (permalink / raw)



Erik Evensen <erik@avalon.harvard.edu> wrote:

>Hi,
>
>I'm considering building a Pentium Pro or Alpha (21064 - don't think I
>can afford a 21164 unless I can get mboard/CPU/cache for < $2000)
>machine to run some pretty big floating point intensive simulations
>(ca. 180 meg). I'm planning on putting 256 meg in the machine. My
>question is how does a PPro perform with large programs -- is the 256K
>cache a big problem (would the 512K PPro make more sense). How does
>memory bandwidth compare between PPro and Alpha motherboards/chipsets?
>
>Thanks for any input. . .
>
>--erik


Alpha will eat the PPros lunch.  You can get a 433 Mhz for
less than $4000.  Plus its a 128 bit processor that executes
4 instructions per second.  It can sustain 1.6 billion
(yes, billion) instructions per second.


-Ken, 1967 Ford F100, 390FE V8.

+-----------------------------------------------------------------+
| Do *not* add my address to any mailing list without my written  |
| permission.  If you wish to correspond (non-commercial only)    |
| please send email to: kpayne@mindspring.com.  Due to a bug in   |
| my mailer any junk email received will automatically subscribe  |
| the sender to the majodomo lists.                               |
+-----------------------------------------------------------------+
| Spelling flames are lame.  Cole's Law: Thinly Sliced Cabbage    |
+-----------------------------------------------------------------+




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

* Re: big memory on PPro or Alpha
  1997-01-08  5:00 big memory on PPro or Alpha Erik Evensen
                   ` (2 preceding siblings ...)
  1997-01-09  5:00 ` Toshinao Ishii
@ 1997-01-11  5:00 ` Douglas H. Borsom
  1997-01-19  5:00 ` David Mosberger-Tang
  1997-01-20  5:00 ` henley
  5 siblings, 0 replies; 73+ messages in thread
From: Douglas H. Borsom @ 1997-01-11  5:00 UTC (permalink / raw)



In article <to3ewc6t4u.fsf@avalon.harvard.edu>, Erik Evensen
<erik@avalon.harvard.edu> wrote:

> Hi,
> 
> I'm considering building a Pentium Pro or Alpha (21064 - don't think I
> can afford a 21164 unless I can get mboard/CPU/cache for < $2000)
> machine to run some pretty big floating point intensive simulations
> (ca. 180 meg).

If you can wait 3 months or so, the 21164PC will be out, and the price
(complete system with monitor< $3K) and performance (estimated
SPECint95/SPECfp95 14/17) should very nicely fit your need.  Note
that the expected 21164PC  FP performance is better than twice that
of a 200 MHz PPro.

     -doug



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

* Re: big memory on PPro or Alpha
  1997-01-08  5:00 ` Dennis Moran
@ 1997-01-12  5:00   ` henley
  1997-01-12  5:00     ` Peter Mardahl
                       ` (8 more replies)
  0 siblings, 9 replies; 73+ messages in thread
From: henley @ 1997-01-12  5:00 UTC (permalink / raw)



Dennis Moran wrote:
> 
> Erik Evensen <erik@avalon.harvard.edu> wrote in article
> <to3ewc6t4u.fsf@avalon.harvard.edu>...
> > Hi,
> >
> > I'm considering building a Pentium Pro or Alpha (21064 - don't think I
> > can afford a 21164 unless I can get mboard/CPU/cache for < $2000)
> > machine to run some pretty big floating point intensive simulations
> > (ca. 180 meg). I'm planning on putting 256 meg in the machine. My
> > question is how does a PPro perform with large programs -- is the 256K
> > cache a big problem (would the 512K PPro make more sense). How does
> > memory bandwidth compare between PPro and Alpha motherboards/chipsets?
> >
> > Thanks for any input. . .
> >
> > --erik
> >
> >
> 
> The Alpha will really kick the Pentium Pro's ass in what you are
> describing. You can get a 433MHz Alpha system for $4000 or so dollars. The
> memory bandwidth is much faster on the Alpha system.

This does not automatically follow. As a developer of extremely floating
point intensive software, I (and many in the scientific community) have
been extremely disappointed with the performance of the alpha. Sure,
they
perform well on the benchmarks, but when it comes to the [number]
crunch,
I would go with a ppro (better value). Take a particular simulation I am 
working on in quantum chromodynamics: a dual ppro (200MHz) performs
almost 
as well as a 16 node T3D!!! Talking about hype, the alpha has been hyped
to
hell and back. So don't always believe the hype. My dell notebook is
TWICE as
fast as a node on the Cray T3D, with its alpha CPU and huge L2 cache,
and
massive price tag. The advantage of the ppro lies in the large fast L2
cache,
and it makes a big difference in serious scientific computing.



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

* Re: big memory on PPro or Alpha
  1997-01-12  5:00   ` henley
@ 1997-01-12  5:00     ` Peter Mardahl
  1997-01-13  5:00       ` Burkhard Neidecker-Lutz
  1997-01-13  5:00       ` henley
  1997-01-13  5:00     ` Torbjorn Lindgren
                       ` (7 subsequent siblings)
  8 siblings, 2 replies; 73+ messages in thread
From: Peter Mardahl @ 1997-01-12  5:00 UTC (permalink / raw)




In article <32D92EFD.7B60@spam.off>, henley  <henley@spam.off> wrote:
>Dennis Moran wrote:


>This does not automatically follow. As a developer of extremely floating
>point intensive software, I (and many in the scientific community) have
>been extremely disappointed with the performance of the alpha. Sure,
>perform well on the benchmarks, but when it comes to the [number]

Yes, and I've been extremely impressed by the speed of the
alpha for MY scientific computing.  Nothing beats it,
and I've tried them all:  Sun, HP, IBM, SGI, Intel.


>I would go with a ppro (better value). Take a particular simulation I am 
>working on in quantum chromodynamics: a dual ppro (200MHz) performs
>as well as a 16 node T3D!!! Talking about hype, the alpha has been hyped

So for your one application an Intel box gives
better results than alphas did.  Then you should
use Intel platforms, if they work better for you.

But the legendary speed of the alphas isn't ALL hype.

Everyone who I take seriously when they discuss benchmarks
will tell you that you should try YOUR application on a
machine before buying it.

>hell and back. So don't always believe the hype. My dell notebook is
>fast as a node on the Cray T3D, with its alpha CPU and huge L2 cache,
>massive price tag. The advantage of the ppro lies in the large fast L2

Are you talking about comparing a PPro vs. a 21064?  It isn't surprising
if the PPro wins, in that case.  The 21164 alpha is much faster.

>and it makes a big difference in serious scientific computing.

Maybe it does for YOUR "serious scientific computation", but for MY 
"serious scientific computation", the alpha is eminently satisfactory.

Peter Mardahl
Graduate Student
EECS Department
University of California, Berkeley



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

* Re: big memory on PPro or Alpha
  1997-01-13  5:00       ` Burkhard Neidecker-Lutz
@ 1997-01-13  5:00         ` henley
  1997-01-14  5:00           ` Douglas H. Borsom
  1997-01-14  5:00           ` Joshua Cope
  0 siblings, 2 replies; 73+ messages in thread
From: henley @ 1997-01-13  5:00 UTC (permalink / raw)



Burkhard Neidecker-Lutz wrote:
> 
> >In article <32D92EFD.7B60@spam.off> Dennis Moran wrote:
> >>I would go with a ppro (better value). Take a particular simulation I am
> >>working on in quantum chromodynamics: a dual ppro (200MHz) performs
> >>as well as a 16 node T3D!!!
> 
> Not surprising. The T3D contains 150 Mhz 21064 processors *without*
> board level caches. I doubt we ever had a machine that didn't have
> board level cache, but the SPECfp95 for a 150 Mhz 21064 with
> 512 KB of cache is 3.65 (the DEC 3000/500). A Pentium Pro 200 come
> in between 6.21 and 6.68 SPECfp95 (depending on L2 and memory system).
> If your code benefits from 256 KByte L2 cache (or 512) on the Pentium
> Pro and the 21064 is hurt by the lack of any L2 (which it surely is,
> so there are only 8 Kbyte I and 8 Kbyte D cache), I wouldn't be
> surprised to see performance go through the floor on the T3D.
> 
> So, blame it on the T3D, not Alphas in general. Notice that the T3E
> processing elements use the 21164, which
> 
>         a) has 96 Kbyte of L2 cache on chip
>         b) hs twice the number of outstanding external references

Aha, that would be acceptable. The T3D really stinks.

Compare your T3E with the teraflops intel machine though...



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

* Re: big memory on PPro or Alpha
  1997-01-12  5:00     ` Peter Mardahl
  1997-01-13  5:00       ` Burkhard Neidecker-Lutz
@ 1997-01-13  5:00       ` henley
  1997-01-14  5:00         ` Eli the Bearded
  1 sibling, 1 reply; 73+ messages in thread
From: henley @ 1997-01-13  5:00 UTC (permalink / raw)



Peter Mardahl wrote:

> So for your one application an Intel box gives
> better results than alphas did.  Then you should
> use Intel platforms, if they work better for you.
> 
> But the legendary speed of the alphas isn't ALL hype.
> 
> Everyone who I take seriously when they discuss benchmarks
> will tell you that you should try YOUR application on a
> machine before buying it.

I agree... but it is incorrect to state that alphas are better
than ppros for all applications, when I have a particular 
"grand challenge" code that performs very nicely on a ppro.



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

* Re: big memory on PPro or Alpha
  1997-01-12  5:00     ` Peter Mardahl
@ 1997-01-13  5:00       ` Burkhard Neidecker-Lutz
  1997-01-13  5:00         ` henley
  1997-01-13  5:00       ` henley
  1 sibling, 1 reply; 73+ messages in thread
From: Burkhard Neidecker-Lutz @ 1997-01-13  5:00 UTC (permalink / raw)



>In article <32D92EFD.7B60@spam.off> Dennis Moran wrote:
>>I would go with a ppro (better value). Take a particular simulation I am 
>>working on in quantum chromodynamics: a dual ppro (200MHz) performs
>>as well as a 16 node T3D!!! 

Not surprising. The T3D contains 150 Mhz 21064 processors *without*
board level caches. I doubt we ever had a machine that didn't have
board level cache, but the SPECfp95 for a 150 Mhz 21064 with
512 KB of cache is 3.65 (the DEC 3000/500). A Pentium Pro 200 come
in between 6.21 and 6.68 SPECfp95 (depending on L2 and memory system).
If your code benefits from 256 KByte L2 cache (or 512) on the Pentium
Pro and the 21064 is hurt by the lack of any L2 (which it surely is,
so there are only 8 Kbyte I and 8 Kbyte D cache), I wouldn't be
surprised to see performance go through the floor on the T3D.

So, blame it on the T3D, not Alphas in general. Notice that the T3E
processing elements use the 21164, which 

	a) has 96 Kbyte of L2 cache on chip
	b) hs twice the number of outstanding external references

		Burkhard Neidecker-Lutz

CEC Karlsruhe , European Applied Research Center, Digital Equip. Corp.
email: neideck@kar.dec.com 
433Mhz 21164, 64 MB RAM, 2.1 GB SCSI, SPEC95 12.6e/12.0e, Linux preinstalled
Just $4630,, See http://www.swt.com/alpha_linux.html for details



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

* Re: big memory on PPro or Alpha
  1997-01-12  5:00   ` henley
  1997-01-12  5:00     ` Peter Mardahl
  1997-01-13  5:00     ` Torbjorn Lindgren
@ 1997-01-13  5:00     ` Jeffrey Potoff
  1997-01-14  5:00       ` Gregg E Economou
  1997-01-19  5:00     ` Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha) David Mosberger-Tang
                       ` (5 subsequent siblings)
  8 siblings, 1 reply; 73+ messages in thread
From: Jeffrey Potoff @ 1997-01-13  5:00 UTC (permalink / raw)



henley wrote:
> 
> Dennis Moran wrote:
> >
> > Erik Evensen <erik@avalon.harvard.edu> wrote in article
> > <to3ewc6t4u.fsf@avalon.harvard.edu>...
> > > Hi,
> > >
> > > I'm considering building a Pentium Pro or Alpha (21064 - don't think I
> > > can afford a 21164 unless I can get mboard/CPU/cache for < $2000)
> > > machine to run some pretty big floating point intensive simulations
> > > (ca. 180 meg). I'm planning on putting 256 meg in the machine. My
> > > question is how does a PPro perform with large programs -- is the 256K
> > > cache a big problem (would the 512K PPro make more sense). How does
> > > memory bandwidth compare between PPro and Alpha motherboards/chipsets?
> > >
> > > Thanks for any input. . .
> > >
> > > --erik
> > >
> > >
> >
> > The Alpha will really kick the Pentium Pro's ass in what you are
> > describing. You can get a 433MHz Alpha system for $4000 or so dollars. The
> > memory bandwidth is much faster on the Alpha system.
> 
> This does not automatically follow. As a developer of extremely floating
> point intensive software, I (and many in the scientific community) have
> been extremely disappointed with the performance of the alpha. Sure,
> they
> perform well on the benchmarks, but when it comes to the [number]
> crunch,
> I would go with a ppro (better value). Take a particular simulation I am
> working on in quantum chromodynamics: a dual ppro (200MHz) performs
> almost
> as well as a 16 node T3D!!!

Then quess what ?  Your code doesn't parallelize well and you're
not taking advantage of the architecture of the machine.  Multiple
node machines are designed with some very specific tasks in mind,
if your code doesn't happen to fit into that niche, then it's going
to run slow.  The same goes for running non-vectorized code on
the vector machines (I've heard plenty of complaints about how
'slow' some of the Crays are).

 Talking about hype, the alpha has been hyped
> to
> hell and back. So don't always believe the hype. My dell notebook is
> TWICE as
> fast as a node on the Cray T3D, with its alpha CPU and huge L2 cache,
> and
> massive price tag. The advantage of the ppro lies in the large fast L2
> cache,
> and it makes a big difference in serious scientific computing.

To make comments like this you need to know what you're talking about.  
In addition, you also need to less us know that you know what you're talking
about.  In this case, you fail to tell us which variant of the Alpha 
processor is in the T3D.  I can guarrentee you, the T3D is not filled with
the 21164 that everyone's talking about.  For under $5,000 you can get
a complete 500mhz machine that crushes the PPros in floating poing calculations.
That's hardly the 'massive' price tag that you suggest.

Now I've said this many times before.  We run highly floating point
intensive code with little I/O.  We write all our own code in Fortran.
Now, our code on one of the new 433mhz (21164 chip) Alphas runs 
2.6 - 3.0 times as on our 180mhz PPro.  I'll bet you'd see similar 
results if you did the same.
  
I've talked to other people on the net with dual PPro machines.  They
say that for floating point work, their PPros are about as fast as
the 366 mhz Alphas (they have both machines).

Show us some facts about why you think the Alpha is over hyped and
we can talk.  Not just 'my notebook is faster than a supercomputer !',
but some real numbers.  Run your code on the machines and let's see
the results.  Make sure to tell us what Alpha processor you're running
on, though, so we can compare apples with apples.

Jeff



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

* Re: big memory on PPro or Alpha
  1997-01-12  5:00   ` henley
  1997-01-12  5:00     ` Peter Mardahl
@ 1997-01-13  5:00     ` Torbjorn Lindgren
  1997-01-13  5:00     ` Jeffrey Potoff
                       ` (6 subsequent siblings)
  8 siblings, 0 replies; 73+ messages in thread
From: Torbjorn Lindgren @ 1997-01-13  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2436 bytes --]


henley  <henley@spam.off> wrote:
>Dennis Moran wrote:
>> The Alpha will really kick the Pentium Pro's ass in what you are
>> describing. You can get a 433MHz Alpha system for $4000 or so dollars. The
>> memory bandwidth is much faster on the Alpha system.
>
>This does not automatically follow. As a developer of extremely
>floating point intensive software, I (and many in the scientific
>community) have been extremely disappointed with the performance of
>the alpha.

The 21064 based Digital Alpha's I've seen have had severe bandwidth
problems when running certain type of floating point codes (in general
the available memory bandwidth is sub-optimal, and it really show in
some kinds of fp codes).

None of the 21164 machines I have seen have had that kind of memory
bandwidth problems, and in general seems to run most codes very well.

I don't know if Cray T3D have the same problems as digitals machines
with the same CPU, but it might be a general problem with 21064's.

The machine *HE* talks about isn't an antiquity, so it does have good
memory bandwidth, and shouldn't be compared to a T3D! Possibly a T3E
thought, it's clocked faster, but probably has a cheaper memory
subsystem. On the other hand the T3E has to support multiple
processor, so maybe not...

>Sure, they perform well on the benchmarks, but when it comes to the
>[number] crunch, I would go with a ppro (better value). Take a
>particular simulation I am working on in quantum chromodynamics: a
>dual ppro (200MHz) performs almost as well as a 16 node T3D!!! Talking
>about hype, the alpha has been hyped to hell and back. So don't always
>believe the hype.

Hmm. Let's see her now, from Cray's Web-pages we learn that a T3D uses
150 MHz (probably, the only thing about clock-speed I could find were
6.7 ns cycle and 150 peak MIPS, both which point at 150 MHz) 21064
processors. The Alpha's everyone is talking is significantly faster
per MHz, and uses much higher MHz...

>My dell notebook is TWICE as fast as a node on the Cray T3D, with its
>alpha CPU and huge L2 cache, and massive price tag. The advantage of
>the ppro lies in the large fast L2 cache, and it makes a big
>difference in serious scientific computing.

Oh, your modern CPU is *just* twice as fast as an fossilized
Alpha. *Really* impressive. Try a modern Alpha instead.

-- 
Torbj�rn Lindgren
E-mail: tl@funcom.com
If Santa ever DID deliver presents on Christmas Eve, he's dead now.



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

* Re: big memory on PPro or Alpha
  1997-01-13  5:00         ` henley
  1997-01-14  5:00           ` Douglas H. Borsom
@ 1997-01-14  5:00           ` Joshua Cope
  1 sibling, 0 replies; 73+ messages in thread
From: Joshua Cope @ 1997-01-14  5:00 UTC (permalink / raw)



henley wrote:
> Aha, that would be acceptable. The T3D really stinks.
> 
> Compare your T3E with the teraflops intel machine though...

Well, Cray claims that the T3E-900 can be configured as a 
teraflops machine, although I don't think anyone has
bought the maxed-out model yet (so Intel's is still the
fastest operating computer, but I believe the T3E-900 is the
fastest "commercially available" system.) From www.cray.com:

|EAGAN, Minn., Nov. 11, 1996 -- Cray Research (NYSE:SGI) today
|announced the new CRAY T3E-900 (TM) high-end supercomputer,
|the successor to Cray Research's world-leading CRAY T3E (TM)
|scalable parallel system, with faster processors, improved
|price/performance and world-record shattering performance of 1.8
|teraflops (trillion calculations per second)...
|
|For top performance, we integrated the world's fastest microprocessor 
|into a refined architecture that reflects our unmatched experience 
|in designing the world's most powerful computer systems. CRAY T3E scalable 
|parallel systems use the DECchip 21164 (DEC Alpha EV5) from Digital 
|Equipment Corporation...


------------------------------------------------------------
The above opinions and information are my own, and not 
necessarily those of Digital Equipment Corporation.
------------------------------------------------------------



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

* Re: big memory on PPro or Alpha
  1997-01-14  5:00       ` Gregg E Economou
@ 1997-01-14  5:00         ` Ross Alexander
  0 siblings, 0 replies; 73+ messages in thread
From: Ross Alexander @ 1997-01-14  5:00 UTC (permalink / raw)



geest3+@pitt.edu (Gregg E Economou) writes:

>I suggest you all go to your libraries and get a few good books on 
>organization/arch, operating systems design, and since its popular these days,
>parallel computing theories, and THEN come back and know what the hell you're
>talking about!

Agreed.  Some recommendations:

_Computer Architecture - a Quantitative Approach 2nd Ed._, Hennessy and Patterson
_Unix Systems for Modern Architectures_, Schimmel
_Design and Implementation of the 4.4 BSD Operating System_, Karels et al

And that's just the stuff that I have sitting here on my desk.  Of course,
there's a fairly old observation that Usenet's got a six month horizon -
no matter how extensively a subject's discussed, we get to listen to the
newbies go through the whole thing again in six months.  Lately, I think
that the six months in question are `dog months'.

regards,
Ross
--
Ross Alexander, ve6pdq  --  (403) 675 6311  --  rwa@cs.athabascau.ca



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

* Re: big memory on PPro or Alpha
  1997-01-13  5:00       ` henley
@ 1997-01-14  5:00         ` Eli the Bearded
  1997-01-15  5:00           ` henley
  0 siblings, 1 reply; 73+ messages in thread
From: Eli the Bearded @ 1997-01-14  5:00 UTC (permalink / raw)



henley  <henley@spam.me.not> wrote:

Being anti-spam is fine, but it is really frustrating that you don't include
some sort of human readible address in your post so that I don't have to send
this message in the world to point out that you are a dolt.

Every reader of a Usenet message should have the option of being able to
respond by post OR by email. Please don't abuse Usenet by destroying that.

>Peter Mardahl wrote:
>> So for your one application an Intel box gives
>> better results than alphas did.  Then you should
>> use Intel platforms, if they work better for you.
...
>> will tell you that you should try YOUR application on a
>> machine before buying it.

>I agree... but it is incorrect to state that alphas are better
>than ppros for all applications, when I have a particular 
>"grand challenge" code that performs very nicely on a ppro.

He didn't say "alphas are better than ppros for all applications".
Even in the text you quoted he says "try YOUR application on a
machine before buying it." Is it SO hard to understand that that
means "Some machines perform better than others for particular
tasks"?

Elijah
------
wondering if this blockheadedness is coming from the alt crosspost



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

* Re: big memory on PPro or Alpha
  1997-01-13  5:00     ` Jeffrey Potoff
@ 1997-01-14  5:00       ` Gregg E Economou
  1997-01-14  5:00         ` Ross Alexander
  0 siblings, 1 reply; 73+ messages in thread
From: Gregg E Economou @ 1997-01-14  5:00 UTC (permalink / raw)



I and probably PLENTY of other people are tired of seeing these stupid
arguments by stupid people crowd our networks. I'm cringing and hoping 
some intelligent issues will come into play sometime. If people would 
keep their trap shut until they KNOW about the issues behind architecture,
mahcine organization, and performance dependence on architectural features,
then maybe they could have some intelligent things to say.

I suggest you all go to your libraries and get a few good books on 
organization/arch, operating systems design, and since its popular these days,
parallel computing theories, and THEN come back and know what the hell you're
talking about!
 thank you!




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

* Re: big memory on PPro or Alpha
  1997-01-09  5:00 ` big memory on PPro or Alpha 
@ 1997-01-14  5:00   ` Opher D. Kahn
  1997-01-14  5:00     ` 
  1997-01-14  5:00     ` Douglas H. Borsom
  0 siblings, 2 replies; 73+ messages in thread
From: Opher D. Kahn @ 1997-01-14  5:00 UTC (permalink / raw)



Ken Payne wrote:
> 
> Erik Evensen <erik@avalon.harvard.edu> wrote:
> 
> >Hi,
> >
> >I'm considering building a Pentium Pro or Alpha (21064 - don't think I
> >can afford a 21164 unless I can get mboard/CPU/cache for < $2000)
> 
> Alpha will eat the PPros lunch.  You can get a 433 Mhz for
> less than $4000.  Plus its a 128 bit processor that executes
> 4 instructions per second.  It can sustain 1.6 billion
> (yes, billion) instructions per second.

Thats interesting, when did Alpha go to a 128 bit architecture?  Or do
they have some 128 bit datapaths (bus or on chip) that caused you to
call it a 128 bit processor?  If you use that logic, then the Pentium
and Pentium Pro are 64 bit processors...

> 
> -Ken, 1967 Ford F100, 390FE V8.
> 
> +-----------------------------------------------------------------+
> | Do *not* add my address to any mailing list without my written  |
> | permission.  If you wish to correspond (non-commercial only)    |
> | please send email to: kpayne@mindspring.com.  Due to a bug in   |
> | my mailer any junk email received will automatically subscribe  |
> | the sender to the majodomo lists.                               |
> +-----------------------------------------------------------------+
> | Spelling flames are lame.  Cole's Law: Thinly Sliced Cabbage    |
> +-----------------------------------------------------------------+

-- 
    Opher D. Kahn, Microprocessor Architecture Group, Intel Israel
**********************************************************************
    All opinions are mine so DON'T BLAME INTEL FOR WHAT I WRITE !!!



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

* Re: big memory on PPro or Alpha
  1997-01-13  5:00         ` henley
@ 1997-01-14  5:00           ` Douglas H. Borsom
  1997-01-17  5:00             ` henley
  1997-01-14  5:00           ` Joshua Cope
  1 sibling, 1 reply; 73+ messages in thread
From: Douglas H. Borsom @ 1997-01-14  5:00 UTC (permalink / raw)



In article <32DACC17.747D@spam.me.not>, henley <henley@spam.me.not> wrote:

> Compare your T3E with the teraflops intel machine though...

Compare flops/processor?

     -doug



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

* Re: big memory on PPro or Alpha
  1997-01-14  5:00   ` Opher D. Kahn
  1997-01-14  5:00     ` 
@ 1997-01-14  5:00     ` Douglas H. Borsom
  1 sibling, 0 replies; 73+ messages in thread
From: Douglas H. Borsom @ 1997-01-14  5:00 UTC (permalink / raw)



In article <32DB4466.41C6@iil.intel.com>, "Opher D. Kahn"
<okahn@iil.intel.com> wrote:

> Ken Payne wrote:

> > Alpha will eat the PPros lunch.  You can get a 433 Mhz for
> > less than $4000.  Plus its a 128 bit processor that executes
> > 4 instructions per second.  It can sustain 1.6 billion
> > (yes, billion) instructions per second.
> 
> Thats interesting, when did Alpha go to a 128 bit architecture?  Or do
> they have some 128 bit datapaths (bus or on chip) that caused you to
> call it a 128 bit processor?  If you use that logic, then the Pentium
> and Pentium Pro are 64 bit processors...

Clearly, the 21164A Alpha is +not+ "a 128 bit processor" as most
define such. And just as clearly, it's much faster than anything Intel
offers, regardless of what you want to call them.

     -doug



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

* Re: big memory on PPro or Alpha
  1997-01-14  5:00   ` Opher D. Kahn
@ 1997-01-14  5:00     ` 
  1997-01-17  5:00       ` Paul David Fox
  1997-01-14  5:00     ` Douglas H. Borsom
  1 sibling, 1 reply; 73+ messages in thread
From:  @ 1997-01-14  5:00 UTC (permalink / raw)



"Opher D. Kahn" <okahn@iil.intel.com> wrote:

>Ken Payne wrote:
>> 
>> Erik Evensen <erik@avalon.harvard.edu> wrote:
>> 
>> >Hi,
>> >
>> >I'm considering building a Pentium Pro or Alpha (21064 - don't think I
>> >can afford a 21164 unless I can get mboard/CPU/cache for < $2000)
>> 
>> Alpha will eat the PPros lunch.  You can get a 433 Mhz for
>> less than $4000.  Plus its a 128 bit processor that executes
>> 4 instructions per second.  It can sustain 1.6 billion
>> (yes, billion) instructions per second.
>
>Thats interesting, when did Alpha go to a 128 bit architecture?  Or do
>they have some 128 bit datapaths (bus or on chip) that caused you to
>call it a 128 bit processor?  If you use that logic, then the Pentium
>and Pentium Pro are 64 bit processors...
>

I stand corrected.  But tell me, Mr. Intel Employee, since when has
Intel stopped making VWs (Pentiums and PPros) and started making
Ferraris (Alphas)?
-Ken, 1967 Ford F100, 390FE V8.

+-----------------------------------------------------------------+
| Do *not* add my address to any mailing list without my written  |
| permission.  If you wish to correspond (non-commercial only)    |
| please send email to: kpayne@mindspring.com.  Due to a bug in   |
| my mailer any junk email received will automatically subscribe  |
| the sender to the majodomo lists.                               |
+-----------------------------------------------------------------+
| Spelling flames are lame.  Cole's Law: Thinly Sliced Cabbage    |
+-----------------------------------------------------------------+




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

* Re: big memory on PPro or Alpha
  1997-01-15  5:00           ` henley
@ 1997-01-15  5:00             ` Rob Dupcak
  1997-01-15  5:00               ` henley
  1997-01-16  5:00             ` Graham Allan
  1 sibling, 1 reply; 73+ messages in thread
From: Rob Dupcak @ 1997-01-15  5:00 UTC (permalink / raw)




In article <32DC8332.754A@I.refuse.spam>, henley <henley@I.refuse.spam> writes:

>I am sick and tired hearing how good alphas are, and my own
>personal experience in lattice quantum chromodynamics (which
>boils down to lots and lots of SU(3) (ie, small) matrix-vector
>multiplications indicates that alphas stink... in my own
>particular numerical case. That is my point. I'm sure they
>work very well for what you are doing, like long loops and
>other boring stuff like that. It all started when I got a
>166 MHz alpha a couple of years ago, and I was so
>excited... till I discovered that my p-90 could do lattice
>QCD a little faster. (identical source code, Windows NT)

Excuse me for my obvious pro-Alpha bias but I just want to 
point out a glaring inconsistency in the above comparison.
I'll ignore the obvious effects of using a Msft compiler
(or other non-Digital compilers) since this _only_ amounts
to about a 15% improvement.  The biggest oversight here is
the two chips you mention.  You mention "a couple of years
ago" so I am assuming that the p-90 was pretty much leading
edge technology in mid 1995.  (My memory fails me as to 
what time this chip was first shipping.)  Since you're saying
you used NT on a 166MHz system I'm making the wild guess
that you were using a 21066 based system.  (I could be
wrong but some assumptions need to be made.)  Even if it
were a 21064 based system the argument still holds true that
you were putting low end 1992 technology against high end
1995 technology.  Sounds fair to me.  Fair in the sense that
I can compare a 500 MHz 21164 based system against a 90 Mhz
Pentium based system.  (SPECint ~15 vs ~ 2.9)  Admittedly, up
until the last few weeks you couldn't have bought a cheap Alpha
system that could compete with an equivalently priced Intel
system but that is another story for another time.

>Besides, stirring up a little lively conversation is fun.

Agreed, but make sure you have some shread of "believability" 
in your discussions.  (By the way I'm not claiming that Alphas
beat everything, everywhere, ...  that would be silly.)

- Rob



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

* Re: big memory on PPro or Alpha
  1997-01-15  5:00             ` Rob Dupcak
@ 1997-01-15  5:00               ` henley
  1997-01-15  5:00                 ` Jeffrey Potoff
  1997-01-16  5:00                 ` Douglas H. Borsom
  0 siblings, 2 replies; 73+ messages in thread
From: henley @ 1997-01-15  5:00 UTC (permalink / raw)



Rob Dupcak babbled:
> 
> In article <32DC8332.754A@I.refuse.spam>, henley <henley@I.refuse.spam> writes:
> 
> >I am sick and tired hearing how good alphas are, and my own
> >personal experience in lattice quantum chromodynamics (which
> >boils down to lots and lots of SU(3) (ie, small) matrix-vector
> >multiplications indicates that alphas stink... in my own
> >particular numerical case. That is my point. I'm sure they
> >work very well for what you are doing, like long loops and
> >other boring stuff like that. It all started when I got a
> >166 MHz alpha a couple of years ago, and I was so
> >excited... till I discovered that my p-90 could do lattice
> >QCD a little faster. (identical source code, Windows NT)
> 
> Excuse me for my obvious pro-Alpha bias but I just want to
> point out a glaring inconsistency in the above comparison.
> I'll ignore the obvious effects of using a Msft compiler
> (or other non-Digital compilers) since this _only_ amounts
> to about a 15% improvement.

Well, let us not forget that the VC compiler for alpha NT
uses the alpha compiler supplied by digital....

>  The biggest oversight here is
> the two chips you mention.  You mention "a couple of years
> ago" so I am assuming that the p-90 was pretty much leading
> edge technology in mid 1995.  (My memory fails me as to
> what time this chip was first shipping.)  Since you're saying
> you used NT on a 166MHz system I'm making the wild guess
> that you were using a 21066 based system.  (I could be
> wrong but some assumptions need to be made.)  Even if it
> were a 21064 based system the argument still holds true that
> you were putting low end 1992 technology against high end
> 1995 technology.  Sounds fair to me.  Fair in the sense that
> I can compare a 500 MHz 21164 based system against a 90 Mhz
> Pentium based system.  (SPECint ~15 vs ~ 2.9)  Admittedly, up
> until the last few weeks you couldn't have bought a cheap Alpha
> system that could compete with an equivalently priced Intel
> system but that is another story for another time.

Ok, well a 133 MHz pentium beat a 266 MHz alpha ONE year ago, 
with the same code.

> 
> >Besides, stirring up a little lively conversation is fun.
> 
> Agreed, but make sure you have some shread of "believability"
> in your discussions.  (By the way I'm not claiming that Alphas
> beat everything, everywhere, ...  that would be silly.)

Well, of course that would be silly, because I know otherwise!! :)

As for "shred of believability".... well, I assume that this means
that you think I am a liar? Well.... hmmmm.



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

* Re: big memory on PPro or Alpha
  1997-01-15  5:00               ` henley
@ 1997-01-15  5:00                 ` Jeffrey Potoff
  1997-01-17  5:00                   ` henley
  1997-01-16  5:00                 ` Douglas H. Borsom
  1 sibling, 1 reply; 73+ messages in thread
From: Jeffrey Potoff @ 1997-01-15  5:00 UTC (permalink / raw)



henley wrote:
> 

> > you used NT on a 166MHz system I'm making the wild guess
> > that you were using a 21066 based system.  (I could be
> > wrong but some assumptions need to be made.)  Even if it
> > were a 21064 based system the argument still holds true that
> > you were putting low end 1992 technology against high end
> > 1995 technology.  Sounds fair to me.  Fair in the sense that
> > I can compare a 500 MHz 21164 based system against a 90 Mhz
> > Pentium based system.  (SPECint ~15 vs ~ 2.9)  Admittedly, up
> > until the last few weeks you couldn't have bought a cheap Alpha
> > system that could compete with an equivalently priced Intel
> > system but that is another story for another time.
> 
> Ok, well a 133 MHz pentium beat a 266 MHz alpha ONE year ago,
> with the same code.

This is just getting silly.  We have a 433mhz Alpha in our
department and to end this nonsense once and for all, I'm 
willing to benchmark your code on our machine.  It must
be written in either standard C or F77.  I don't want to
have to modify it in anyway.  I'll compile, run it and
post the results.

Jeff



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

* Re: big memory on PPro or Alpha
  1997-01-14  5:00         ` Eli the Bearded
@ 1997-01-15  5:00           ` henley
  1997-01-15  5:00             ` Rob Dupcak
  1997-01-16  5:00             ` Graham Allan
  0 siblings, 2 replies; 73+ messages in thread
From: henley @ 1997-01-15  5:00 UTC (permalink / raw)



Eli the Bearded wrote:
> 
> henley  <henley@spam.me.not> wrote:
> 
> Being anti-spam is fine, but it is really frustrating that you don't include
> some sort of human readible address in your post so that I don't have to send
> this message in the world to point out that you are a dolt.

hahaha! I don't want your flames in my mailbox, thank you!
 
> Every reader of a Usenet message should have the option of being able to
> respond by post OR by email. Please don't abuse Usenet by destroying that.

No, I do not want any email, thank you. BTW, this is not
relevant to the discussion, so can it.

> 
> >Peter Mardahl wrote:
> >> So for your one application an Intel box gives
> >> better results than alphas did.  Then you should
> >> use Intel platforms, if they work better for you.
> ...
> >> will tell you that you should try YOUR application on a
> >> machine before buying it.
> 
> >I agree... but it is incorrect to state that alphas are better
> >than ppros for all applications, when I have a particular
> >"grand challenge" code that performs very nicely on a ppro.
> 
> He didn't say "alphas are better than ppros for all applications".
> Even in the text you quoted he says "try YOUR application on a
> machine before buying it." Is it SO hard to understand that that
> means "Some machines perform better than others for particular
> tasks"?

I was referring to the previous post, which I did not quote,
in order to reduce spam.

I am sick and tired hearing how good alphas are, and my own
personal experience in lattice quantum chromodynamics (which
boils down to lots and lots of SU(3) (ie, small) matrix-vector
multiplications indicates that alphas stink... in my own
particular numerical case. That is my point. I'm sure they
work very well for what you are doing, like long loops and
other boring stuff like that. It all started when I got a
166 MHz alpha a couple of years ago, and I was so
excited... till I discovered that my p-90 could do lattice
QCD a little faster. (identical source code, Windows NT)

Besides, stirring up a little lively conversation is fun.

Peace.



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

* Re: big memory on PPro or Alpha
  1997-01-15  5:00               ` henley
  1997-01-15  5:00                 ` Jeffrey Potoff
@ 1997-01-16  5:00                 ` Douglas H. Borsom
  1997-01-16  5:00                   ` Jeffrey Potoff
                                     ` (2 more replies)
  1 sibling, 3 replies; 73+ messages in thread
From: Douglas H. Borsom @ 1997-01-16  5:00 UTC (permalink / raw)



In article <32DD4F26.7178@no.spam.thanks>, henley <henley@no.spam.thanks> wrote:

> Ok, well a 133 MHz pentium beat a 266 MHz alpha ONE year ago, 
> with the same code.

For those who want to avoid making conclusions about chip performance
based on the speed with which one or two programs run,  SPEC numbers for
various flavors of Alphas and Pentia can be found at:

     http://infopad.eecs.berkeley.edu/CIC/summary/local/

Take a look and draw your own conclusions.

     -doug



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

* Re: big memory on PPro or Alpha
  1997-01-16  5:00                 ` Douglas H. Borsom
@ 1997-01-16  5:00                   ` Jeffrey Potoff
  1997-01-16  5:00                   ` henley
  1997-01-17  5:00                   ` big memory on PPro or Alpha Agtabby
  2 siblings, 0 replies; 73+ messages in thread
From: Jeffrey Potoff @ 1997-01-16  5:00 UTC (permalink / raw)



Douglas H. Borsom wrote:
> 
> In article <32DD4F26.7178@no.spam.thanks>, henley <henley@no.spam.thanks> wrote:
> 
> > Ok, well a 133 MHz pentium beat a 266 MHz alpha ONE year ago,
> > with the same code.
> 
> For those who want to avoid making conclusions about chip performance
> based on the speed with which one or two programs run,  SPEC numbers for
> various flavors of Alphas and Pentia can be found at:
> 
>      http://infopad.eecs.berkeley.edu/CIC/summary/local/
> 
> Take a look and draw your own conclusions.

Nice chart, except the numbers for the Alpha are somewhat
misleading.  There is no mention of the size of the cache on 
the Alpha machines.  From the Spec_fp numbers presented, the
numbers appear to be from the DEC Alphastations, with the 8mb 
cache.  The Alphas that most people are buying through clone 
vendors generally have a 1mb cache, although machines with 2mb 
and 4mb caches are beginning to show up in that market. 
Depending on the code you run, the effect of cache size can be
non-existent or fairly substantial.

Unfortunately we are once again left with an apples vs.
oranges comparision.

Jeff



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

* Re: big memory on PPro or Alpha
  1997-01-16  5:00                 ` Douglas H. Borsom
  1997-01-16  5:00                   ` Jeffrey Potoff
@ 1997-01-16  5:00                   ` henley
  1997-01-16  5:00                     ` Jeffrey Potoff
  1997-01-17  5:00                   ` big memory on PPro or Alpha Agtabby
  2 siblings, 1 reply; 73+ messages in thread
From: henley @ 1997-01-16  5:00 UTC (permalink / raw)



Douglas H. Borsom wrote:
> 
> In article <32DD4F26.7178@no.spam.thanks>, henley <henley@no.spam.thanks> wrote:
> 
> > Ok, well a 133 MHz pentium beat a 266 MHz alpha ONE year ago,
> > with the same code.
> 
> For those who want to avoid making conclusions about chip performance
> based on the speed with which one or two programs run,  SPEC numbers for
> various flavors of Alphas and Pentia can be found at:
> 
>      http://infopad.eecs.berkeley.edu/CIC/summary/local/
> 
> Take a look and draw your own conclusions.
> 
>      -doug

I would suggest that you run your own software on the different
platforms, and draw your own conclusions that way. Otherwise, you
may be suckered by all the hype....



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

* Re: big memory on PPro or Alpha
  1997-01-15  5:00           ` henley
  1997-01-15  5:00             ` Rob Dupcak
@ 1997-01-16  5:00             ` Graham Allan
  1997-01-16  5:00               ` Jeffrey Potoff
  1997-01-16  5:00               ` henley
  1 sibling, 2 replies; 73+ messages in thread
From: Graham Allan @ 1997-01-16  5:00 UTC (permalink / raw)




In article <32DC8332.754A@I.refuse.spam>, henley <henley@I.refuse.spam> writes:
|>I am sick and tired hearing how good alphas are, and my own
|>personal experience in lattice quantum chromodynamics (which
|>boils down to lots and lots of SU(3) (ie, small) matrix-vector
|>multiplications indicates that alphas stink... in my own
|>particular numerical case. That is my point. I'm sure they
|>work very well for what you are doing, like long loops and
|>other boring stuff like that. It all started when I got a
|>166 MHz alpha a couple of years ago, and I was so
|>excited... till I discovered that my p-90 could do lattice
|>QCD a little faster. (identical source code, Windows NT)

Be fair Henley, your NT machine is only a 100MHz 21064.

|>Besides, stirring up a little lively conversation is fun.

:-)

Graham



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

* Re: big memory on PPro or Alpha
  1997-01-16  5:00                   ` henley
@ 1997-01-16  5:00                     ` Jeffrey Potoff
  1997-01-16  5:00                       ` henley
  1997-01-18  5:00                       ` John A. Limpert
  0 siblings, 2 replies; 73+ messages in thread
From: Jeffrey Potoff @ 1997-01-16  5:00 UTC (permalink / raw)



henley wrote:
> 
> Douglas H. Borsom wrote:
> >
> > In article <32DD4F26.7178@no.spam.thanks>, henley <henley@no.spam.thanks> wrote:
> >
> > > Ok, well a 133 MHz pentium beat a 266 MHz alpha ONE year ago,
> > > with the same code.
> >
> > For those who want to avoid making conclusions about chip performance
> > based on the speed with which one or two programs run,  SPEC numbers for
> > various flavors of Alphas and Pentia can be found at:
> >
> >      http://infopad.eecs.berkeley.edu/CIC/summary/local/
> >
> > Take a look and draw your own conclusions.
> >
> >      -doug
> 
> I would suggest that you run your own software on the different
> platforms, and draw your own conclusions that way. Otherwise, you
> may be suckered by all the hype....

What hype would that be ?  Facts are facts.  Send whatever source 
code you're running that's so much faster on a PPro and I'll 
benchmark it on a 433mhz 21164 Alpha so we can end this nonsense once
and for all.

Jeff



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

* Re: big memory on PPro or Alpha
  1997-01-16  5:00             ` Graham Allan
@ 1997-01-16  5:00               ` Jeffrey Potoff
  1997-01-16  5:00               ` henley
  1 sibling, 0 replies; 73+ messages in thread
From: Jeffrey Potoff @ 1997-01-16  5:00 UTC (permalink / raw)



Graham Allan wrote:
> 
> In article <32DC8332.754A@I.refuse.spam>, henley <henley@I.refuse.spam> writes:
> |>I am sick and tired hearing how good alphas are, and my own
> |>personal experience in lattice quantum chromodynamics (which
> |>boils down to lots and lots of SU(3) (ie, small) matrix-vector
> |>multiplications indicates that alphas stink... in my own
> |>particular numerical case. That is my point. I'm sure they
> |>work very well for what you are doing, like long loops and
> |>other boring stuff like that. It all started when I got a
> |>166 MHz alpha a couple of years ago, and I was so
> |>excited... till I discovered that my p-90 could do lattice
> |>QCD a little faster. (identical source code, Windows NT)
> 
> Be fair Henley, your NT machine is only a 100MHz 21064.
> 
> |>Besides, stirring up a little lively conversation is fun.
> It gets even more fun when we have your real email address.
Thanks Graham !

Jeff



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

* Re: big memory on PPro or Alpha
  1997-01-16  5:00                     ` Jeffrey Potoff
@ 1997-01-16  5:00                       ` henley
  1997-01-17  5:00                         ` Eli the Bearded
  1997-01-18  5:00                       ` John A. Limpert
  1 sibling, 1 reply; 73+ messages in thread
From: henley @ 1997-01-16  5:00 UTC (permalink / raw)



Jeffrey Potoff wrote:
> 
> henley wrote:
> >
> > Douglas H. Borsom wrote:
> > >
> > > In article <32DD4F26.7178@no.spam.thanks>, henley <henley@no.spam.thanks> wrote:
> > >
> > > > Ok, well a 133 MHz pentium beat a 266 MHz alpha ONE year ago,
> > > > with the same code.
> > >
> > > For those who want to avoid making conclusions about chip performance
> > > based on the speed with which one or two programs run,  SPEC numbers for
> > > various flavors of Alphas and Pentia can be found at:
> > >
> > >      http://infopad.eecs.berkeley.edu/CIC/summary/local/
> > >
> > > Take a look and draw your own conclusions.
> > >
> > >      -doug
> >
> > I would suggest that you run your own software on the different
> > platforms, and draw your own conclusions that way. Otherwise, you
> > may be suckered by all the hype....
> 
> What hype would that be ?  Facts are facts.  Send whatever source
> code you're running that's so much faster on a PPro and I'll
> benchmark it on a 433mhz 21164 Alpha so we can end this nonsense once
> and for all.

What? And end the fun??



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

* Re: big memory on PPro or Alpha
  1997-01-16  5:00             ` Graham Allan
  1997-01-16  5:00               ` Jeffrey Potoff
@ 1997-01-16  5:00               ` henley
  1 sibling, 0 replies; 73+ messages in thread
From: henley @ 1997-01-16  5:00 UTC (permalink / raw)



Graham Allan wrote:
> 
> In article <32DC8332.754A@I.refuse.spam>, henley <henley@I.refuse.spam> writes:
> |>I am sick and tired hearing how good alphas are, and my own
> |>personal experience in lattice quantum chromodynamics (which
> |>boils down to lots and lots of SU(3) (ie, small) matrix-vector
> |>multiplications indicates that alphas stink... in my own
> |>particular numerical case. That is my point. I'm sure they
> |>work very well for what you are doing, like long loops and
> |>other boring stuff like that. It all started when I got a
> |>166 MHz alpha a couple of years ago, and I was so
> |>excited... till I discovered that my p-90 could do lattice
> |>QCD a little faster. (identical source code, Windows NT)
> 
> Be fair Henley, your NT machine is only a 100MHz 21064.
> 
> |>Besides, stirring up a little lively conversation is fun.
> 
> :-)
> 

heh!



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

* Re: big memory on PPro or Alpha
  1997-01-17  5:00       ` Paul David Fox
@ 1997-01-17  5:00         ` 
  0 siblings, 0 replies; 73+ messages in thread
From:  @ 1997-01-17  5:00 UTC (permalink / raw)



Paul David Fox <pfox%spamoff@lehman.com> wrote:

>> I stand corrected.  But tell me, Mr. Intel Employee, since when has
>> Intel stopped making VWs (Pentiums and PPros) and started making
>> Ferraris (Alphas)?
>> -Ken, 1967 Ford F100, 390FE V8.
>> 
>> +-----------------------------------------------------------------+
>> | Do *not* add my address to any mailing list without my written  |
>> | permission.  If you wish to correspond (non-commercial only)    |
>> | please send email to: kpayne@mindspring.com.  Due to a bug in   |
>> | my mailer any junk email received will automatically subscribe  |
>> | the sender to the majodomo lists.                               |
>> +-----------------------------------------------------------------+
>> | Spelling flames are lame.  Cole's Law: Thinly Sliced Cabbage    |
>> +-----------------------------------------------------------------+
>
>
>This is completely off topic. I am interested in your
>signature. Is this a joke or for real?
>

A little of both.

>This could be a grand solution for the 'Make $$$ quick' and SPAM scams.
>If anybody who posted to a newsgroup was spammed to and the originating
>site was mailbombed automatically then this might ensure that
>IP providers stop spamming before it starts.
>

It has helped to junk email.  I still occasionally get some but I've
never received anything a second time after emailing them an invoice.
I've collected $300.00 successfully once after I threatened to sue
someone for $1200.00 for the four times they sent me junk email
*after* I sent them a copy of my sig and an invoice.  In the state of
Georgia my sig is (usually) considered a contract in which consent is
given simply by sending me commercial email.  All told, its really 
not worth the effort to collect but it does ward off an enormous
amount junk email.

-Ken, 1967 Ford F100, 390FE V8.

+-----------------------------------------------------------------+
| Do *not* add my address to any mailing list without my written  |
| permission.  If you wish to correspond (non-commercial only)    |
| please send email to: kpayne@mindspring.com.  Due to a bug in   |
| my mailer any junk email received will automatically subscribe  |
| the sender to the majodomo lists.                               |
+-----------------------------------------------------------------+
| Spelling flames are lame.  Cole's Law: Thinly Sliced Cabbage    |
+-----------------------------------------------------------------+




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

* Re: big memory on PPro or Alpha
  1997-01-14  5:00           ` Douglas H. Borsom
@ 1997-01-17  5:00             ` henley
  0 siblings, 0 replies; 73+ messages in thread
From: henley @ 1997-01-17  5:00 UTC (permalink / raw)



Douglas H. Borsom wrote:
> 
> In article <32DACC17.747D@spam.me.not>, henley <henley@spam.me.not> wrote:
> 
> > Compare your T3E with the teraflops intel machine though...
> 
> Compare flops/processor?
> 
>      -doug

How about flops/node.

The intel machine has 4 ppros / node. The T3E MAY have 2/node,
but does it have the built in SMP support that the ppro has?



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

* Re: big memory on PPro or Alpha
  1997-01-17  5:00                   ` henley
  1997-01-17  5:00                     ` Jeffrey Potoff
@ 1997-01-17  5:00                     ` Thomas Womack
  1997-01-19  5:00                       ` Tim W. Janes
  1997-01-18  5:00                     ` Douglas H. Borsom
                                       ` (2 subsequent siblings)
  4 siblings, 1 reply; 73+ messages in thread
From: Thomas Womack @ 1997-01-17  5:00 UTC (permalink / raw)



henley (henley@tonys.ekology.umn.edu) wrote:
: Jeffrey Potoff wrote:
: > 
: > This is just getting silly.  We have a 433mhz Alpha in our
: > department and to end this nonsense once and for all, I'm
: > willing to benchmark your code on our machine.

: Yes, this is silly. Here are some timings, on a full QCD
: code with staggered quarks, 5 MonteCarlo steps, 100
: molecular dynamics steps... quark mass: 0.01, beta=5.6:

: 133MHz Dell P5                       :   35  Mflops/s
: 150MHz Dell P5 notebook              :   40  Mflops/s
: 200MHz Dell ppro (200MHz, 256k cache):  105 Mflops/s
: 200MHz dual ppro (200, 256)          :  195 Mflops/s

: 333MHz 21164 (Alphastation 500)      :   76 Mflops/s

Ah ... this is really quite interesting. (thinking out loud)

You are obviously not a fool, so are using great chunks of -O7327
-tune ev5 options to tell the compilers what to do. 

If you're working in floating point, you don't get the vast speedup
that multi-precision arithmetic gets from 64bit registers.

The Alphastation has a fair amount of cache (>>256K), so that
won't be a problem.

Does the program have large numbers of byte arrays, which are
supposedly something the Alpha falls down and dies on?

I'm sure, if you post a few inner loops and let the zealots loose
on them, you'll get at least some speedup and some very interesting
info on Alpha optimisation, all for free ... I'd certainly watch
and be amazed.

: http://tonys.ecology.umn.edu/nbody/

--
Tom

The Eternal Union of Soviet Republics lasted seven times longer than
the Thousand Year Reich





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

* Re: big memory on PPro or Alpha
  1997-01-16  5:00                       ` henley
@ 1997-01-17  5:00                         ` Eli the Bearded
  0 siblings, 0 replies; 73+ messages in thread
From: Eli the Bearded @ 1997-01-17  5:00 UTC (permalink / raw)



henley  <henley@no.spam> wrote:
>Jeffrey Potoff wrote:
>> What hype would that be ?  Facts are facts.  Send whatever source
>> code you're running that's so much faster on a PPro and I'll
>> benchmark it on a 433mhz 21164 Alpha so we can end this nonsense once
>> and for all.
>
>What? And end the fun??

Henley: you are a real pain. 

1) You refuse to give out you email address.
2) You turn down a real test when challenged.
3) You keep changing your fake address so you can't be killfiled.

Please go somewhere and die quietly.

Elijah
------
thinking I am not just speaking for myself on this



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

* Re: big memory on PPro or Alpha
  1997-01-17  5:00                   ` henley
@ 1997-01-17  5:00                     ` Jeffrey Potoff
  1997-01-17  5:00                       ` henley
  1997-01-17  5:00                     ` Thomas Womack
                                       ` (3 subsequent siblings)
  4 siblings, 1 reply; 73+ messages in thread
From: Jeffrey Potoff @ 1997-01-17  5:00 UTC (permalink / raw)



henley wrote:
>  
> Yes, this is silly. Here are some timings, on a full QCD
> code with staggered quarks, 5 MonteCarlo steps, 100
> molecular dynamics steps... quark mass: 0.01, beta=5.6:
> 
> 133MHz Dell P5                       :   35  Mflops/s
> 150MHz Dell P5 notebook              :   40  Mflops/s
> 200MHz Dell ppro (200MHz, 256k cache):  105 Mflops/s
> 200MHz dual ppro (200, 256)          :  195 Mflops/s
> 
> 333MHz 21164 (Alphastation 500)      :   76 Mflops/s
> 
> So, what nonsense were we talking about?
> 
> Now we should compare prices.... you can get a 200MHz
> ppro for under $2000. A dual ppro for under $4000.

Really ?  Send me the quote you have for a complete
PPro for under $2000.00.  I'd like to see the same
for your under $4,000 dual PPro machine.  

Question number 2, what compiler are you using on each
machine and what switches are you setting ?

Jeff



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

* Re: big memory on PPro or Alpha
  1997-01-17  5:00                     ` Jeffrey Potoff
@ 1997-01-17  5:00                       ` henley
  1997-01-18  5:00                         ` Jeffrey Potoff
  0 siblings, 1 reply; 73+ messages in thread
From: henley @ 1997-01-17  5:00 UTC (permalink / raw)



Jeffrey Potoff wrote:
> 
> henley wrote:
> >
> > Yes, this is silly. Here are some timings, on a full QCD
> > code with staggered quarks, 5 MonteCarlo steps, 100
> > molecular dynamics steps... quark mass: 0.01, beta=5.6:
> >
> > 133MHz Dell P5                       :   35  Mflops/s
> > 150MHz Dell P5 notebook              :   40  Mflops/s
> > 200MHz Dell ppro (200MHz, 256k cache):  105 Mflops/s
> > 200MHz dual ppro (200, 256)          :  195 Mflops/s
> >
> > 333MHz 21164 (Alphastation 500)      :   76 Mflops/s
> >
> > So, what nonsense were we talking about?
> >
> > Now we should compare prices.... you can get a 200MHz
> > ppro for under $2000. A dual ppro for under $4000.
> 
> Really ?  Send me the quote you have for a complete
> PPro for under $2000.00.  

I'll have to find the quote from Dell, there was a quote
through our U book store at approximately $2000. At the
Dell WWW site, the cheapest I could find was $2600.
Of course, you could always find lesser known brands
for less than $2000 through mail order: there was a cover
story on some computer mag about those, recently.

> I'd like to see the same
> for your under $4,000 dual PPro machine.

From the Micron site (cut the extra junk out and add some extra
RAM, and it is well under $4000):

                      Millennia Pro2 400 Plus (A) 

                      ATCX.MINI TOWER (L) 
                      INTEL.200MHZ.DUAL PENTIUM PRO.PROCESSORS (L) 
                      32MB.(1-4MX72 DIMM).ECC EDO MEMORY 
                      INTERNAL CACHE ON CPU 
                      2GB ULTRA SCSI HARD DRIVE 
                      BUSLOGIC ULTRA SCSI CONTROLLER 
                      FLOPPY DRIVE.3.5.1.44MB 
                      PLEXTOR.12X.SCSI.CD ROM 
                      DIAMOND.STEALTH 3D 2000 W/4MB EDO & MPEG 
                      15 INCH .28DP 1280X1024 COLOR MONITOR 
                      104 KEY ENHANCED PS2 KEYBOARD 
                      MICROSOFT.MOUSE.PS/2.2 BUTTON 
                      MS.OFFICE PRO 95 W/BOOKSHELF 95.CD VERSION 
                      CREATIVE LABS.ONBOARD SB16.W/STANDARD POWERED
SPEAKERS 
                      NO MODEM 
                      STANDARD SPEAKERS IN SOUND CARD KIT 
                      NO NETWORK CARD ORDERED 
                      MICROSOFT.NT WORKSTATION 4.0.CD 
                      1ST YR.(USA) OPT. ON-SITE.BY DEC 

                      Total System Price as Configured: $ 3899.00 

Of course, the one I got was a Dell, with 64M ECC Ram, through the
U bookstore.
 
> Question number 2, what compiler are you using on each
> machine and what switches are you setting ?

VC++ 4.0 on the Intel machines, and plain old cc -Owhatever on the
alpha.... same source code in both cases. The notebook was running
windows 95.... Not bad, considering that the same code runs at
24 Mflops/s on a single node of the T3D (with its "150 Mflop" alphas). 
And as for someone who mentioned that I had not parallelized it well, 
it scales almost perfectly at 20mflops/node all the way up to 512 
nodes on the T3D.



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

* Re: big memory on PPro or Alpha
  1997-01-15  5:00                 ` Jeffrey Potoff
@ 1997-01-17  5:00                   ` henley
  1997-01-17  5:00                     ` Jeffrey Potoff
                                       ` (4 more replies)
  0 siblings, 5 replies; 73+ messages in thread
From: henley @ 1997-01-17  5:00 UTC (permalink / raw)



Jeffrey Potoff wrote:
> 
> henley wrote:
> >
> 
> > > you used NT on a 166MHz system I'm making the wild guess
> > > that you were using a 21066 based system.  (I could be
> > > wrong but some assumptions need to be made.)  Even if it
> > > were a 21064 based system the argument still holds true that
> > > you were putting low end 1992 technology against high end
> > > 1995 technology.  Sounds fair to me.  Fair in the sense that
> > > I can compare a 500 MHz 21164 based system against a 90 Mhz
> > > Pentium based system.  (SPECint ~15 vs ~ 2.9)  Admittedly, up
> > > until the last few weeks you couldn't have bought a cheap Alpha
> > > system that could compete with an equivalently priced Intel
> > > system but that is another story for another time.
> >
> > Ok, well a 133 MHz pentium beat a 266 MHz alpha ONE year ago,
> > with the same code.
> 
> This is just getting silly.  We have a 433mhz Alpha in our
> department and to end this nonsense once and for all, I'm
> willing to benchmark your code on our machine.  It must
> be written in either standard C or F77.  I don't want to
> have to modify it in anyway.  I'll compile, run it and
> post the results.
> 
> Jeff

Yes, this is silly. Here are some timings, on a full QCD
code with staggered quarks, 5 MonteCarlo steps, 100
molecular dynamics steps... quark mass: 0.01, beta=5.6:

133MHz Dell P5                       :   35  Mflops/s
150MHz Dell P5 notebook              :   40  Mflops/s
200MHz Dell ppro (200MHz, 256k cache):  105 Mflops/s
200MHz dual ppro (200, 256)          :  195 Mflops/s

333MHz 21164 (Alphastation 500)      :   76 Mflops/s

So, what nonsense were we talking about?

Now we should compare prices.... you can get a 200MHz
ppro for under $2000. A dual ppro for under $4000.

Next, compare the speed of Quake. :)

Sorry about the trolls (what fun!), etc, but I was just 
trying to make a point that alphas are not ALWAYS better 
than ppros, contrary to popular belief. They probably 
are USUALLY faster in floating point applications.

Oh, and as for all you geniuses out there who think 
you are really smart in figuring out my email address
and sending me flames: you need to get a life. I 
only deleted the last part of my email address to
avoid getting the spam I always get when I post to the
USENET. I do know how to forge headers such as the path
and NNTP posting host; forgery was never my intention.
Also Considering that I only know of one other person
in the WORLD with the first name Henley (my grandfather,
in South Africa), I really don't think it is a great
achievement to figure out my address. I am splashed
all over the internet.

Check out my nbody 3D page (which has an alpha version, 
too):

http://tonys.ecology.umn.edu/nbody/



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

* Re: big memory on PPro or Alpha
  1997-01-16  5:00                 ` Douglas H. Borsom
  1997-01-16  5:00                   ` Jeffrey Potoff
  1997-01-16  5:00                   ` henley
@ 1997-01-17  5:00                   ` Agtabby
  2 siblings, 0 replies; 73+ messages in thread
From: Agtabby @ 1997-01-17  5:00 UTC (permalink / raw)



tanks, excellent web site with benchmarks and chip specs . . . great!!



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

* Re: big memory on PPro or Alpha
  1997-01-14  5:00     ` 
@ 1997-01-17  5:00       ` Paul David Fox
  1997-01-17  5:00         ` 
  0 siblings, 1 reply; 73+ messages in thread
From: Paul David Fox @ 1997-01-17  5:00 UTC (permalink / raw)



> I stand corrected.  But tell me, Mr. Intel Employee, since when has
> Intel stopped making VWs (Pentiums and PPros) and started making
> Ferraris (Alphas)?
> -Ken, 1967 Ford F100, 390FE V8.
> 
> +-----------------------------------------------------------------+
> | Do *not* add my address to any mailing list without my written  |
> | permission.  If you wish to correspond (non-commercial only)    |
> | please send email to: kpayne@mindspring.com.  Due to a bug in   |
> | my mailer any junk email received will automatically subscribe  |
> | the sender to the majodomo lists.                               |
> +-----------------------------------------------------------------+
> | Spelling flames are lame.  Cole's Law: Thinly Sliced Cabbage    |
> +-----------------------------------------------------------------+


This is completely off topic. I am interested in your
signature. Is this a joke or for real?

This could be a grand solution for the 'Make $$$ quick' and SPAM scams.
If anybody who posted to a newsgroup was spammed to and the originating
site was mailbombed automatically then this might ensure that
IP providers stop spamming before it starts.

_______________________________________________________
| Paul David Fox          Lehman Brothers.             |
| ######################  E-mail: pfox@lehman.com      | 
| # This space for rent#  Home: fox@crisp.demon.co.uk  | 
| ######################  Tel: +44 171 601 0011 x6397  | 
People who SPAM the net should have their testicles removed.



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

* Re: big memory on PPro or Alpha
  1997-01-16  5:00                     ` Jeffrey Potoff
  1997-01-16  5:00                       ` henley
@ 1997-01-18  5:00                       ` John A. Limpert
  1997-01-18  5:00                         ` Douglas H. Borsom
  1997-01-18  5:00                         ` [++] Alpha byte access (Was: Re: big memory on PPro or Alpha) Terje Mathisen
  1 sibling, 2 replies; 73+ messages in thread
From: John A. Limpert @ 1997-01-18  5:00 UTC (permalink / raw)



On Thu, 16 Jan 1997 19:37:54 -0800, Jeffrey Potoff
<jpotoff@latoso.cheme.cornell.edu> wrote:

>What hype would that be ?  Facts are facts.  Send whatever source 
>code you're running that's so much faster on a PPro and I'll 
>benchmark it on a 433mhz 21164 Alpha so we can end this nonsense once
>and for all.

I benchmarked an Alpha with a Reed-Solomon encoder that I wrote and my
90 MHz Pentium beat it. The Alpha seemed to have alot of trouble with
all of the byte sized operations in the encoder software. The Alpha is
a neat chip but it stumbled on my application.

John A. Limpert
johnl@Radix.Net



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

* [++] Alpha byte access (Was: Re: big memory on PPro or Alpha)
  1997-01-18  5:00                       ` John A. Limpert
  1997-01-18  5:00                         ` Douglas H. Borsom
@ 1997-01-18  5:00                         ` Terje Mathisen
  1997-01-18  5:00                           ` Toon Moene
  1997-01-18  5:00                           ` Rob Barris
  1 sibling, 2 replies; 73+ messages in thread
From: Terje Mathisen @ 1997-01-18  5:00 UTC (permalink / raw)



John A. Limpert wrote:
[snip]
> I benchmarked an Alpha with a Reed-Solomon encoder that I wrote and my
> 90 MHz Pentium beat it. The Alpha seemed to have alot of trouble with
> all of the byte sized operations in the encoder software. The Alpha is
> a neat chip but it stumbled on my application.

That was obvious from the first time I laid eyes on the original Alpha
Architecture Manual: With no 8 or 16-bit memory accesses, you really
need to make sure your code doesn't need to work with many items like
that, esp. not with unknown alignment.

This is an area which have obviously hurt DEC, since they added these
operations to the 21264.

Terje

-- 
- <Terje.Mathisen@hda.hydro.com>
Using self-discipline, see http://www.eiffel.com/discipline
"almost all programming can be viewed as an exercise in caching"



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

* Re: big memory on PPro or Alpha
  1997-01-17  5:00                   ` henley
  1997-01-17  5:00                     ` Jeffrey Potoff
  1997-01-17  5:00                     ` Thomas Womack
@ 1997-01-18  5:00                     ` Douglas H. Borsom
  1997-01-19  5:00                     ` Burkhard Neidecker-Lutz
  1997-01-21  5:00                     ` Glenn C. Everhart
  4 siblings, 0 replies; 73+ messages in thread
From: Douglas H. Borsom @ 1997-01-18  5:00 UTC (permalink / raw)



In article <32DFAB6D.146B@tonys.ekology.umn.edu>, henley
<henley@tonys.ekology.umn.edu> wrote:

>[...]
> Yes, this is silly. Here are some timings, on a full QCD
> code with staggered quarks, 5 MonteCarlo steps, 100
> molecular dynamics steps... quark mass: 0.01, beta=5.6:
> 
> 133MHz Dell P5                       :   35  Mflops/s
> 150MHz Dell P5 notebook              :   40  Mflops/s
> 200MHz Dell ppro (200MHz, 256k cache):  105 Mflops/s
> 200MHz dual ppro (200, 256)          :  195 Mflops/s
> 
> 333MHz 21164 (Alphastation 500)      :   76 Mflops/s
> 
> So, what nonsense were we talking about?
>[...]

How about taking Jeff up on his offer, and/or posting
the code and seeing what others can do with it?

> Now we should compare prices.... you can get a 200MHz
> ppro for under $2000. A dual ppro for under $4000.

Why bother with a 2xPPro200 when a 1xAlpha 433 does
much better on Bapco's CAD tests?

     -doug



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

* Re: [++] Alpha byte access (Was: Re: big memory on PPro or Alpha)
  1997-01-18  5:00                         ` [++] Alpha byte access (Was: Re: big memory on PPro or Alpha) Terje Mathisen
@ 1997-01-18  5:00                           ` Toon Moene
  1997-01-18  5:00                           ` Rob Barris
  1 sibling, 0 replies; 73+ messages in thread
From: Toon Moene @ 1997-01-18  5:00 UTC (permalink / raw)



Terje Mathisen <Terje.Mathisen@hda.hydro.com> wrote:

>That was obvious from the first time I laid eyes on the original Alpha
>Architecture Manual: With no 8 or 16-bit memory accesses, you really
>need to make sure your code doesn't need to work with many items like
>that, esp. not with unknown alignment.

Are you sure ?  I seem to remember Intel goofed the SpecInt92 test because 
they (incorrectly) tried to mimick the DEC compiler's treatement of some byte 
handling loops, that where "vectorised" by said compiler ...

-- 
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.ai.mit.edu; NWP: http://www.knmi.nl/hirlam



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

* Re: [++] Alpha byte access (Was: Re: big memory on PPro or Alpha)
  1997-01-18  5:00                         ` [++] Alpha byte access (Was: Re: big memory on PPro or Alpha) Terje Mathisen
  1997-01-18  5:00                           ` Toon Moene
@ 1997-01-18  5:00                           ` Rob Barris
  1997-01-18  5:00                             ` Bill McGee
                                               ` (3 more replies)
  1 sibling, 4 replies; 73+ messages in thread
From: Rob Barris @ 1997-01-18  5:00 UTC (permalink / raw)



In article <32E0EA69.3C56@hda.hydro.com>, Terje Mathisen
<Terje.Mathisen@hda.hydro.com> wrote:

> John A. Limpert wrote:
> [snip]
> > I benchmarked an Alpha with a Reed-Solomon encoder that I wrote and my
> > 90 MHz Pentium beat it. The Alpha seemed to have alot of trouble with
> > all of the byte sized operations in the encoder software. The Alpha is
> > a neat chip but it stumbled on my application.
> 
> That was obvious from the first time I laid eyes on the original Alpha
> Architecture Manual: With no 8 or 16-bit memory accesses, you really
> need to make sure your code doesn't need to work with many items like
> that, esp. not with unknown alignment.
> 
> This is an area which have obviously hurt DEC, since they added these
> operations to the 21264.

   They were added in the 21164, not the 264 (which isn't even sampling yet
?). Another way to look at this is "only the 21064 lacks byte and sub word
operations".

   I don't think it "hurt" them until they started porting NT and NT apps
that grew up in an Intel-centric world. Their SPEC and TPC numbers were
always quite good relative to their contemporaries, even in the 21064 days,
thanks in no small part to their compilers that really understood how to
make the most of the architecture.

Rob Barris
Quicksilver Software Inc.
rbarris@quicksilver.com
* Opinions expressed not necessarily those of my employer *



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

* Re: big memory on PPro or Alpha
  1997-01-17  5:00                       ` henley
@ 1997-01-18  5:00                         ` Jeffrey Potoff
  0 siblings, 0 replies; 73+ messages in thread
From: Jeffrey Potoff @ 1997-01-18  5:00 UTC (permalink / raw)



henley wrote:
> 
> Jeffrey Potoff wrote:
> >
> > henley wrote:
> > >
> > > Yes, this is silly. Here are some timings, on a full QCD
> > > code with staggered quarks, 5 MonteCarlo steps, 100
> > > molecular dynamics steps... quark mass: 0.01, beta=5.6:
> > >
> > > 133MHz Dell P5                       :   35  Mflops/s
> > > 150MHz Dell P5 notebook              :   40  Mflops/s
> > > 200MHz Dell ppro (200MHz, 256k cache):  105 Mflops/s
> > > 200MHz dual ppro (200, 256)          :  195 Mflops/s
> > >
> > > 333MHz 21164 (Alphastation 500)      :   76 Mflops/s
> > >
> > > So, what nonsense were we talking about?

I have to admit, your Intel numbers are quite good.  In fact, they're
substantially above the LINPACK numbers for each of those machines
(not necessarily a good benchmark, but they do serve as a frame of 
reference).  Your Alpha number is about half the LINPACK benchmark.

I'd really be interested to know what the heck is going on.

> > >
> > > Now we should compare prices.... you can get a 200MHz
> > > ppro for under $2000. A dual ppro for under $4000.
> >
> > Really ?  Send me the quote you have for a complete
> > PPro for under $2000.00.
> 
> I'll have to find the quote from Dell, there was a quote
> through our U book store at approximately $2000. At the
> Dell WWW site, the cheapest I could find was $2600.

Yeah, that's what I suspected.

> Of course, you could always find lesser known brands
> for less than $2000 through mail order: there was a cover
> story on some computer mag about those, recently.

Not for my work.  I can't afford to deal with guys selling computers
out of their garage when something breaks.

> 
> > I'd like to see the same
> > for your under $4,000 dual PPro machine.
> 
> From the Micron site (cut the extra junk out and add some extra
> RAM, and it is well under $4000):
> <quote for machine snipped - pretty good price, actually>

> 
> > Question number 2, what compiler are you using on each
> > machine and what switches are you setting ?
> 
> VC++ 4.0 on the Intel machines, and plain old cc -Owhatever on the
> alpha.... same source code in both cases.

This could be part of the problem.  I've found DEC hardware to be
fairly sensitive to the compiler optimizations used, that's why
I asked.  '-Owhatever' doesn't tell me what I need to know, except
that maybe you're not using the best optimizations.

 The notebook was running windows 95.... Not bad, considering that the same 
> code runs at 24 Mflops/s on a single node of the T3D (with its "150 Mflop"
> alphas).

Actually, your code will run faster on a Win95 machine than under NT
(I'm sure you've figured this out already).

If it's short loops, then it won't run well on those machines (T3D),
since, if I'm not mistaken, they're vector machines.

> And as for someone who mentioned that I had not parallelized it well,
> it scales almost perfectly at 20mflops/node all the way up to 512
> nodes on the T3D.

That was me.  From your previous posts, it was unclear (proposefully so ?)
as to exactly what point you were trying to make.  You were commmenting
about how your PPro was faster than a 16 node T3D...

Jeff



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

* Re: big memory on PPro or Alpha
  1997-01-18  5:00                       ` John A. Limpert
@ 1997-01-18  5:00                         ` Douglas H. Borsom
  1997-01-19  5:00                           ` Shane Hebert
  1997-01-18  5:00                         ` [++] Alpha byte access (Was: Re: big memory on PPro or Alpha) Terje Mathisen
  1 sibling, 1 reply; 73+ messages in thread
From: Douglas H. Borsom @ 1997-01-18  5:00 UTC (permalink / raw)



In article <32e56454.5600463@news1.Radix.Net>, johnl@Radix.Net (John A.
Limpert) wrote:

> I benchmarked an Alpha with a Reed-Solomon encoder that I wrote and my
> 90 MHz Pentium beat it.
>[...]

And on the Mathematica benchmarks at

      http://smc.vnet.net/mathstef.html

a 75 MHz Pentium comes in tops on one  test

     Timing[ListPlot[Table[Prime[i],{i,10000}],PlotJoined->True]]

beating 333MHz Alphas, 200 MHz PPros, Suns, HPs, PPCs,
etc.

But most folks wouldn't choose a computer that way.

BTW, of the tested machines, overall, the 333 Alpha was rated tops
on Mathematica. The PPro 200 was 33% slower.

     -doug



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

* Re: [++] Alpha byte access (Was: Re: big memory on PPro or Alpha)
  1997-01-18  5:00                           ` Rob Barris
@ 1997-01-18  5:00                             ` Bill McGee
  1997-01-19  5:00                               ` Terje Mathisen
  1997-01-19  5:00                             ` Reed-Solomon on Alphas " Douglas H. Borsom
                                               ` (2 subsequent siblings)
  3 siblings, 1 reply; 73+ messages in thread
From: Bill McGee @ 1997-01-18  5:00 UTC (permalink / raw)



Rob Barris wrote:
> 
> In article <32E0EA69.3C56@hda.hydro.com>, Terje Mathisen
> <Terje.Mathisen@hda.hydro.com> wrote:
> 
[snip]
>    They were added in the 21164, not the 264 (which isn't even sampling yet
> ?). Another way to look at this is "only the 21064 lacks byte and sub word
> operations".
> 
Strictly speaking it is the 21164A that has the byte/word although not
much literature from DEC uses the A notation for the 164....

General rule of thumb is 400MHZ or greater is a 21164A.

Bill....



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

* Re: big memory on PPro or Alpha
  1997-01-17  5:00                   ` henley
                                       ` (2 preceding siblings ...)
  1997-01-18  5:00                     ` Douglas H. Borsom
@ 1997-01-19  5:00                     ` Burkhard Neidecker-Lutz
  1997-01-19  5:00                       ` henley
  1997-01-21  5:00                     ` Glenn C. Everhart
  4 siblings, 1 reply; 73+ messages in thread
From: Burkhard Neidecker-Lutz @ 1997-01-19  5:00 UTC (permalink / raw)



In article <32DFAB6D.146B@tonys.ekology.umn.edu> henley <henley@tonys.ekology.umn.edu> writes:
>Yes, this is silly. Here are some timings, on a full QCD
>code with staggered quarks, 5 MonteCarlo steps, 100
>molecular dynamics steps... quark mass: 0.01, beta=5.6:

Can you give the source code out ? Something is fishy about
the numbers here. I would like to make an analysis of the code
to see why it seems to run slow on the Alpha.

		Burkhard Neidecker-Lutz

CEC Karlsruhe , European Applied Research Center, Digital Equip. Corp.
email: neideck@kar.dec.com 
433Mhz 21164, 64 MB RAM, 2.1 GB SCSI, SPEC95 12.6e/12.0e, Linux preinstalled
Just $4630,, See http://www.swt.com/alpha_linux.html for details



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

* Re: [++] Alpha byte access (Was: Re: big memory on PPro or Alpha)
  1997-01-18  5:00                             ` Bill McGee
@ 1997-01-19  5:00                               ` Terje Mathisen
  0 siblings, 0 replies; 73+ messages in thread
From: Terje Mathisen @ 1997-01-19  5:00 UTC (permalink / raw)



Bill McGee wrote:
> 
> Rob Barris wrote:
> >
> > In article <32E0EA69.3C56@hda.hydro.com>, Terje Mathisen
> > <Terje.Mathisen@hda.hydro.com> wrote:
> >
> [snip]
> >    They were added in the 21164, not the 264 (which isn't even sampling yet

Yeah, I should have realized that, since I knew that we have Alpha's
here with byte operations. :-(

> > ?). Another way to look at this is "only the 21064 lacks byte and sub word
> > operations".
> >
> Strictly speaking it is the 21164A that has the byte/word although not
> much literature from DEC uses the A notation for the 164....
> 
> General rule of thumb is 400MHZ or greater is a 21164A.

I'll remember that, thanks!

Terje

-- 
- <Terje.Mathisen@hda.hydro.com>
Using self-discipline, see http://www.eiffel.com/discipline
"almost all programming can be viewed as an exercise in caching"



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

* Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha)
  1997-01-18  5:00                           ` Rob Barris
  1997-01-18  5:00                             ` Bill McGee
@ 1997-01-19  5:00                             ` Douglas H. Borsom
  1997-01-19  5:00                             ` [++] Alpha byte access " Larry Kilgallen
  1997-01-21  5:00                             ` Glenn C. Everhart
  3 siblings, 0 replies; 73+ messages in thread
From: Douglas H. Borsom @ 1997-01-19  5:00 UTC (permalink / raw)




So does anyone with access to a 21164A machine want to take
the the vanilla Reed-Solomon from

     http://hideki.iis.u-tokyo.ac.jp/~robert/rs.c

tweak as necessary, and do some timing runs on it?

Comparison numbers from, say, a PPro 200 would also be interesting.

    -doug



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

* Re: big memory on PPro or Alpha
  1997-01-19  5:00                     ` Burkhard Neidecker-Lutz
@ 1997-01-19  5:00                       ` henley
  1997-01-20  5:00                         ` Douglas Borsom
  0 siblings, 1 reply; 73+ messages in thread
From: henley @ 1997-01-19  5:00 UTC (permalink / raw)



Burkhard Neidecker-Lutz wrote:
> 
> In article <32DFAB6D.146B@tonys.ekology.umn.edu> henley <henley@tonys.ekology.umn.edu> writes:
> >Yes, this is silly. Here are some timings, on a full QCD
> >code with staggered quarks, 5 MonteCarlo steps, 100
> >molecular dynamics steps... quark mass: 0.01, beta=5.6:
> 
> Can you give the source code out ? Something is fishy about
> the numbers here. I would like to make an analysis of the code
> to see why it seems to run slow on the Alpha.
> 
>                 Burkhard Neidecker-Lutz

The entire source code is several thousand lines long, and I am not
about to post it or give it out just yet. I originally designed the
program
for the CM5, where I achieved peak flops rates near 100Mflops/node
(which
was pretty good in its day, on the CM5). When I started to port the
code over to the T3D, I first got a version to run on my pentium, since
I decided to use ANSI C... anyway, I made an initial crude version,
and it performed very well on the pentium, and not so well on an alpha.

The thing about lattice QCD is that it uses standard iterative methods
such as conjugate gradient, etc, on large linear systems, BUT the
elements
of the "matrices" are not numbers, but rather complex 3x3 matrices 
themselves. The basic operation in the code is the following
(corresponding 
to a simple multiplication in a normal CG routine, for example):

dest_vector = src_matrix*src_vector

(although there are several variants, such as adding the result
to another vector, etc...)

where the matrices are 3x3 and complex, and the vectors are
complex 3 vectors.... all variables being of type "float". There are
many ways to perform such an operation efficiently, and usually I would
attempt to "vectorize" it (so that the compilers can work their magic,
I suppose). It just so happens that the most obvious and
crudest (and my initial) attempt performed exceptionally well on a 
pentium, and poorly on an alpha.

Try it out for yourself.

I must admit I made no attempt to make it run fast on an alpha, I was
just
surprised to see the pentium outperform the alphas I used on the first
"draft".



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

* Re: Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha)
  1997-01-12  5:00   ` henley
                       ` (3 preceding siblings ...)
  1997-01-19  5:00     ` Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha) David Mosberger-Tang
@ 1997-01-19  5:00     ` David Mosberger-Tang
  1997-01-20  5:00     ` big memory on PPro or Alpha Donald K.Sinclair
                       ` (3 subsequent siblings)
  8 siblings, 0 replies; 73+ messages in thread
From: David Mosberger-Tang @ 1997-01-19  5:00 UTC (permalink / raw)



borsom@netcom.com (Douglas H. Borsom) writes:

> So does anyone with access to a 21164A machine want to take
> the the vanilla Reed-Solomon from
> 
>      http://hideki.iis.u-tokyo.ac.jp/~robert/rs.c
> 
> tweak as necessary, and do some timing runs on it?
> 
> Comparison numbers from, say, a PPro 200 would also be interesting.

You also might want to take a look at my somewhat optimized
Reed-Solomon implementation that comes as part of the Linux
floppy-tape driver.  Last time I measured it, the Alpha vastly
outperformed anything else I had access to at the time (that was a
couple of years ago).  The interesting thing was that the
Alpha-optimized version was faster on all RISC machines I had access
to (PA-RISC, SPARC, MIPS) but ran a bit slower on the 486.

If anybody is interested in looking at it, give me a holler and I'll
dig out the sources.  If you have a reasonably recent Linux kernel
source tree (e.g., 2.0), you'll find the actual RS code in:

	linux/drivers/char/ftape/ecc.{c,h}

I do have a performance & correctness test program for that code, but it
doesn't come with the Linux sources, so you'd have to ask me for that one.

	--david
-- 
David Mosberger-Tang; Dept. of CS; The University of Arizona; Tucson, AZ 85721
david.mosberger@acm.org            http://www.cs.arizona.edu/scout/suncam.html



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

* Re: big memory on PPro or Alpha
  1997-01-18  5:00                         ` Douglas H. Borsom
@ 1997-01-19  5:00                           ` Shane Hebert
  0 siblings, 0 replies; 73+ messages in thread
From: Shane Hebert @ 1997-01-19  5:00 UTC (permalink / raw)



On Sat, 18 Jan 1997 18:28:37 GMT, an alien in the guise of
borsom@netcom.com (Douglas H. Borsom) wrote:

>|In article <32e56454.5600463@news1.Radix.Net>, johnl@Radix.Net (John A.
>|Limpert) wrote:
>|
>|> I benchmarked an Alpha with a Reed-Solomon encoder that I wrote and my
>|> 90 MHz Pentium beat it.
>|>[...]
>|
>|And on the Mathematica benchmarks at
>|
>|      http://smc.vnet.net/mathstef.html
>|
>|a 75 MHz Pentium comes in tops on one  test
>|
>|     Timing[ListPlot[Table[Prime[i],{i,10000}],PlotJoined->True]]
>|
>|beating 333MHz Alphas, 200 MHz PPros, Suns, HPs, PPCs,
>|etc.
>|
>|But most folks wouldn't choose a computer that way.
>|
>|BTW, of the tested machines, overall, the 333 Alpha was rated tops
>|on Mathematica. The PPro 200 was 33% slower.

This is similar to what we see.  We have a 300MHz 21164 Alpha (2M L3
cache) and a dual PPro 200 (256K L2 cache).  We ran some FFT code on
both.  Both run Windows NT 4.0.  The code was compiled on the Alpha
using MSVC++ 4.0, the PPro was MSVC++ 4.2.  The Alpha executable was
optimized for speed and the 21164.  The PPro executable was optimized
for speed and the Pentium.  The FFT code runs on only one CPU.  The
Alpha was 33% faster than the PPro on the closest tests.  It was about
100% faster on some tests.  The FFT code was instrumented so we could
get some other results so it wasn't as much of a floating point
instruction stream as it could have been.



============================================================
Shane Hebert
shane@erc.msstate.edu
Disclaimer:  Any opinions stated above are mine and not
those of my employer.
Disclaimer:  If I say something and you do it, it isn't
my fault.



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

* Re: big memory on PPro or Alpha
  1997-01-08  5:00 big memory on PPro or Alpha Erik Evensen
                   ` (3 preceding siblings ...)
  1997-01-11  5:00 ` Douglas H. Borsom
@ 1997-01-19  5:00 ` David Mosberger-Tang
  1997-01-20  5:00 ` henley
  5 siblings, 0 replies; 73+ messages in thread
From: David Mosberger-Tang @ 1997-01-19  5:00 UTC (permalink / raw)



janes@signal.dra.hmg.gb (Tim W. Janes) writes:

> Unfortunately our Newsserver has been down so I have missed most of
> this interesting thread - also apologies if I am off topic.
> 
> We also see similar performance comparison between PPro200 and Alphastation.
> 
> Here are execution time comparisons for a run of our in house speech
> recognition code.
> 
> PPro 200 (NetBSD)	    127 secs
> Alphastation 600 5/266 (DU) 134 secs
> Alphastation 500 5/333 (DU) 109 secs
> 
> I had put down the relative good PPro performance to the fact that all
> published performance figures use 64bit floats but we use 32Bit floats
> and a PPro does 32bit arithmetic very much faster than 64 but an alpha
> does 64 and 32 bit arithmetic at the same speed.
> 
> Sorry DEC but at the moment we are very happy with the
> performance/cost of our array of cheap PPro machines.

Assuming your code is written in C and you were using DEC C on the DU
machines: did you make sure that -std1 was turned on when using the
DEC C compiler?  Without it, the compiler defaults to K&R mode which
has the effect that all fp operations are performed in double
precision (and since you're using floats, that would result in many
unneeded conversions).  In contrast, gcc defaults to ANSI mode.

	--david
-- 
David Mosberger-Tang; Dept. of CS; The University of Arizona; Tucson, AZ 85721
david.mosberger@acm.org            http://www.cs.arizona.edu/scout/suncam.html



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

* Re: Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha)
  1997-01-12  5:00   ` henley
                       ` (2 preceding siblings ...)
  1997-01-13  5:00     ` Jeffrey Potoff
@ 1997-01-19  5:00     ` David Mosberger-Tang
  1997-01-19  5:00     ` David Mosberger-Tang
                       ` (4 subsequent siblings)
  8 siblings, 0 replies; 73+ messages in thread
From: David Mosberger-Tang @ 1997-01-19  5:00 UTC (permalink / raw)



Just a quick update: I located the Reed-Solomon code I mentioned in a
previous post and measured it on a few machines I have access to.  The
numbers below are the average Reed-Solomon encoding/decoding
throughputs for the code that is used by floppy-tape drives:

 AXPpci33 (166MHz 21066, i.e., _very_ slow memory system): 20328KB/sec
 P6 200MHz (Gateway, I believe)				 : 28438KB/sec
 Cabriolet (300MHz 21064A)				 : 40860KB/sec
 eb164 (300MHz 21164)					 : 62301KB/sec

The AXPpci33 is my personal machine that can be bought for $700 or so
under the name Multia (or UDB), so it's not exactly a high end machine
(and normally it's a lot slower than a P6 because of its crappy memory
system).  The Cabriolet is also known as AlphaPC64 is quite old.  The
eb164 is a reasonably new machine, though it doesn't have any of the
sub-word store/load features of the newer CPUs.

It's interesting to note that at least for the Alphas, RS encoding
throughput seems to be almost exactly half of the copy-bandwidth of
the memory system.

Just goes to show: lies, damn lies, and benchmarks.

	--david

PS: If anybody is interested in looking at the code: I put together a
    tar-file with all the necessary bits and the code is known to compile
    at least under Linux for Alpha and x86.  I'm sure there is room for
    improvement for both the Alpha and the x86 given that the code was written
    3 or 4 years ago.
-- 
David Mosberger-Tang; Dept. of CS; The University of Arizona; Tucson, AZ 85721
david.mosberger@acm.org            http://www.cs.arizona.edu/scout/suncam.html



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

* Re: big memory on PPro or Alpha
  1997-01-17  5:00                     ` Thomas Womack
@ 1997-01-19  5:00                       ` Tim W. Janes
  0 siblings, 0 replies; 73+ messages in thread
From: Tim W. Janes @ 1997-01-19  5:00 UTC (permalink / raw)



In article <5botji$7ju@news.ox.ac.uk>,
Thomas Womack <mert0236@sable.ox.ac.uk> wrote:
>henley (henley@tonys.ekology.umn.edu) wrote:
>: Jeffrey Potoff wrote:
>: > 
>: > This is just getting silly.  We have a 433mhz Alpha in our
>: > department and to end this nonsense once and for all, I'm
>: > willing to benchmark your code on our machine.
>
>: Yes, this is silly. Here are some timings, on a full QCD
>: code with staggered quarks, 5 MonteCarlo steps, 100
>: molecular dynamics steps... quark mass: 0.01, beta=5.6:
>
>: 133MHz Dell P5                       :   35  Mflops/s
>: 150MHz Dell P5 notebook              :   40  Mflops/s
>: 200MHz Dell ppro (200MHz, 256k cache):  105 Mflops/s
>: 200MHz dual ppro (200, 256)          :  195 Mflops/s
>
>: 333MHz 21164 (Alphastation 500)      :   76 Mflops/s
>
>Ah ... this is really quite interesting. (thinking out loud)
>

Unfortunately our Newsserver has been down so I have missed most of
this interesting thread - also apologies if I am off topic.

We also see similar performance comparison between PPro200 and Alphastation.

Here are execution time comparisons for a run of our in house speech
recognition code.

PPro 200 (NetBSD)	    127 secs
Alphastation 600 5/266 (DU) 134 secs
Alphastation 500 5/333 (DU) 109 secs

I had put down the relative good PPro performance to the fact that all
published performance figures use 64bit floats but we use 32Bit floats
and a PPro does 32bit arithmetic very much faster than 64 but an alpha
does 64 and 32 bit arithmetic at the same speed.

Sorry DEC but at the moment we are very happy with the
performance/cost of our array of cheap PPro machines.

Tim.




-- 
Tim Janes                   | e-mail : janes@signal.dra.hmg.gb
Defence Research Agency     |    tel : +44 1684 894100
Malvern  Worcs              |    fax : +44 1684 895103
Gt Britain                  |   #include <std/disclaim.h>



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

* Re: [++] Alpha byte access (Was: Re: big memory on PPro or Alpha)
  1997-01-18  5:00                           ` Rob Barris
  1997-01-18  5:00                             ` Bill McGee
  1997-01-19  5:00                             ` Reed-Solomon on Alphas " Douglas H. Borsom
@ 1997-01-19  5:00                             ` Larry Kilgallen
  1997-01-20  5:00                               ` Thomas P. Evans
  1997-01-21  5:00                             ` Glenn C. Everhart
  3 siblings, 1 reply; 73+ messages in thread
From: Larry Kilgallen @ 1997-01-19  5:00 UTC (permalink / raw)



In article <rbarris-ya023280001801971350180001@news.quicksilver.com>, rbarris@quicksilver.com (Rob Barris) writes:
> In article <32E0EA69.3C56@hda.hydro.com>, Terje Mathisen
> <Terje.Mathisen@hda.hydro.com> wrote:

>> That was obvious from the first time I laid eyes on the original Alpha
>> Architecture Manual: With no 8 or 16-bit memory accesses, you really
>> need to make sure your code doesn't need to work with many items like
>> that, esp. not with unknown alignment.

>    I don't think it "hurt" them until they started porting NT and NT apps
> that grew up in an Intel-centric world. Their SPEC and TPC numbers were
> always quite good relative to their contemporaries, even in the 21064 days,
> thanks in no small part to their compilers that really understood how to
> make the most of the architecture.

In particular, DEC compilers can only help when they are used.
The FX!32 support for running Intel binaries on Alpha does not
have access to program source so cannot benefit from compiler
technology.

Larry Kilgallen



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

* Re: big memory on PPro or Alpha
  1997-01-12  5:00   ` henley
                       ` (4 preceding siblings ...)
  1997-01-19  5:00     ` David Mosberger-Tang
@ 1997-01-20  5:00     ` Donald K.Sinclair
  1997-01-20  5:00     ` Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha) H.W. Stockman
                       ` (2 subsequent siblings)
  8 siblings, 0 replies; 73+ messages in thread
From: Donald K.Sinclair @ 1997-01-20  5:00 UTC (permalink / raw)



I have run lattice QCD codes on a 200Mhz Pentium Pro (Linux + Absoft f77) and
a 250Mhz AlphaStation (DEC Unix + DEC f77). My benchmarks were 40+Mflops for
the Pentium Pro, and 70+Mflops for the AlphaStation. I have also developed
lattice QCD codes (not precisely the same ones, but similar) for the CRAY T3D,
in CFT77. These only ran at about 20Mflops/node. As I understand it, the 
problem here is that the T3D has no L3 cache, whereas the AlphaStations and
(most of) the Alpha based clones do.
                                                Don Sinclair
  





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

* Re: Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha)
  1997-01-12  5:00   ` henley
                       ` (5 preceding siblings ...)
  1997-01-20  5:00     ` big memory on PPro or Alpha Donald K.Sinclair
@ 1997-01-20  5:00     ` H.W. Stockman
  1997-01-21  5:00     ` [++] Alpha byte access " Ketil Z Malde
  1997-01-22  5:00     ` Reed-Solomon [was: Re: big memory on PPro or Alpha] David Mosberger-Tang
  8 siblings, 0 replies; 73+ messages in thread
From: H.W. Stockman @ 1997-01-20  5:00 UTC (permalink / raw)



David Mosberger-Tang wrote:

>  AXPpci33 (166MHz 21066, i.e., _very_ slow memory system): 20328KB/sec
>  P6 200MHz (Gateway, I believe)                          : 28438KB/sec
>  Cabriolet (300MHz 21064A)                               : 40860KB/sec
>  eb164 (300MHz 21164)                                    : 62301KB/sec


Could you restate the compiler used? Was it gcc?



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

* Re: big memory on PPro or Alpha
  1997-01-08  5:00 big memory on PPro or Alpha Erik Evensen
                   ` (4 preceding siblings ...)
  1997-01-19  5:00 ` David Mosberger-Tang
@ 1997-01-20  5:00 ` henley
  5 siblings, 0 replies; 73+ messages in thread
From: henley @ 1997-01-20  5:00 UTC (permalink / raw)



David Mosberger-Tang wrote:
> 
> janes@signal.dra.hmg.gb (Tim W. Janes) writes:
> > Here are execution time comparisons for a run of our in house speech
> > recognition code.
> >
> > PPro 200 (NetBSD)         127 secs
> > Alphastation 600 5/266 (DU) 134 secs
> > Alphastation 500 5/333 (DU) 109 secs
> >
> > I had put down the relative good PPro performance to the fact that all
> > published performance figures use 64bit floats but we use 32Bit floats
> > and a PPro does 32bit arithmetic very much faster than 64 but an alpha
> > does 64 and 32 bit arithmetic at the same speed.
> >
> > Sorry DEC but at the moment we are very happy with the
> > performance/cost of our array of cheap PPro machines.
> 
> Assuming your code is written in C and you were using DEC C on the DU
> machines: did you make sure that -std1 was turned on when using the
> DEC C compiler?  Without it, the compiler defaults to K&R mode which
> has the effect that all fp operations are performed in double
> precision (and since you're using floats, that would result in many
> unneeded conversions).  In contrast, gcc defaults to ANSI mode.

I recompiled my code with all the compiler options suggested to me,
including the -std1 switch you mentioned (this has the greatest effect)
and -tune ev5, and I can now improve the alpha numbers:

before optimization: 333MHz alphastation 500 : 76 MFlops/s
after optimization                           : 89 Mflops/s

This is still slower than the 200MHz ppro, at 105 Mflops/s.



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

* Re: big memory on PPro or Alpha
  1997-01-20  5:00                         ` Douglas Borsom
@ 1997-01-20  5:00                           ` henley
  0 siblings, 0 replies; 73+ messages in thread
From: henley @ 1997-01-20  5:00 UTC (permalink / raw)



Douglas Borsom wrote:
> 
> henley <henley@tonys.ekology.umn.edu> writes:
> 
> >[...]
> >It just so happens that the most obvious and
> >crudest (and my initial) attempt performed exceptionally well on a
> >pentium, and poorly on an alpha.
> 
> >Try it out for yourself.
> 
> >I must admit I made no attempt to make it run fast on an alpha, I was
> >just surprised to see the pentium outperform the alphas I used on the
> >first "draft".
> 
> And based on that, you called Alpha performance "hype".
> 
> In the spirit of the super bowl, 15 yard penalty and loss of
> down, Henley.

No, not just based on this. Based on what other people have
also been saying, especially in the field in which I work.
More than a few people have been disappointed with the performance
of the alpha in a few cases, although probably even more people have
been impressed with its performance in many other cases.

And there IS a lot of hype about the alpha. Why else would so many
people refuse to believe that there are cases in which the alpha
performs badly? Based on my own personal experience, I would easily
choose a nicely set up dual ppro system over your equivalently 
priced alpha. There are more software options, it is fast, and cheaper. 
I know it is not very PC to actually be pro-intel, especially in 
academic circles where Macs and alphas and SGIs and SUNS and VMS 
and UNIX reign supreme. For me, it all boils down to performance/price.

BTW, I am not american, so your football analogy went over my head.
Re-express it in terms of Rugby, and perhaps I'll understand. :)



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

* Re: [++] Alpha byte access (Was: Re: big memory on PPro or Alpha)
  1997-01-19  5:00                             ` [++] Alpha byte access " Larry Kilgallen
@ 1997-01-20  5:00                               ` Thomas P. Evans
  0 siblings, 0 replies; 73+ messages in thread
From: Thomas P. Evans @ 1997-01-20  5:00 UTC (permalink / raw)



> In particular, DEC compilers can only help when they are used.
> The FX!32 support for running Intel binaries on Alpha does not
> have access to program source so cannot benefit from compiler
> technology.

Why can't FX!32 benefit from compiler technology?  Source code is
pretty much irrelevant for the optimizer in FX!32.  We use many compiler
techniques in the FX!32 optimizer in addition to many techniques which
standard compilers cannot use (because of the available profile and
alignment
data).  X86 instructions are our source code.

We pushed for byte/word instructions in Alpha to: 

1) speed up x86 program execution (having byte/word instructions is
   *always* better thean not having them in the x86 code case).

2) aid in the porting of device drivers.

3) and probably many other reasons that I don't recall.

...tom



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

* Re: big memory on PPro or Alpha
  1997-01-19  5:00                       ` henley
@ 1997-01-20  5:00                         ` Douglas Borsom
  1997-01-20  5:00                           ` henley
  0 siblings, 1 reply; 73+ messages in thread
From: Douglas Borsom @ 1997-01-20  5:00 UTC (permalink / raw)



henley <henley@tonys.ekology.umn.edu> writes:

>[...]
>It just so happens that the most obvious and
>crudest (and my initial) attempt performed exceptionally well on a 
>pentium, and poorly on an alpha.

>Try it out for yourself.

>I must admit I made no attempt to make it run fast on an alpha, I was
>just surprised to see the pentium outperform the alphas I used on the
>first "draft".

And based on that, you called Alpha performance "hype".

In the spirit of the super bowl, 15 yard penalty and loss of
down, Henley.

    -doug




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

* Re: big memory on PPro or Alpha
  1997-01-17  5:00                   ` henley
                                       ` (3 preceding siblings ...)
  1997-01-19  5:00                     ` Burkhard Neidecker-Lutz
@ 1997-01-21  5:00                     ` Glenn C. Everhart
  4 siblings, 0 replies; 73+ messages in thread
From: Glenn C. Everhart @ 1997-01-21  5:00 UTC (permalink / raw)




It might be interesting to know the memory sizes of these machines.

Page faults on VMS take a lot of time and could easily slow the machine
way down. Even mistuning (wsmax or process quotas too low) giving
soft page faults STILL mean you're timing PALcode, not yours.

Get these right and an Alpha looks a lot better, though the P6
is faster than the early Alphas. Compiler switches also make a heck
of a lot of difference, and if you do a lot of byte or short integer
operations, that could kill you too. Also note Alpha doesn't have
an integer divide (at least not 64/64). Lots of physics code (including
mine) has hand optimizations which may not work well on Alphas of
older type. The EV56 and up have byte and word instructions and will
not be so sensitive to that stuff. (I think sqrt may get in there too
as an instruction).

In short, not enough info exists in the postings to tell what is wrong,
but anyone familiar with OVMS knows it is relatively easy to mistune
it to make it look terrible. Braindead, but possible.

(Set the system working set too low and overall performance gets REALLY
bad. Autogen was partly invented to keep this from being such a problem.
But things like wsmax if you never feedback are harder to get right.
)
glenn Everhart



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

* Re: [++] Alpha byte access (Was: Re: big memory on PPro or Alpha)
  1997-01-12  5:00   ` henley
                       ` (6 preceding siblings ...)
  1997-01-20  5:00     ` Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha) H.W. Stockman
@ 1997-01-21  5:00     ` Ketil Z Malde
  1997-01-22  5:00     ` Reed-Solomon [was: Re: big memory on PPro or Alpha] David Mosberger-Tang
  8 siblings, 0 replies; 73+ messages in thread
From: Ketil Z Malde @ 1997-01-21  5:00 UTC (permalink / raw)



"Thomas P. Evans" <evans@amt.tay1.dec.com> writes:

> We pushed for byte/word instructions in Alpha to:

> 1) speed up x86 program execution (having byte/word instructions is
>    *always* better thean not having them in the x86 code case).

> 2) aid in the porting of device drivers.

> 3) and probably many other reasons that I don't recall.

Quake and its eight-bit frame buffer? :-)

~kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants



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

* Re: [++] Alpha byte access (Was: Re: big memory on PPro or Alpha)
  1997-01-18  5:00                           ` Rob Barris
                                               ` (2 preceding siblings ...)
  1997-01-19  5:00                             ` [++] Alpha byte access " Larry Kilgallen
@ 1997-01-21  5:00                             ` Glenn C. Everhart
  3 siblings, 0 replies; 73+ messages in thread
From: Glenn C. Everhart @ 1997-01-21  5:00 UTC (permalink / raw)




Ask your salesperson if the Alpha is EV56 or EV6. The EV5 and EV56 have
the same number, I believe, but only EV56 has byte & word operations.
The OSs emulate them if not in hardware, but more slowly.

Seemed odd to me, but the newer faster machines are getting to be at
EV56, soon to be EV6 (and so on and so on)

21164A doesn't I think guarantee it's EV56.



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

* Reed-Solomon [was: Re: big memory on PPro or Alpha]
  1997-01-12  5:00   ` henley
                       ` (7 preceding siblings ...)
  1997-01-21  5:00     ` [++] Alpha byte access " Ketil Z Malde
@ 1997-01-22  5:00     ` David Mosberger-Tang
  1997-01-24  5:00       ` Agtabby
  8 siblings, 1 reply; 73+ messages in thread
From: David Mosberger-Tang @ 1997-01-22  5:00 UTC (permalink / raw)
  To: johnl, davidm


johnl@Radix.Net (John A. Limpert) writes:

> On Thu, 16 Jan 1997 19:37:54 -0800, Jeffrey Potoff
> <jpotoff@latoso.cheme.cornell.edu> wrote:
> 
> >What hype would that be ?  Facts are facts.  Send whatever source 
> >code you're running that's so much faster on a PPro and I'll 
> >benchmark it on a 433mhz 21164 Alpha so we can end this nonsense once
> >and for all.
> 
> I benchmarked an Alpha with a Reed-Solomon encoder that I wrote and my
> 90 MHz Pentium beat it. The Alpha seemed to have alot of trouble with
> all of the byte sized operations in the encoder software. The Alpha is
> a neat chip but it stumbled on my application.

John was kind enough to send me his Reed Solomon code.  Sure enough, I
got the following results on a 200MHz P6 Linux machine and two 300MHz
ev5 machines (21164 without subword load/store).  One of the ev5
machines was running Linux, the other OSF/1.  Under Linux, I used gcc
-O2 for compilation, under OSF/1 I used cc -migrate -O4 -tune ev5:

original code:

686:200MHz:Linux:gcc -O2:			2.8MB/sec
ev5:300MHz:Linux:gcc -O2:			0.74MB/sec
ev5:300MHz:OSF/1:cc -migrate -O4 -tune ev5:	0.74MB/sec

The code had some obvious inefficiencies, so I spent half an hour
getting rid of the worse offender.  The results with that code are
below:

improved code:

686:200MHz:Linux:gcc -O2:			 3.4MB/sec
ev5:300MHz:Linux:gcc -O2:			10.0MB/sec
ev5:300MHz:OSF/1:cc -migrate -O4 -tune ev5:	11.4MB/sec

This is obviously much more reasonable.  Note that the 686 improved as
well, but only by 21% as compared to a factor of 15.4 for the Alpha.
I suspect there are two reasons the Alpha did so poorly with the old
code: (a) some of the arrays are exactly 8KB big (size of primary
cache), so there might be some thrashing going on and (b) the byte
accesses certainly hurt on the pre-ev56 CPUs with the original code.

Anyhow, spending half an hour to get a 21% improvement seems pretty
reasonable to me and on the Alpha it happens to win big.  The improved
code is appended below.  I included the original core-loop code as a
comments, so it's easier to see what changes I made.

If you look at the code, you'll notice that it takes advantage of the
64 bit registers on the Alpha.  Since some people might argue it is
not worth spending extra time optimizing code for the Alpha, I also
measured the Alphas when using exactly the same C source as for the
686.  The results for this case are below:

ev5:300MHz:Linux:gcc -O2:			6.0MB/sec
ev5:300MHz:OSF/1:cc -migrate -O4 -tune ev5:	5.9MB/sec

So the larger registers definitively help (though the improvement may
well be due to reducing the number of memory accesses as opposed to
doing more work per arithmetic operation).

Note that I literally spent just half an hour getting rid of the bad
core-loop code.  I'm sure the code could be tuned much more for both
CPUs, but that's not really the point of this exercise.

Lessons:

	(a) The absence of subword load/stores can really hurt
	    on POORLY written code.

	(b) Just making minor changes, performance increased
	    by over 20% for the 686 and 1400% on the Alpha.
	    The point here is that the same changes result
	    in benefits for both architectures (though the
	    benefit is smaller in the 686 case).

	(c) The use of 64 bit register on the Alpha really
	    helps in the above code.

  --david
--
/*
 * rse.cpp
 * Version 1.0
 * 05/09/95
 *
 * Reed-Solomon encoder for the standard NASA/CCSDS (255,223) code.
 *
 *     The Berlekamp Reed-Solomon encoder is implemented as
 *     a conventional Reed-Solomon encoder with dual/conventional
 *     basis tranforms on the input and output of the encoder.
 *
 *     Interleave (1..8) and virtual fill are supported.
 *
 * References:
 *
 *     CCSDS Blue Book 101.0-B-3
 *     Telemetry Channel Coding
 *     May 1993
 *
 *     Error Control Coding: Fundamentals and Applications
 *     Shu Lin & Daniel Costello
 *
 *     Reed-Solomon Encoders - Conventional vs. Berlekamp's Architecture
 *     M. Perlman & J. Lee
 *     JPL Publication 82-71
 *
 * Author:
 *
 *     John A. Limpert
 *     ATSC
 *     Code 530.2
 *     NASA/GSFC
 *     Greenbelt, Maryland 20771
 */

#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <assert.h>

#include <sys/time.h>

/*
  Sample encoder output:

  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF 22
  07 1D 51 81 3F F6 86 E7 5D F5 64 1D 37 B8 D7 B8
  37 1D 64 F5 5D E7 86 F6 3F 81 51 1D 07 22 FF
*/

/*
  Conventional to Dual Basis Transform
  
  Tal
  
  1 0 0 0 1 1 0 1
  1 1 1 0 1 1 1 1
  1 1 1 0 1 1 0 0
  1 0 0 0 0 1 1 0
  1 1 1 1 1 0 1 0
  1 0 0 1 1 0 0 1
  1 0 1 0 1 1 1 1
  0 1 1 1 1 0 1 1
*/

static unsigned char tal[] = {
    0xFE, 0x69, 0x6B, 0x0D, 0xEF, 0xF2, 0x5B, 0xC7
};

/*
  Dual to Conventional Basis Transform

  Tal -1

  1 1 0 0 0 1 0 1
  0 1 0 0 0 0 1 0
  0 0 1 0 1 1 1 0
  1 1 1 1 1 1 0 1
  1 1 1 1 0 0 0 0
  0 1 1 1 1 0 0 1
  1 0 1 0 1 1 0 0
  1 1 0 0 1 1 0 0
*/

static unsigned char ital[] = {
    0x9B, 0xDD, 0x3E, 0x1C, 0x37, 0xB3, 0x60, 0x94
};

/* F(x) = x^8 + x^7 + x^2 + x + 1 over GF(2) */
const unsigned char poly = 0x87;	/* field generator polynomial */

#define N 255	/* number of symbols in codeword */
#define K 223	/* number of information symbols in codeword */
#define E 16	/* symbol error correction capability */

void rsInit();
void rsEncode(unsigned char* codeBlock, int interleave, int virtualFill);

typedef union {
    unsigned char u8[32];
    unsigned int  u32[8];
    unsigned long u64[4];
} big_word;

static unsigned char convToDual[256];		/* conventional to dual */
static unsigned char dualToConv[256];		/* dual to conventional */
static unsigned char alogAlpha[256];		/* GF(2^8) alog */
static unsigned char logAlpha[256];		/* GF(2^8) log */
static unsigned char mulAlpha[256][256];	/* GF(2^8) multiplication */
static unsigned char g[32];			/* RS G(x) polynomial */
static big_word products[256];			/* precomputed products */

\f
#ifdef TEST
static unsigned char codeBlock[(N - 95)*8];

int
main()
{
    struct timeval tv_start, tv_stop;
    double delta;
    int i;

    /* test data */
    memset(codeBlock, 0, sizeof(codeBlock));
    codeBlock[1016] = 0xFF;
    codeBlock[1017] = 0xFF;
    codeBlock[1018] = 0xFF;
    codeBlock[1019] = 0xFF;
    codeBlock[1020] = 0xFF;
    codeBlock[1021] = 0xFF;
    codeBlock[1022] = 0xFF;
    codeBlock[1023] = 0xFF;
    
    /* initialize encoder tables */
    rsInit();

    /* test/benchmark encoder */
    gettimeofday(&tv_start, 0);
    for (i = 0; i < 10000; ++i)
        rsEncode(codeBlock, 8, 95);
    gettimeofday(&tv_stop, 0);
    delta =
	(tv_stop.tv_sec + tv_stop.tv_usec / 1000000.0)
	- (tv_start.tv_sec + tv_start.tv_usec / 1000000.0);
    printf("%g seconds/10000 iterations => %gMB/sec\n",
	   delta, 10000.0*sizeof(codeBlock)/delta/1024.0/1024.0);
    
#if 1
    /* display encoded codeblock */
    for (i = 0; i < sizeof(codeBlock); ++i) {
        printf("%.2X", codeBlock[i]);
        if (i%16 == 15)
            printf("\n");
        else
            printf(" ");
    }
    printf("\n");
#endif
    
    return 0;
}
#endif /* TEST */

\f
/* rsInit -- initialize Reed-Solomon encoder */

void
rsInit()
{
    int i, j, k;
    unsigned char x, t, r;
    
    /* create tables for conventional/dual basis conversion */
    for (i = 0; i <= 255; ++i) {
	x = i;
	r = 0;
	/* multiply x by transform matrix */
	for (j = 0; j <= 7; ++j) {
	    t = x & tal[j];
	    t ^= (t >> 4);
	    t ^= (t >> 2);
	    t ^= (t >> 1);
	    t &= 0x01;
	    t <<= (7 - j);
	    r |= t;
	}
	convToDual[x] = r;
	dualToConv[r] = x;
    }

    /* create log and alog tables for GF(2^8) */
    for (x = 0x01, i = 0; i <= 254; ++i) {
	logAlpha[x] = i;
	alogAlpha[i] = x;
	if (x & 0x80)
	    x = (x << 1) ^ poly;
	else
	    x = (x << 1);
    }

    /* create multiplication table for GF(2^8) */
    for (i = 0; i <= 255; ++i) {
	for (j = 0; j <= 255; ++j) {
	    if (i == 0 || j == 0) {
		mulAlpha[i][j] = 0;
	    }
	    else {
		k = logAlpha[i] + logAlpha[j];
		if (k >= 255)
		    k -= 255;
		mulAlpha[i][j] = alogAlpha[k];
	    }
	}
    }

    /* store generator polynomial coefficients */
    g[0] = g[30] = alogAlpha[249];
    g[1] = g[29] = alogAlpha[59];
    g[2] = g[28] = alogAlpha[66];
    g[3] = g[27] = alogAlpha[4];
    g[4] = g[26] = alogAlpha[43];
    g[5] = g[25] = alogAlpha[126];
    g[6] = g[24] = alogAlpha[251];
    g[7] = g[23] = alogAlpha[97];
    g[8] = g[22] = alogAlpha[30];
    g[9] = g[21] = alogAlpha[3];
    g[10] = g[20] = alogAlpha[213];
    g[11] = g[19] = alogAlpha[50];
    g[12] = g[18] = alogAlpha[66];
    g[13] = g[17] = alogAlpha[170];
    g[14] = g[16] = alogAlpha[5];
    g[15] = alogAlpha[24];
    g[31] = alogAlpha[0];

    /* precompute products of feedback term and generator polynomial */
    for (i = 0; i < 256; ++i)
        for (j = 0; j < 32; ++j)
            products[i].u8[j] = mulAlpha[i][g[j]];
}

\f
/* rsEncode -- Reed-Solomon encoder */

void
rsEncode(unsigned char* codeBlock, int interleave, int virtualFill)
{
    int encoder, i, j;
    unsigned char feedBack, *P;
    big_word checkSymbols[8];
    big_word *p;
    big_word *q;
    
    /* check parameters */
    assert(codeBlock != NULL);
    assert(interleave >= 1 && interleave <= 8);
    assert(virtualFill >= 0 && virtualFill <= 222);

    /* clear encoding register(s) */
    memset(checkSymbols, 0, 32*interleave);

    /* encode codeblock(s) */
    for (encoder = 0, i = 0; i < (K - virtualFill)*interleave; ++i) {
        /* convert to conventional basis and produce feedback term */
        feedBack = dualToConv[codeBlock[i]] ^ checkSymbols[encoder].u8[0];

        /* multiply by generator polynomial and add to register */
        p = &checkSymbols[encoder];
        q = &products[feedBack];

	/* the original code look like this (p and q were byte pointers:

        p[0] = p[1] ^ q[0];
        p[1] = p[2] ^ q[1];
        p[2] = p[3] ^ q[2];
        p[3] = p[4] ^ q[3];
        p[4] = p[5] ^ q[4];
        p[5] = p[6] ^ q[5];
        p[6] = p[7] ^ q[6];
        p[7] = p[8] ^ q[7];
        p[8] = p[9] ^ q[8];
        p[9] = p[10] ^ q[9];
        p[10] = p[11] ^ q[10];
        p[11] = p[12] ^ q[11];
        p[12] = p[13] ^ q[12];
        p[13] = p[14] ^ q[13];
        p[14] = p[15] ^ q[14];
        p[15] = p[16] ^ q[15];
        p[16] = p[17] ^ q[16];
        p[17] = p[18] ^ q[17];
        p[18] = p[19] ^ q[18];
        p[19] = p[20] ^ q[19];
        p[20] = p[21] ^ q[20];
        p[21] = p[22] ^ q[21];
        p[22] = p[23] ^ q[22];
        p[23] = p[24] ^ q[23];
        p[24] = p[25] ^ q[24];
        p[25] = p[26] ^ q[25];
        p[26] = p[27] ^ q[26];
        p[27] = p[28] ^ q[27];
        p[28] = p[29] ^ q[28];
        p[29] = p[30] ^ q[29];
        p[30] = p[31] ^ q[30];
        p[31] = q[31]; */
#ifdef __alpha__
	{
	    unsigned long p0, p1, p2, p3, q0, q1, q2, q3, r0, r1, r2, r3;

	    p0 = p->u64[0]; p1 = p->u64[1]; p2 = p->u64[2]; p3 = p->u64[3];
	    q0 = q->u64[0]; q1 = q->u64[1]; q2 = q->u64[2]; q3 = q->u64[3]; 

	    r0 = ((p1 << 56) | (p0 >> 8)) ^ q0;
	    r1 = ((p2 << 56) | (p1 >> 8)) ^ q1;
	    r2 = ((p3 << 56) | (p2 >> 8)) ^ q2;
	    r3 =               (p3 >> 8)  ^ q3;

	    p->u64[0] = r0; p->u64[1] = r1; p->u64[2] = r2; p->u64[3] = r3;
	}
#else
	{
	    unsigned int p0, p1, p2, p3, p4, p5, p6, p7;
	    unsigned int q0, q1, q2, q3, q4, q5, q6, q7;
	    unsigned int r0, r1, r2, r3, r4, r5, r6, r7;

	    p0 = p->u32[0]; p1 = p->u32[1]; p2 = p->u32[2]; p3 = p->u32[3];
	    p4 = p->u32[4]; p5 = p->u32[5]; p6 = p->u32[6]; p7 = p->u32[7];
	    q0 = q->u32[0]; q1 = q->u32[1]; q2 = q->u32[2]; q3 = q->u32[3]; 
	    q4 = q->u32[4]; q5 = q->u32[5]; q6 = q->u32[6]; q7 = q->u32[7]; 

	    r0 = ((p1 << 24) | (p0 >> 8)) ^ q0;
	    r1 = ((p2 << 24) | (p1 >> 8)) ^ q1;
	    r2 = ((p3 << 24) | (p2 >> 8)) ^ q2;
	    r3 = ((p4 << 24) | (p3 >> 8)) ^ q3;
	    r4 = ((p5 << 24) | (p4 >> 8)) ^ q4;
	    r5 = ((p6 << 24) | (p5 >> 8)) ^ q5;
	    r6 = ((p7 << 24) | (p6 >> 8)) ^ q6;
	    r7 =               (p7 >> 8)  ^ q7;

	    p->u32[0] = r0; p->u32[1] = r1; p->u32[2] = r2; p->u32[3] = r3;
	    p->u32[4] = r4; p->u32[5] = r5; p->u32[6] = r6; p->u32[7] = r7;
	}
#endif

        /* switch to next encoder register */
        if (++encoder >= interleave)
            encoder = 0;
    }

    /* store check symbols in code block, converting back to dual basis */
    P = &codeBlock[(K - virtualFill)*interleave];
    for (i = 0; i < 32; ++i)
        for (encoder = 0; encoder < interleave; ++encoder)
            *P++ = convToDual[checkSymbols[encoder].u8[i]];
}
-- 
David Mosberger-Tang; Dept. of CS; The University of Arizona; Tucson, AZ 85721
david.mosberger@acm.org            http://www.cs.arizona.edu/scout/suncam.html



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

* Re: Reed-Solomon [was: Re: big memory on PPro or Alpha]
  1997-01-22  5:00     ` Reed-Solomon [was: Re: big memory on PPro or Alpha] David Mosberger-Tang
@ 1997-01-24  5:00       ` Agtabby
  1997-01-25  5:00         ` H.W. Stockman
  0 siblings, 1 reply; 73+ messages in thread
From: Agtabby @ 1997-01-24  5:00 UTC (permalink / raw)



Thanks for working this out . . . my experience is also that the Alpha
enjoys a large speed advantage.  Please not for below:

686:200MHz:Linux:gcc -O2:			 3.4MB/sec
ev5:300MHz:Linux:gcc -O2:			10.0MB/sec
ev5:300MHz:OSF/1:cc -migrate -O4 -tune ev5:	11.4MB/sec

the 200 mhz p6 is as fast as they come.  Alphas are now available in 433
and 500;



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

* Re: Reed-Solomon [was: Re: big memory on PPro or Alpha]
  1997-01-24  5:00       ` Agtabby
@ 1997-01-25  5:00         ` H.W. Stockman
  1997-01-26  5:00           ` Douglas Borsom
  0 siblings, 1 reply; 73+ messages in thread
From: H.W. Stockman @ 1997-01-25  5:00 UTC (permalink / raw)



Subject: Reed-Solomon [was: Re: big memory on PPro or Alpha]
References: <to3ewc6t4u.fsf@avalon.harvard.edu> <32D92EFD.7B60@spam.off>

David Mosberger-Tang said:
>johnl@Radix.Net (John A. Limpert) writes:
>
>> On Thu, 16 Jan 1997 19:37:54 -0800, Jeffrey Potoff
>> <jpotoff@latoso.cheme.cornell.edu> wrote:
>> 
>> >What hype would that be ?  Facts are facts.  Send whatever source 
>> >code you're running that's so much faster on a PPro and I'll 
>> >benchmark it on a 433mhz 21164 Alpha so we can end this nonsense once
>> >and for all.
>> 
>> I benchmarked an Alpha with a Reed-Solomon encoder that I wrote and my
>> 90 MHz Pentium beat it. The Alpha seemed to have alot of trouble with
>> all of the byte sized operations in the encoder software. The Alpha is
>> a neat chip but it stumbled on my application.
>
>John was kind enough to send me his Reed Solomon code.  Sure enough, I
>got the following results on a 200MHz P6 Linux machine and two 300MHz
>ev5 machines (21164 without subword load/store).  One of the ev5
>machines was running Linux, the other OSF/1.  Under Linux, I used gcc
>-O2 for compilation, under OSF/1 I used cc -migrate -O4 -tune ev5:
>
>original code:
>
>686:200MHz:Linux:gcc -O2:			2.8MB/sec
>ev5:300MHz:Linux:gcc -O2:			0.74MB/sec
>ev5:300MHz:OSF/1:cc -migrate -O4 -tune ev5:	0.74MB/sec
>
>The code had some obvious inefficiencies, so I spent half an hour
>getting rid of the worse offender.  The results with that code are
>below:
>
>improved code:
>
>686:200MHz:Linux:gcc -O2:			 3.4MB/sec
>ev5:300MHz:Linux:gcc -O2:			10.0MB/sec
>ev5:300MHz:OSF/1:cc -migrate -O4 -tune ev5:	11.4MB/sec
>
>This is obviously much more reasonable.  Note that the 686 improved as
>well, but only by 21% as compared to a factor of 15.4 for the Alpha.
>I suspect there are two reasons the Alpha did so poorly with the old
>code: (a) some of the arrays are exactly 8KB big (size of primary
>cache), so there might be some thrashing going on and (b) the byte

? I thought only the older alphas (e.g. 21066) had direct-mapped
caches.  Remember the PPro also has 8KB(D) in L1.

We can add:
686:200MHz:DOS:Symantec 6.0 -o:	                 3.64MB/sec
686:200MHz:DOS:Watcom 9.5 /omaxnet /zp4 /5r:     2.85MB/sec

However, I'm wondering how much this benchmark is biased by 
the small size of the arrays, which are read repeatedly to 
generate a sufficiently long test?  Since I don't know what 
the bench does, it is difficult for me to change meaningfully 
the N and K params.  I tried changing them to 2559 and 2537, 
which dropped the MB/sec on the PPro about 30% -- but I also 
got a segment fault after the arrays printed. 

My first impulse was to recode the p[0] = p[1] ^ q[0]... 
stuff into an assembly language function... but using the asm 
function actually slowed the symantec result down by 25%. I 
think the slowdown resulted from: the extra calling, pushing 
and popping overhead (which comprise 29% of the 
instructions); and the decrease in available optimization 
strategies for the calling function.  I was also fairly 
sloppy with instruction pairing. 

(Though how would an MMX Pentium do?  There would be eight 
extra 64-bit regs, and all the traditional regs would be 
available for addressing.) 

The poorer performance of Watcom (relative to Symantec) is 
intriguing.  Watcom has done significantly better on every 
standard benchmark (nsieve, dhrystone, linpack, flops,...) 
I've run in the past; but this is the second time in a week 
I've had Watcom perform ca. 20 to 30% worse on a "real" code. 

-------------------------------------------------------
While this Reed-Solomon example has obvious and simple 
strategies to overcome the alpha's byte-access problems, I'd 
wager I can come up with an example that is much more 
refractory: the "lattice-gas automata" (LGA) translation and 
collision steps.  I can't provide C code, since I've always 
written the inner loops in assembly language; but if there is 
sufficient interest, I can describe the problem in enough 
detail to get people debating the point (to see how LGA are 
used, visit:  http://www.sandia.gov/eesector/gs/gc/movies.htm ). 

We considered moving the LGA code to an SGI R10000 system or 
alpha (from x86), to take advantage of the 64-bit registers, 
but I was scared off by the byte-addressing problem and the 
porting time.  About that time, I decided to go to lattice 
boltzmann methods instead of LGA, and we will eventually get 
to compare those on alpha and PPro. 

Harlan Stockman
a.k.a. "OOG the Caveman"



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

* Re: Reed-Solomon [was: Re: big memory on PPro or Alpha]
  1997-01-25  5:00         ` H.W. Stockman
@ 1997-01-26  5:00           ` Douglas Borsom
  1997-01-26  5:00             ` H.W. Stockman
  0 siblings, 1 reply; 73+ messages in thread
From: Douglas Borsom @ 1997-01-26  5:00 UTC (permalink / raw)



"H.W. Stockman" <hwstock@swcp.com> writes:

>[...]
>While this Reed-Solomon example has obvious and simple 
>strategies to overcome the alpha's byte-access problems, I'd 
>wager I can come up with an example that is much more 
>refractory: the "lattice-gas automata" (LGA) translation and 
>collision steps.  I can't provide C code, since I've always 
>written the inner loops in assembly language; but if there is 
>sufficient interest, I can describe the problem in enough 
>detail to get people debating the point (to see how LGA are 
>used, visit:  http://www.sandia.gov/eesector/gs/gc/movies.htm ). 

>We considered moving the LGA code to an SGI R10000 system or 
>alpha (from x86), to take advantage of the 64-bit registers, 
>but I was scared off by the byte-addressing problem and the 
>porting time.  About that time, I decided to go to lattice 
>boltzmann methods instead of LGA, and we will eventually get 
>to compare those on alpha and PPro. 

Isn't the easy way around these problems to go with an  Alpha that
supports byte/word opperations: the  366/433/500 MHz systems?

Enorex will sell you a 366MHz Alpha system (with monitor, CD-ROM drive,
etc.) for $2999.

Specint95/Specfp95 10.7/10.2.  

Of course if folks insist on comparing Intel's current top-of-the-line
chip with older Alpha technology, they can come up with a win for the
PPro.

	-doug



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

* Re: Reed-Solomon [was: Re: big memory on PPro or Alpha]
  1997-01-26  5:00           ` Douglas Borsom
@ 1997-01-26  5:00             ` H.W. Stockman
  0 siblings, 0 replies; 73+ messages in thread
From: H.W. Stockman @ 1997-01-26  5:00 UTC (permalink / raw)



Douglas Borsom wrote:
 
> >We considered moving the LGA code to an SGI R10000 system or
> >alpha (from x86), to take advantage of the 64-bit registers,
> >but I was scared off by the byte-addressing problem and the
> >porting time.  About that time, I decided to go to lattice
> >boltzmann methods instead of LGA, and we will eventually get
> >to compare those on alpha and PPro.

> Isn't the easy way around these problems to go with an  Alpha that
> supports byte/word opperations: the  366/433/500 MHz systems?

The push to go with a RISC system was made in 1994.  At that time,
my boss wanted to spread the cost for an R8000-based SGI Power
Challenge, with the promise that there would be an upgrade to
R10000 "when available".

The better solution was (in the long run) to go to a completely
different algorithm, based on floating point calculations.  That
is why you have seen me solicit comparisons of similarly FP-
and memory-intensive benchmarks on a variety of systems.

If we had stuck with the original method, we might now have
reason to stay with x86: the MMX instruction set.  The basic
LGA algorithm does ORs, ANDs and ADDs in parallel on N bytes,
where N is the byte size of the registers.  Only 6 registers
are required to hold the basic data.

> Specint95/Specfp95 10.7/10.2. 
> Of course if folks insist on comparing Intel's current top-of-the-line
> chip with older Alpha technology, they can come up with a win for the
> PPro.

I have asked to purchase an alpha, but my boss asks me to
justify the purchase with proof that it really will perform
much better on the specific codes I run.  Not a bad call.
In the next few weeks I'll try to clean up the current test code,
stripping off the graphics and making it less OS dependent.



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

end of thread, other threads:[~1997-01-26  5:00 UTC | newest]

Thread overview: 73+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-08  5:00 big memory on PPro or Alpha Erik Evensen
1997-01-08  5:00 ` Dennis Moran
1997-01-12  5:00   ` henley
1997-01-12  5:00     ` Peter Mardahl
1997-01-13  5:00       ` Burkhard Neidecker-Lutz
1997-01-13  5:00         ` henley
1997-01-14  5:00           ` Douglas H. Borsom
1997-01-17  5:00             ` henley
1997-01-14  5:00           ` Joshua Cope
1997-01-13  5:00       ` henley
1997-01-14  5:00         ` Eli the Bearded
1997-01-15  5:00           ` henley
1997-01-15  5:00             ` Rob Dupcak
1997-01-15  5:00               ` henley
1997-01-15  5:00                 ` Jeffrey Potoff
1997-01-17  5:00                   ` henley
1997-01-17  5:00                     ` Jeffrey Potoff
1997-01-17  5:00                       ` henley
1997-01-18  5:00                         ` Jeffrey Potoff
1997-01-17  5:00                     ` Thomas Womack
1997-01-19  5:00                       ` Tim W. Janes
1997-01-18  5:00                     ` Douglas H. Borsom
1997-01-19  5:00                     ` Burkhard Neidecker-Lutz
1997-01-19  5:00                       ` henley
1997-01-20  5:00                         ` Douglas Borsom
1997-01-20  5:00                           ` henley
1997-01-21  5:00                     ` Glenn C. Everhart
1997-01-16  5:00                 ` Douglas H. Borsom
1997-01-16  5:00                   ` Jeffrey Potoff
1997-01-16  5:00                   ` henley
1997-01-16  5:00                     ` Jeffrey Potoff
1997-01-16  5:00                       ` henley
1997-01-17  5:00                         ` Eli the Bearded
1997-01-18  5:00                       ` John A. Limpert
1997-01-18  5:00                         ` Douglas H. Borsom
1997-01-19  5:00                           ` Shane Hebert
1997-01-18  5:00                         ` [++] Alpha byte access (Was: Re: big memory on PPro or Alpha) Terje Mathisen
1997-01-18  5:00                           ` Toon Moene
1997-01-18  5:00                           ` Rob Barris
1997-01-18  5:00                             ` Bill McGee
1997-01-19  5:00                               ` Terje Mathisen
1997-01-19  5:00                             ` Reed-Solomon on Alphas " Douglas H. Borsom
1997-01-19  5:00                             ` [++] Alpha byte access " Larry Kilgallen
1997-01-20  5:00                               ` Thomas P. Evans
1997-01-21  5:00                             ` Glenn C. Everhart
1997-01-17  5:00                   ` big memory on PPro or Alpha Agtabby
1997-01-16  5:00             ` Graham Allan
1997-01-16  5:00               ` Jeffrey Potoff
1997-01-16  5:00               ` henley
1997-01-13  5:00     ` Torbjorn Lindgren
1997-01-13  5:00     ` Jeffrey Potoff
1997-01-14  5:00       ` Gregg E Economou
1997-01-14  5:00         ` Ross Alexander
1997-01-19  5:00     ` Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha) David Mosberger-Tang
1997-01-19  5:00     ` David Mosberger-Tang
1997-01-20  5:00     ` big memory on PPro or Alpha Donald K.Sinclair
1997-01-20  5:00     ` Reed-Solomon on Alphas (Was: Re: big memory on PPro or Alpha) H.W. Stockman
1997-01-21  5:00     ` [++] Alpha byte access " Ketil Z Malde
1997-01-22  5:00     ` Reed-Solomon [was: Re: big memory on PPro or Alpha] David Mosberger-Tang
1997-01-24  5:00       ` Agtabby
1997-01-25  5:00         ` H.W. Stockman
1997-01-26  5:00           ` Douglas Borsom
1997-01-26  5:00             ` H.W. Stockman
1997-01-09  5:00 ` big memory on PPro or Alpha 
1997-01-14  5:00   ` Opher D. Kahn
1997-01-14  5:00     ` 
1997-01-17  5:00       ` Paul David Fox
1997-01-17  5:00         ` 
1997-01-14  5:00     ` Douglas H. Borsom
1997-01-09  5:00 ` Toshinao Ishii
1997-01-11  5:00 ` Douglas H. Borsom
1997-01-19  5:00 ` David Mosberger-Tang
1997-01-20  5:00 ` henley

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