From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,c041d60c5ac9906 X-Google-Attributes: gid111c93,public From: nikl+cola000105@pchelwig1.mathematik.tu-muenchen.de (Gerhard Niklasch) Subject: Re: Alpha vs Pentium II Date: 1998/06/15 Message-ID: <6m3tjo$20m$1@sparcserver.lrz-muenchen.de>#1/1 X-Deja-AN: 362926449 Sender: nikl@pchelwig1.mathematik.tu-muenchen.de (Gerhard Niklasch) References: <7702308E7DD72BE1.D5C0D24C5E4A105B.0BFAE93A10527F86@library-proxy.airnews.net> <6m386v$b3s$1@salomon.mchp.siemens.de> Reply-To: nikl+cola000106@pchelwig1.mathematik.tu-muenchen.de Distribution: world Organization: Technische Universitaet Muenchen Newsgroups: comp.os.linux.alpha [newsgroups restricted to what I read regularly] In article , Bill Simpson writes: |> I remember reading a posting that backed up Martin. In the real world |> running home-brewed C software (gcc or egcs) under Linux, the Alpha was |> not nearly as fast as the SPEC numbers had previously led him to believe. |> So that Alpha user's conclusion was that really there was NO extra bang |> for the buck with an Alpha system. |> |> Then there were hostile counter postings to the effect that "only an idiot |> would use gcc or egcs! They're way too slow!" Well isn't this a Linux |> newsgroup? (Certainly not `a' Linux newsgroup if you're posting to four of them. :^) |> Don't people running Linux normally use gcc or egcs? |> |> Anyway I am curious about this also. |> |> BTW I am not sure about PPC chips these days. They were always hyped as |> having much better fp than Intel chips. Is Apple the only one making |> machines with these chips now?? I imagine, again, that you don't get |> signif better bang for buck cf Intel. Well, here are a few `real life' figures -- benchmarks for PARI-GP, a computer algebra package (which uses almost exclusively integer operations). From http://pari.home.ml.org/relv/current/MACHINES ; smaller numbers in the `sta:' and `dyn:' columns mean the thing runs in less time: ---8<--- Arch / proc: OS: Configure: sta: dyn: GP version: ============================================================================== DEC/Alpha alpha21164 600MHz OSF1 T4.0 cc X11 dl2 5930 6137 2.0.4k alpha21164 500Mhz Linux 2.0.30 gcc X11 dl2 6534 4062 2.0.8 ------------------------------------------------------------------------------ IBM/POWER,PowerPC *PPC604e 233MHz AIX-4.2 cc X11 - 10786 - 2.0.8 (3) ------------------------------------------------------------------------------ Intel/x86 Pentium Pro 200MHz Linux 2.0.27 gcc X11 dl2 12088 12214 2.0.4k Pentium 266Mhz Linux 2.0.29 gcc X11 dl2 9580 9575 2.0.7 (10) Pentium 200Mhz Nextstep 3.3 cc - - 16035 - 2.0.6 (1) Pentium 166MHz Solaris 2.6 gcc X11 dl2 18208 18342 2.0.8 ------------------------------------------------------------------------------ --->8--- (Skipping quite a few other combinations here.) The Alphas outrun easily everything else tested so far, and there's not much difference between cc under OSF and gcc under Linux. (The line marked (10) is either a Pentium II or a Pentium MMX; whoever ran the benchmark on that didn't tell the maintainers of the list. ;) What's remarkable about the PPC is that it keeps up with the others even although it runs a version of the program entirely written in C -- the other architectures use assembler routines for the most critical code sections. That PPC version was compiled with the native AIX cc by yours truly; the code produced by gcc was a lot slower on the same machine. Enjoy, Gerhard "Shall we call that `room for improvement'." -- * Gerhard Niklasch * spam totally unwelcome * http://hasse.mathematik.tu-muenchen.de/~nikl/ ******* all browsers welcome * This .signature now fits into 3 lines and 77 columns * newsreaders welcome