From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6d2f6f79a5d77470 X-Google-Attributes: gid1164f8,public X-Google-Thread: f57db,6d2f6f79a5d77470 X-Google-Attributes: gidf57db,public X-Google-Thread: 110292,6d2f6f79a5d77470 X-Google-Attributes: gid110292,public From: henley Subject: Re: Final results of portable benchmark for single, SMP and MPP computers Date: 1997/04/13 Message-ID: <33511048.8AE7610C@tonys.ecology.umn.edu>#1/1 X-Deja-AN: 234545632 References: <5inufv$llo@news-rocq.inria.fr> X-Priority: 3 (Normal) Organization: University of Minnesota Newsgroups: comp.benchmarks,comp.sys.dec,comp.sys.intel,comp.benchmarks Achim Gratz wrote: > Jeffrey Potoff 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