From: henley <henley@tonys.ekology.umn.edu>
Subject: Re: big memory on PPro or Alpha
Date: 1997/01/19 [thread overview]
Message-ID: <32E25A27.7FE9@tonys.ekology.umn.edu> (raw)
In-Reply-To: 5bsugt$s7i@usenet.pa.dec.com
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".
next prev parent reply other threads:[~1997-01-19 5:00 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` 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 ` Thomas Womack
1997-01-19 5:00 ` Tim W. Janes
1997-01-17 5:00 ` Jeffrey Potoff
1997-01-17 5:00 ` henley
1997-01-18 5:00 ` Jeffrey Potoff
1997-01-18 5:00 ` Douglas H. Borsom
1997-01-19 5:00 ` Burkhard Neidecker-Lutz
1997-01-19 5:00 ` henley [this message]
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 ` Rob Barris
1997-01-18 5:00 ` Bill McGee
1997-01-19 5:00 ` Terje Mathisen
1997-01-19 5:00 ` Larry Kilgallen
1997-01-20 5:00 ` Thomas P. Evans
1997-01-19 5:00 ` Reed-Solomon on Alphas " Douglas H. Borsom
1997-01-21 5:00 ` [++] Alpha byte access " Glenn C. Everhart
1997-01-18 5:00 ` Toon Moene
1997-01-17 5:00 ` big memory on PPro or Alpha Agtabby
1997-01-16 5:00 ` Graham Allan
1997-01-16 5:00 ` henley
1997-01-16 5:00 ` Jeffrey Potoff
1997-01-13 5:00 ` Burkhard Neidecker-Lutz
1997-01-13 5:00 ` henley
1997-01-14 5:00 ` Joshua Cope
1997-01-14 5:00 ` Douglas H. Borsom
1997-01-17 5:00 ` henley
1997-01-13 5:00 ` Jeffrey Potoff
1997-01-14 5:00 ` Gregg E Economou
1997-01-14 5:00 ` Ross Alexander
1997-01-13 5:00 ` Torbjorn Lindgren
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 ` H.W. Stockman
1997-01-20 5:00 ` big memory on PPro or Alpha Donald K.Sinclair
1997-01-21 5:00 ` [++] Alpha byte access (Was: Re: big memory on PPro or Alpha) 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
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox