Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "W Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Compaq C Compiler (nbench)
Date: Wed, 13 Mar 2002 15:08:34 -0600	[thread overview]
Message-ID: <3C8FBFD2.232179E7@paralleldata.com> (raw)
In-Reply-To: 02031308365200.32519@shadowfax.middleearth

George France wrote:
> 
> Hello Wes,
> 
> I was not attempting to benchmark Alpha(s).   I ran Nbench on an Alpha system
> that was built in 1997.  At that time you where asking about compiler
> performance.  (ccc vs. gcc)
> 
> 1) There are much better benchmarks for system performance.  Please lookup
> the SPEC2000 results.
> 

See other post. The point is to be careful with benchmarks, even on the same
machine with different compilers. It may not represent anything useful for
the true application you're interested in, X in this case. If you do a
similar test with X code, that will be enlightening. You may be correct
that ccc helps 20% as you've seen in your real codes. Even this benchmark
doesn't track your own described experience from what you mentioned previously.

> 2) You are comparing a NEW Athlon 1.4 Ghz against an OLD  Alpha
> system.  For a real comparison, you should use a NEW Alpha system.
> 

Not interested in spending that kind of $$$$$. P4's give too much 
bang for the buck at the moment for what I do.

As to the progress building X with ccc. Consider building it with gcc
first, including "-pg" and see if you can pinpoint where the resource
problems are. Then go back and build those routines with ccc. It can
easily turn out that only a few routines are a real problem.


Wes

> --George
> 
> On Wednesday 13 March 2002 00:18, W Bauske wrote:
> > Just for grins, I ran nbench on my desktop Athlon 1.4Ghz machine (non-XP).
> >
> >
> > TEST                : Iterations/sec.  : Old Index   : New Index
> >
> >                     :                  : Pentium 90* : AMD K6/233*
> >
> > --------------------:------------------:-------------:------------
> > NUMERIC SORT        :          679.08  :      17.42  :       5.72
> > STRING SORT         :            91.2  :      40.75  :       6.31
> > BITFIELD            :      2.1206e+08  :      36.38  :       7.60
> > FP EMULATION        :          63.495  :      30.47  :       7.03
> > FOURIER             :           12933  :      14.71  :       8.26
> > ASSIGNMENT          :          7.7659  :      29.55  :       7.66
> > IDEA                :          1922.6  :      29.41  :       8.73
> > HUFFMAN             :             714  :      19.80  :       6.32
> > NEURAL NET          :          17.211  :      27.65  :      11.63
> > LU DECOMPOSITION    :          688.88  :      35.69  :      25.77
> > ==========================ORIGINAL BYTEMARK
> > RESULTS========================== INTEGER INDEX       : 28.012
> > FLOATING-POINT INDEX: 24.391
> > Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
> > ==============================LINUX DATA
> > BELOW=============================== C compiler          : gcc version 2.96
> > 20000731 (Red Hat Linux 7.1 2.96-85) libc                : unknown version
> > MEMORY INDEX        : 7.162
> > INTEGER INDEX       : 6.864
> > FLOATING-POINT INDEX: 13.528
> > Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3,
> > libc-5.4.38 * Trademarks are property of their respective holder.
> >
> > Note Alphas are feeble compared to it, even with the ccc compiler.
> > To be precise, it's 3.6x, 2.73x, and 2x the machine you tested on if
> > you believe this benchmark is a good measure of your machine's performance.
> >
> > On my codes, the Athlon can't actually exceed the performance of an XP1000
> > on any important codes. It can on some things but they represent less than
> > 1% of my compute load.
> >
> > This benchmark is a very bad indicator of performance for anything I do
> > with Alphas.
> >
> > Given it has a clock advantage of 2.8x the XP1000, I think the XP1000
> > can hold it's own. But then again, that Athlon cost less than $500 to
> > build.
> >
> >
> > Wes
> >
> > > ccc -fast -noifo -lm -DLINUX emfloat.c misc.c nbench0.c nbench1.c
> > > sysspec.c emfloat.c:
> > > misc.c:
> > > nbench0.c:
> > > nbench1.c:
> > > sysspec.c:
> > > ../a.out | tee -a stdout.log
> > >
> > > BYTEmark* Native Mode Benchmark ver. 2 (10/95)
> > > Index-split by Andrew D. Balsa (11/97)
> > > Linux/Unix* port by Uwe F. Mayer (12/96,11/97)
> > >
> > > TEST                 : Iterations/sec.  : Old Index   : New Index
> > >
> > >                      :                  : Pentium 90* : AMD K6/233*
> > >
> > >  --------------------:------------------:-------------:------------
> > >  NUMERIC SORT        : 283.94           : 7.28        : 2.39
> > >  STRING SORT         : 23.912           : 10.68       : 1.65
> > >  BITFIELD            : 5.5362e+07       : 9.50        : 1.98
> > >  FP EMULATION        : 21.819           : 10.47       : 2.42
> > >  FOURIER             : 12810            : 14.57       : 8.18
> > >  ASSIGNMENT          : 2.4346           : 9.26        : 2.40
> > >  IDEA                : 479.47           : 7.33        : 2.18
> > >  HUFFMAN             : 355.02           : 9.84        : 3.14
> > >  NEURAL NET          : 7.5143           : 12.07       : 5.08
> > >  LU DECOMPOSITION    : 182.77           : 9.47        : 6.84
> > >  ==========================ORIGINAL BYTEMARK
> > >  RESULTS========================== INTEGER INDEX : 9.102
> > >  FLOATING-POINT INDEX: 11.852
> > >  Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
> > >  ==============================LINUX DATA
> > >  BELOW=============================== C compiler : ccc-6.2.9.505-1
> > >  Red Hat Linux release 7.0 (Guinness) libc : glibc-2.1.95-2
> > >  MEMORY INDEX        : 1.990
> > >  INTEGER INDEX       : 2.508
> > >  FLOATING-POINT INDEX: 6.574
> > >  Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3,
> > >  libc-5.4.38 * Trademarks are property of their respective holder.
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




      parent reply	other threads:[~2002-03-13 21:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13  5:18 Compaq C Compiler (nbench) W Bauske
2002-03-13 13:25 ` Peter Petrakis
2002-03-13 20:56   ` W Bauske
2002-03-13 21:30     ` Peter Petrakis
2002-03-13 13:36 ` George France
2002-03-13 19:47   ` Damien J. Dye
2002-03-13 21:19     ` W Bauske
2002-03-13 21:08   ` W Bauske [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox