From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,80f21c0575c616e8 X-Google-Attributes: gid111c93,public From: Alex Rhomberg Subject: Re: fast array calculation in C Date: 1999/10/12 Message-ID: <3802E3C2.C678259A@ife.ee.ethz.ch>#1/1 X-Deja-AN: 535719014 Content-Transfer-Encoding: 7bit References: <3801A6BC.21E8653E@ife.ee.ethz.ch> <7tt2o3$15m0@news1.newsguy.com> Content-Type: text/plain; charset=us-ascii X-Trace: 12 Oct 1999 09:31:14 +0100, beethoven.ee.ethz.ch Organization: Electronics Lab, ETH Zurich, Switzerland MIME-Version: 1.0 Newsgroups: comp.os.linux.alpha Greg Lindahl wrote: > > > The stuff we are talking about are stores and loads. Does the 21264 > > analyze those to see that they don't access the same location so they > > can be reordered? > > No. I think the Merced is the first processor to do that. And I thought, Merced won't do anything out of order, the compiler will have to prepare everything (I see now how good that is done :-) I suspect that he will only have a shortcut (from pending write directly to newly issued read) > > I was interested to improve my times of 20us per Finite Element. I'm now > > running at 2.8us per FE with 345 MFLOPS, which is more than a third of > > peak. That's OK for me. There is not much room for improvement (except > > increasing clock frequency) > > That's actually really good on an EV56. Most people did not get above > 250 MFLOPS for C or Fortran. I have generally seen a 2x improvement > with an EV6 at the same clock, but I suspect you will get worse than > that since your code is already pretty good. I should get almost linear improvements with clock frequency. And then there will be other stuff to worry about, when I connect 24 EV67 @ 667 MHz. Pieces of code that I cannot optimize so easily and will therefore be glad if they get reordered. Besides I'm almost at my target. Three years ago, I gazed into my crystal ball and said "those Finite Elements will take 2.5 us each", which was rather limitless optimism. With slower calculations our project would not have been doable. I'm almost there, and with the faster processor I expect to probably be even better (and then lose a lot of time doing communication and collision detection...) - Alex