From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a7e49fe893323f63 X-Google-Attributes: gid111c93,public From: lpa@netcom9.netcom.com (Pierre Asselin) Subject: Re: Linux vs. native Unix on Alpha EV6 Date: 1999/06/15 Message-ID: <7k5n1j$6n1@dfw-ixnews10.ix.netcom.com>#1/1 X-Deja-AN: 489857592 References: <375ED8D1.FE05B84@lanl.gov> <3765669A.D22B06EF@jlab.org> Organization: Netcom X-NETCOM-Date: Tue Jun 15 9:13:07 AM CDT 1999 Newsgroups: comp.os.linux.alpha NNTP-Posting-User: lpa Jie Chen writes: > We did some benchmark using egcs on linux and cc on Digital Unix. We found >out egcs + linux performs as well as cc + digital unix. >But one momory bandwidth test using cc and digitail Unix outperforms egcs + >linux by a lot. (900 MByte/s for cc+digital unix, and >580 Mbyte/Sec for egcs + linux 2.2.5). All other benchmarks like LINPACK >produces very similiar results. Interesting. As I said before, I saw a 60% speedup going from egcs to (then) DEC C. What's peculiar is that the bottleneck moved! With the DEC-compiled binary, the time-critical code was a banded matrix factorization routine. With egcs, that routine was no longer the bottleneck. The rest of the code is pretty convoluted, with lots and lots of pointers. We could have have done a better job with it, but that's easy to say now. The code was in fact developed on DEC, and our profiling data said not to bother with it... Conclusion: the Compaq compilers are good at optimizing twisted code. *Maybe* the advantage over egcs is not so great on straightforward number-crunching loops. Anyway, that's my (anecdotal) two bits. -- --Pierre Asselin, Westminster, Colorado lpa@netcom.com