Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: 500 MHz 21164 vs P166 ?!
@ 1997-06-06 17:51 Eric Smith
  0 siblings, 0 replies; 19+ messages in thread
From: Eric Smith @ 1997-06-06 17:51 UTC (permalink / raw)


Ben Scott <bscott@leonardo.sr.unh.edu> wrote:
>   People point to things like BogoMIPS and SPECint as benchmarks; I really
> don't put much stock in such things.  The differences across hardware
> platforms and OSes are too great to make anything like SPECint be a valid
> benchmark.  It is comparing apples and oranges. 

Although all benchmarks are lies, SPEC benchmarks are actually amoung the
most useful of them, *if* they are quoted and interpreted correctly.

The SPEC benchmarks are benchmarks of a *system*.  By themselves,
microprocessors do *not* have SPECmarks, although manufacturers sometimes
like to publish "predicted SPECmarks".  But what happens is that the
press and some of the less scrupulous resellers will notice that some
super-expensive system using a given processor and clock rate achieves
72 SPECints, and they will advertise that their cheap system which has the
same processor but nowhere near the same cache size or memory bandwidth
has the same SPECint rating.

When a manufacturer publishes the SPEC ratings of a system, unless you are
going to buy that exact system, you should consider the rating to be an
upper bound on what a similarly configured system might possibly acchieve.

See the official SPEC page:
	http://www.specbench.org/

Cheers,
Eric

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <339a3c91.259410838@monarch.bess.net>]
* Re: 500 MHz 21164 vs P166 ?!
@ 1997-06-02 22:26 Michael J. Donahue
  0 siblings, 0 replies; 19+ messages in thread
From: Michael J. Donahue @ 1997-06-02 22:26 UTC (permalink / raw)


On Mon, 2 Jun 1997, Lee Burnside wrote:

>On Mon, 2 Jun 1997, Alex Krowitz wrote:
>
>> 
>> Has there been any resolution to this issue? I'm thinking of buying a
>> 500 MHz 21164 to run neural network simulations, and I need something
>> faster than what Pentiums can give me now.
>> 
>
>Haven't been impressed with the 500MHz under DEC UNIX so far, bnut our old
>EB164 333MHz beats a P-6 200MHz about 2-1 in floating point (after
>optimization, of course).

Just another data point: I run micromagnetic simulations that are
heavily dominated by FFT's.  On a standard sized problem, the
21164/333-Linux box is 2x faster than our PentiumPro/200-Linux, with a
3-1 ratio in the FFT section.  (---after upgrading the Alpha box to
RedHat 4.1 from 3.0.3.  In particular, the square-root code in the old
libc can be a real performance killer.)

You need to take some care with the code, though.  See, for example,

     http://www.linuxexpo.org/1997/after/papers/davidm/paper-html/

I don't pretend to be an expert on this, but I would guess that if
your data access pattern is such (or can be made such) that cache miss
rates are low, then the 21164/500 would be a big win for you.  OTOH,
if every other datum is coming from a random location, then the poor
Alpha will just be stuck in idle.  Perhaps someone more knowledgeable
can comment?

-mike

-- 
Michael J. Donahue
National Institute of Standards and Technology
Mathematical & Computational Sciences Division
Bldg 820, Rm 365
Gaithersburg, MD 20899
email: michael.donahue@nist.gov
voice: (301) 975-5424
  fax: (301) 990-4127
  web: http://math.nist.gov/mcsd/Staff/MDonahue/

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: 500 MHz 21164 vs P166 ?!
@ 1997-05-22  8:44 Martin Ostermann
  0 siblings, 0 replies; 19+ messages in thread
From: Martin Ostermann @ 1997-05-22  8:44 UTC (permalink / raw)


Heikki Virkkunen <tesno@ellu.vaala.fi> writes:
> wondering, which gcc flags make alphas slower. I have a Multia 21066A
> 233MHz, and i've really noticed that axp-stuff runs much less fast than
> same code compiled w/ intel/linux. So, which flags can one remove and/or
> which ones to add?

Usually just use '-O2'. You may try to use '-O3' (same as '-O2
-finline-functions' and/or add '-funroll-loops'. It depends on your
program wheater things get better or worse with this.

However, I wouldn't expect a 21066A to get much faster than a 100/133 MHz
Pentium on most applications anyhow. Its memory bandwhith is too low.

Martin

-- 
Martin Ostermann                | mailto:ost@comnets.rwth-aachen.de
Communication Networks          | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phoneto:++49/241/807917
Germany                         | faxto:++49/241/8888242

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <43bu66e1wx.fsf@comnets.rwth-aachen.de>]
[parent not found: <XFMail.970520095955.kanthak@Gazelle.Informatik.RWTH-Aachen.DE>]
* Re: 500 MHz 21164 vs P166 ?!
@ 1997-05-20 12:57 Martin Ostermann
  0 siblings, 0 replies; 19+ messages in thread
From: Martin Ostermann @ 1997-05-20 12:57 UTC (permalink / raw)


Stephan Kanthak <kanthak@gazelle.informatik.rwth-aachen.de> writes:
> >Try '-funroll-loops'. This often helps, and it isn't turned on by any
> >-O<x> level. Also avoid unnecessary float/integer conversions.
> I remember Linus saying that '-funroll-all-loops' makes Alphas much slower
> because small loops do no longer fit into L1/L2 cache. Is this true for
> '-funroll-loops', too, or does GCC unroll loops then with respect to L1/L2
> cache size?

'don't know about the cache issue, but citing the gcc info pages:

`-funroll-loops'
     Perform the optimization of loop unrolling.  This is only done for
     loops whose number of iterations can be determined at compile time
     or run time.  `-funroll-loop' implies both `-fstrength-reduce' and
     `-frerun-cse-after-loop'.

`-funroll-all-loops'
     Perform the optimization of loop unrolling.  This is done for all
     loops and usually makes programs run more slowly.
     `-funroll-all-loops' implies `-fstrength-reduce' as well as
     `-frerun-cse-after-loop'.

I indeed never got an performance increase with
'-funroll-all-loops'. However, I measured an about 10% performace 
increase (21064/Jensen) by using '-funroll-loops' on povray. 

And that's just one example. Depending how tight the inner loops are,
it can be much better. But it might be a good idea to use profiling
and only to apply this option on certain files. 

Martin

-- 
Martin Ostermann                | mailto:ost@comnets.rwth-aachen.de
Communication Networks          | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phoneto:++49/241/807917
Germany                         | faxto:++49/241/8888242

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <43k9kueh9f.fsf@comnets.rwth-aachen.de>]
* Re: 500 MHz 21164 vs P166 ?!
@ 1997-05-20  7:26 Martin Ostermann
  0 siblings, 0 replies; 19+ messages in thread
From: Martin Ostermann @ 1997-05-20  7:26 UTC (permalink / raw)


Ciro Cattuto <ciro@stud.pg.infn.it> writes:
> I ran some numerical code on a 500 MHz 21164 Alpha system (Microway Screamer,
> 2 MB cache) and on a P166. Both systems are running Linux and the code
> was compiled using GCC. Most surprisingly, the P166 seems to be twice
> as fast than the Alpha workstation!! How can this possibly happen?
> Should I use some special optimizazion when compiling Alpha code
> with GCC? What else should I check?

Try '-funroll-loops'. This often helps, and it isn't turned on by any
-O<x> level. Also avoid unnecessary float/integer conversions.

Martin

-- 
Martin Ostermann                | mailto:ost@comnets.rwth-aachen.de
Communication Networks          | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phoneto:++49/241/807917
Germany                         | faxto:++49/241/8888242

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <Pine.SGI.3.95.970517002216.15379E-100000@leonardo.sr.unh.edu>]
[parent not found: <Pine.LNX.3.96.970516171235.4358A-100000@stud.pg.infn.it>]
* Re: 500 MHz 21164 vs P166 ?!
@ 1997-05-16 16:23 Jim Nance
  0 siblings, 0 replies; 19+ messages in thread
From: Jim Nance @ 1997-05-16 16:23 UTC (permalink / raw)


If you can, please email me your code and instructions on how to run it.
I would like to run it on my Alphastation 500/500.

Jim

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
* 500 MHz 21164 vs P166 ?!
@ 1997-05-16 15:16 Ciro Cattuto
  0 siblings, 0 replies; 19+ messages in thread
From: Ciro Cattuto @ 1997-05-16 15:16 UTC (permalink / raw)


Hello,

I ran some numerical code on a 500 MHz 21164 Alpha system (Microway Screamer,
2 MB cache) and on a P166. Both systems are running Linux and the code
was compiled using GCC. Most surprisingly, the P166 seems to be twice
as fast than the Alpha workstation!! How can this possibly happen?
Should I use some special optimizazion when compiling Alpha code
with GCC? What else should I check?

Thank you in advance,

Ciro Cattuto

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~1997-06-06 17:51 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.SGI.3.95.970606104557.983C-100000@leonardo.sr.unh.edu>
1997-06-06 15:19 ` 500 MHz 21164 vs P166 ?! Bradford Smith
1997-06-06 17:51 Eric Smith
     [not found] <339a3c91.259410838@monarch.bess.net>
1997-06-02 23:34 ` Woodstock
  -- strict thread matches above, loose matches on Subject: below --
1997-06-02 22:26 Michael J. Donahue
1997-05-22  8:44 Martin Ostermann
     [not found] <43bu66e1wx.fsf@comnets.rwth-aachen.de>
1997-05-21 18:46 ` Heikki Virkkunen
     [not found] <XFMail.970520095955.kanthak@Gazelle.Informatik.RWTH-Aachen.DE>
1997-05-20 17:15 ` Volker Barthelmann
1997-05-20 12:57 Martin Ostermann
     [not found] <43k9kueh9f.fsf@comnets.rwth-aachen.de>
1997-05-20  7:55 ` Stephan Kanthak
1997-05-20  7:26 Martin Ostermann
     [not found] <Pine.SGI.3.95.970517002216.15379E-100000@leonardo.sr.unh.edu>
1997-05-17 18:29 ` Ken Haste Andersen
     [not found] <Pine.LNX.3.96.970516171235.4358A-100000@stud.pg.infn.it>
1997-05-16 17:31 ` Zach
1997-05-17  4:25 ` Ben Scott
1997-06-02 21:27 ` Alex Krowitz
1997-06-02 21:37   ` Timm Gleason
1997-06-02 21:39   ` Lee Burnside
1997-06-06 14:56   ` Ben Scott
1997-05-16 16:23 Jim Nance
1997-05-16 15:16 Ciro Cattuto

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