From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bf98da65c7d90c8a X-Google-Attributes: gid1164f8,public X-Google-Thread: 114b0c,bf98da65c7d90c8a X-Google-Attributes: gid114b0c,public X-Google-Thread: f57db,8a5deba25babf30b X-Google-Attributes: gidf57db,public X-Google-Thread: fee84,bf98da65c7d90c8a X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-06-24 04:11:22 PST Xref: gmd.de comp.sys.dec:8407 comp.unix.osf.osf1:522 comp.sys.hp:19820 comp.benchmarks:2257 Newsgroups: comp.sys.dec,comp.unix.osf.osf1,comp.sys.hp,comp.benchmarks Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!pipex!warwick!news.dcs.warwick.ac.uk!rince From: rince@dcs.warwick.ac.uk (James Bonfield) Subject: Re: Summary: Alpha Performance Message-ID: <1993Jun24.105615.4493@dcs.warwick.ac.uk> Sender: news@dcs.warwick.ac.uk (Network News) Nntp-Posting-Host: stone Organization: Department of Computer Science, Warwick University, England References: <1993Jun21.143622.9897@cu23.crl.aecl.ca> <1993Jun22.144348.26782@ryn.mro4.dec.com> <1993Jun22.161533.8595@cu23.crl.aecl.ca> <1993Jun22.190228.14734@cu23.crl.aecl.ca> Date: Thu, 24 Jun 1993 10:56:15 GMT In oz@ursa.sis.yorku.ca (Ozan S. Yigit) writes: > # sim 8 tob.38-44 liv.42-48 > dec3000/500 443.6 real 431.9 user 1.1 sys (c89 -O3 -Dlong=int) > dec3000/400 525.7 real 517.4 user 0.4 sys (cc -O2) > hp720 573.8 real 571.3 user 0.1 sys > RS6000-M550 954.8 real 474.8 user 0.0 sys > ibm3090 1896.8 real 811.6 user 6.4 sys (wrong answer) > ibm6000 2940.6 real 837.6 user 0.0 sys > ss2 1337.2 real 1334.7 user 0.6 sys (cc -O4) > ss2 2448.0 real 1347.0 user 0.6 sys (SC1.0 -fast -O4) > ss2 2552.6 real 1406.1 user 1.3 sys (SC1.0 -fast -O2) > ss2 1431.4 real 1417.4 user 1.1 sys (cc -O2) > next 1863.3 real 1842.2 user 7.5 sys > SGI 1975.1 real 1972.4 user 0.3 sys > ss1+ 2246.3 real 2234.7 user 1.4 sys > fx/80 10226.1 real 7584.0 user 0.5 sys > sun3/50 12661.5 real 11283.9 user 82.5 sys (gcc -O) > ps2/70 -- -- -- I've added a test I performed on an Alpha 3000/500. Note that firstly I used the c89 compiler (I think this gives slightly better results). The cc compiler can handle -O3 if you statically link (-non_shared). This is documented in the release notes. Also, I defined long to be integer. Ok this is somewhat dubious in many cases, but in this particular case happens to be ok (no apparent clashes with system calls requiring type long). The thinking behind this is that the cache is only a specific size and you can fit twice as many integers in there as you can longs. And secondly that most of the other machines we're comparing against have sizeof(int) == sizeof(long). (I know nothing about the HP machines though and this is where the test is important.) Do people feel this is a 'fair' thing to do in a test? (Of course, vendors don't play 'fair' in such things :-). We had a similar piece of DNA alignment code I used to test our Alpha with when we first obtained one. Curiously the SGI R4000 based machines outstripped it quite substantially. DEC however took the code and did a bit of quick analysis and returned it with a few changes yielding a significant (upto double) speed increase on the Alpha, yet with only a marginal increase on the SGI machine. Their particular consisting of moving frequently accessed global variables to local variables to aid the compiler in register allocation and secondly reordering 4 arrays into a single array of structure (and thus greatly increasing the efficiency of the cache). It seems from this that obviously certain programs will perform very well and others will perform badly. My personal conclusion was that the existing alpha compilers cannot handle the badly structured programs as well as many other compilers. I've tried gcc on the Alpha too - but it (the alpha assembler actually) complains about the large local array declared in main. I guess the native alpha compilers do some cheats to resolve this issue. James