From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa751,37327a7181268284 X-Google-Attributes: gidfa751,public X-Google-Thread: 1164f8,37327a7181268284 X-Google-Attributes: gid1164f8,public X-Google-Thread: 114b0c,37327a7181268284 X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-05-19 18:06:39 PST Xref: gmd.de comp.sys.hp:17976 comp.sys.dec:7761 comp.sys.sgi.hardware:1324 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!uunet!tis.com!mjr From: mjr@tis.com (Marcus J Ranum) Newsgroups: comp.sys.hp,comp.sys.dec,comp.sys.sgi.hardware Subject: Re: 100MHz Indigo just as fast as HP/ALPHA? Date: 20 May 1993 00:35:08 GMT Organization: Trusted Information Systems, Inc. Message-ID: <1tejns$2uf@sol.TIS.COM> References: <1993May19.150121.25715@cu23.crl.aecl.ca> <1993May19.203842.3272@donau.et.tudelft.nl> NNTP-Posting-Host: sol.tis.com >Indigo R3000 (!): 12.5 seconds >Alpha: 10.9 seconds >HP735: 5.9 seconds SGI is real sharp about keeping up with the latest and best compiler/optimizer tricks. They've also just generally done a pretty good job with optimizing various oft-called library routines(*). Back when I was at DEC I did a benchmark between an Indigo and a DECSystem5000/240. Based on the clock rates of the systems, one would expect the DECSystem to have been a mite under twice as fast as the Indigo. The Indigo came in 6 times faster. Turns out the version of malloc() that ships with ULTRIX is real slow. Once malloc() was replaced, the SGI and the DEC machines ran about par, with the DEC machine a hair faster. Since both the DEC machine and the SGI had the MIPS compiler suite, I ran the application under pixie and looked at the profiling results. The DECSystem executed 1.7 times as many instructions as the SGI to do the same work. Even stuff like fprintf(), the SGI spent less instructions in. Often dramatically less. The compiler guys DEC has working on Alpha compilers are some really hot hackers. Remember that the Alpha compilers are a lot newer than the MIPS compiler suite - once they get ironed out, look for some major performance improvements. Moral: Work smarter not harder. Track compiler technologies. Profile and optimize libc and stdio. mjr. (* I have not seen source. I *assume* they have done this based on how fast even basic stdio stuff performs)