Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: henley <henley@tonys.ecology.umn.edu>
Subject: Re: Final results of portable benchmark for single, SMP and MPP computers
Date: 1997/04/13	[thread overview]
Message-ID: <33511048.8AE7610C@tonys.ecology.umn.edu> (raw)
In-Reply-To: 5inufv$llo@news-rocq.inria.fr


Achim Gratz wrote:

> Jeffrey Potoff <jpotoff@latoso.cheme.cornell.edu> writes:
>
> >       Is there any chance that you could share some of your speed
> secrets ?
>
> You can have a look at his fast routines for QCD.  It's loop
> unrolling
> and software pipelining as well as clever reordering to reuse data
> as
> much as possible.  The core routines of the QCD benchmark are
> latency
> rather than bandwith limited on many machines, so you can speed it
> up
> tremendously by pipelining and/or prefetching.

This is correct.... I was wondering about how to speed things up even
more.
When I made the routines on the CM5 (in assembly level CDPEAC),
I stored the data in such a way as to optimize for speed on the vector
units.
So  the SU(3) matrices and vectors (the basic "objects" in the QCD code)

were not stored in one place. Do you know what I mean? I "vectorized
over matrix multiplications", if you understand what I am saying. Rob
Harley
increased the speed of the QCD routines quite a lot, but he was still
constrained by the basic structure I imposed when I wrote this first
portable version of the code. I was thinking that perhaps storing the
matrices
and vectors differently as I did on the CM5, it could be possible to
efficiently "strip-mine" the data a la CM5. It may be that there are
not enough registers to do this though. I used to use all 128 registers
on
the CM5 in my CDPEAC routines!! There certainly are not enough
"registers"
on Intel based computers. Does anyone know if the Intel fpu will ever
progress beyond the Mickey Mouse 7-level stack disaster?

These changes are not related to what I have been working on recently,
BTW. My recent thrust has been to reduce the need to call the data
shifting routines nearly as often.

Oh, one other thing. The routines in this code can be made very
efficient
through the use of combined mult-add instructions. Unfortunately, I
understand that the Alpha does not have such a thing... which is a pity.

Is this true?
A combined load-mult-add instruction would be perfect, of course.

cheers

Henley




  parent reply	other threads:[~1997-04-13  4:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-12  4:00 Final results of portable benchmark for single, SMP and MPP computers Robert Harley
1997-04-12  4:00 ` Jeffrey Potoff
1997-04-13  4:00 ` Achim Gratz
1997-04-13  4:00 ` henley [this message]
1997-04-14  4:00 ` Jeffrey Potoff
1997-04-15  4:00 ` Achim Gratz
  -- strict thread matches above, loose matches on Subject: below --
1997-04-15  4:00 Robert Harley
1997-04-12  4:00 Robert Harley
1997-04-11  4:00 Robert Harley
1997-04-12  4:00 ` Achim Gratz
1997-04-12  4:00 ` henley
1997-03-28  5:00 henley
1997-03-28  5:00 ` henley
1997-03-31  5:00   ` Ling Wang
1997-03-31  5:00     ` henley
1997-04-10  4:00 ` Achim Gratz
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