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: 110292,6d2f6f79a5d77470 X-Google-Attributes: gid110292,public X-Google-Thread: f57db,6d2f6f79a5d77470 X-Google-Attributes: gidf57db,public From: Jeffrey Potoff Subject: Re: Final results of portable benchmark for single, SMP and MPP computers Date: 1997/04/14 Message-ID: <33524983.41C6@latoso.cheme.cornell.edu>#1/1 X-Deja-AN: 234738148 Sender: jjp7@cornell.edu (Verified) References: <5inufv$llo@news-rocq.inria.fr> Organization: Cornell University Newsgroups: comp.benchmarks,comp.sys.dec,comp.sys.intel 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. > I was under the impression that the compilers were doing this for you when you ran the -O5 flag in f90 (loop unrolling and software pipelining). Maybe I'm being rather naive about this, but unless you've written terrible code, is there much to be gained by manually unrolling all the loops instead of letting the compiler do it for you ? Jeff