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: memore0@yahoo.com Subject: Re: fast array calculation in C Date: 1999/10/11 Message-ID: <3802454b.1730032204@news.onramp.net>#1/1 X-Deja-AN: 535521567 References: <3801A6BC.21E8653E@ife.ee.ethz.ch> <7tt2o3$15m0@news1.newsguy.com> X-Complaints-To: abuse@verio.net X-Trace: dfw-read.news.verio.net 939673236 209.39.54.2 (Mon, 11 Oct 1999 20:20:36 GMT) Organization: Verio NNTP-Posting-Date: Mon, 11 Oct 1999 20:20:36 GMT Newsgroups: comp.os.linux.alpha On 11 Oct 1999 16:20:19 GMT, lindahl@pbm.com (Greg Lindahl) wrote: >Alex Rhomberg writes: > >> 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. Just to stick my nose in here... Remember this is hand optimized assembler. Getting a 5-10x performance boost over c by handiwork is not that rare. We do it frequently in the embedded world. First write your stuff in C, debug it for functionality, then optimize as needed. Sometimes a light touch on a few lines of code are all you need to get a BIG boost, even in the real-time data moving world(integer mostly). As far as the net perf of the proc, I haven't the faintest how 345MF rates since I run a lowly 233MHz axppci ;-) > 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. It does read like he knows what he's doing...