Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Redhat/Alpha computational performance????
@ 1998-02-24  5:00 Matt Kennel
  1998-02-24  5:00 ` Toon Moene
                   ` (2 more replies)
  0 siblings, 3 replies; 51+ messages in thread
From: Matt Kennel @ 1998-02-24  5:00 UTC (permalink / raw)




With a few computational programs I am only seeing about 0-30% improvement
over a Pentium II 300 MHz on our new 533Mhz 164LX Alpha machine.

I am using egcs 1.0.1 on the Alpha, with -O2 -ffast-math.

Is there anything obvious that I should know?  The ratio of SPECfp of
these two machines should be factor of 2.5.  I know the compilers are
different, but it is hard to imagine that making such a difference.

-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



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

* Re: Redhat/Alpha computational performance????
  1998-02-24  5:00 Matt Kennel
  1998-02-24  5:00 ` Toon Moene
@ 1998-02-24  5:00 ` Greg Lindahl
       [not found] ` <6cved5$4rh$1@mrnews.mro.dec.com>
  2 siblings, 0 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-02-24  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) writes:

> With a few computational programs I am only seeing about 0-30% improvement
> over a Pentium II 300 MHz on our new 533Mhz 164LX Alpha machine.

I'm seeing 100% improvement. If spec ever got around to approving my
compilation of the old GNU Make they insist I use, I would publish
SPEC95fp numbers which would back up my observations. But your code
may not be like the SPEC95fp benchmarks.

What does your code do? Does it reveal a particular weakness in egcs,
or the libraries?

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-02-24  5:00 Matt Kennel
@ 1998-02-24  5:00 ` Toon Moene
  1998-02-24  5:00 ` Greg Lindahl
       [not found] ` <6cved5$4rh$1@mrnews.mro.dec.com>
  2 siblings, 0 replies; 51+ messages in thread
From: Toon Moene @ 1998-02-24  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) wrote:

> With a few computational programs I am only seeing about 0-30% improvement
> over a Pentium II 300 MHz on our new 533Mhz 164LX Alpha machine.

> I am using egcs 1.0.1 on the Alpha, with -O2 -ffast-math.

> Is there anything obvious that I should know?  The ratio of SPECfp of
> these two machines should be factor of 2.5.  I know the compilers are
> different, but it is hard to imagine that making such a difference.

To make Greg's question somewhat more precise:  Is there a single routine 
that takes most of the time ?  If there is, and it's not larger than a few 
hundred lines, I'm willing to look at it - perhaps I can spot the difficulty 
(for the egcs compiler, that is ...)

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



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

* Re: Redhat/Alpha computational performance????
       [not found] ` <6cved5$4rh$1@mrnews.mro.dec.com>
@ 1998-02-25  5:00   ` Matt Kennel
  1998-02-25  5:00     ` Matt Kennel
                       ` (3 more replies)
  0 siblings, 4 replies; 51+ messages in thread
From: Matt Kennel @ 1998-02-25  5:00 UTC (permalink / raw)



On 24 Feb 1998 21:34:29 GMT, Michael Champigny wrote:
:Matt Kennel (mbkennel@yahoo.com) wrote:
:
:: I am using egcs 1.0.1 on the Alpha, with -O2 -ffast-math.
:
:Try adding -fomit-frame-pointer too. You'll have another register to
:work with. You can *try* -O3 to unroll loops, but at least gcc-2.7 is
:too aggressive with this and results in slower code. Maybe gcc-2.8 and
:egcs fare better.

No real difference, either gcc 2.7 or egcs 1.0.1.  

What is a decent SPECfp for a PC164LX with a 533 Mhz 21164A?

According to spec.org, a Pentium II 300 gets about 8.5 with the Intel
compilers.  Various Alphas (though not 164LX) seem to be 20-24...

I, with GNU cc (and egcs) on both machines, am getting nearly equal
performance between a PII 300, and this same Alpha.  Over a fair range of
my own programs.

I can buy that the DEC Unix compilers are better than egcs, but not that much!
In any case, the SPEC marks submitted by Intel are also with highly optimizing
compilers, so I figured at least the relative ratio ought to be roughly 
constant.

However, losing a relative factor of 2.5 (and hence all the justification
for buying an Alpha) seems virtually impossible absent some major hardware
fault, but I really don't know for sure.

Does anybody at DEC actually run Linux/Alpha, and have they tried
computational tests?  

I apologize for saying it here, but I have to admit that in my brief
experience on an R10000 last summer that its actual performance vs a
PentiumPro on my codes was slightly underpredicted by the SPECmarks.

:.______________________________________________________________________.
:|     Michael Champigny - (978) 568-4176   |   |   |   |   |   |   |   |
:|         Software Senior Engineer         | d | i | g | i | t | a | l |
:|______Alpha_CAD_Physical_Verification_____|___|___|___|___|___|___|___|

-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



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

* Re: Redhat/Alpha computational performance????
  1998-02-25  5:00   ` Matt Kennel
@ 1998-02-25  5:00     ` Matt Kennel
  1998-02-25  5:00       ` David.Mosberger
  1998-02-26  5:00       ` Mika Kortelainen
  1998-02-25  5:00     ` Peter Mardahl
                       ` (2 subsequent siblings)
  3 siblings, 2 replies; 51+ messages in thread
From: Matt Kennel @ 1998-02-25  5:00 UTC (permalink / raw)



On 25 Feb 1998 22:20:49 GMT, Matt Kennel <mbkennel@yahoo.com> wrote:
:However, losing a relative factor of 2.5 (and hence all the justification
:for buying an Alpha) seems virtually impossible absent some major hardware
:fault, but I really don't know for sure.
:
:Does anybody at DEC actually run Linux/Alpha, and have they tried
:computational tests?  

OK a further followup.  I downloaded the Byte Benchmarks just to have some
easy to use benchmark that other people can compare to.  Both the Pentium II
300 and Alpha PC164LX 533 Mhz machines are running Redhat Linux 5.0, and
I used egcs 1.0.1 to compile both of them.  I modified the include file
on the Alpha to say that "long" was 64 bits, as per the documentation.

Bottom line:  the Alpha tests at nearly twice the speed as the P2 under
what Byte calls 'integer tests', and slightlyy more than half under 'floating
point'.   Myself I get about equal speeds on my floating point code, and
I expected *at least* twice, as RISC machines with decent # of registers
ought to be better than Pentium.

Something is really FUBAR here.  Is 'libm' on the Alpha totally fried?
Did I get stuck with a FPU-less Alpha?

-----------------------------------------------------------------------
On vanderpol.ucsd.edu, 300 Mhz Pentium II

/usr/egcs/bin/gcc -O3 -march=pentiumpro -malign-double

BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
NUMERIC SORT:  Iterations/sec.: 111.217565  Index: 2.852244
STRING SORT:  Iterations/sec.: 13.394139  Index: 5.984870
BITFIELD:  Iterations/sec.: 28081185.199450  Index: 4.816914
FP EMULATION:  Iterations/sec.: 9.980040  Index: 4.788887
FOURIER:  Iterations/sec.: 3177.644711  Index: 3.613925
ASSIGNMENT:  Iterations/sec.: 1.788554  Index: 6.805763
IDEA:  Iterations/sec.: 286.916771  Index: 4.388314
HUFFMAN:  Iterations/sec.: 119.735464  Index: 3.320267
NEURAL NET:  Iterations/sec.: 3.005262  Index: 4.827730
LU DECOMPOSITION:  Iterations/sec.: 60.567345  Index: 3.137700
...done...
===========OVERALL============
INTEGER INDEX: 4.528362
FLOATING-POINT INDEX: 3.796984
 (90 MHz Dell Pentium = 1.00)
==============================

---------------------------------------------------------
On our Alpha, navier.ucsd.edu, (changing nmglobal.h to say long is 64 bits
as per Bytemark documentation)

Using egcs 1.0.1
CFLAGS=-O3 -mieee

BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
NUMERIC SORT:  Iterations/sec.: 242.801841  Index: 6.226806
STRING SORT:  Iterations/sec.: 26.876001  Index: 12.008937
BITFIELD:  Iterations/sec.: 66119360.057383  Index: 11.341804
FP EMULATION:  Iterations/sec.: 13.730185  Index: 6.588381
FOURIER:  Iterations/sec.: 1699.992256  Index: 1.933396
ASSIGNMENT:  Iterations/sec.: 3.013169  Index: 11.465635
IDEA:  Iterations/sec.: 677.744887  Index: 10.365925
HUFFMAN:  Iterations/sec.: 223.003834  Index: 6.183901
NEURAL NET:  Iterations/sec.: 1.176703  Index: 1.890286
LU DECOMPOSITION:  Iterations/sec.: 56.526350  Index: 2.928356
...done...
===========OVERALL============
INTEGER INDEX: 8.806122
FLOATING-POINT INDEX: 2.203708
 (90 MHz Dell Pentium = 1.00)
==============================








-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



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

* Re: Redhat/Alpha computational performance????
  1998-02-25  5:00   ` Matt Kennel
  1998-02-25  5:00     ` Matt Kennel
@ 1998-02-25  5:00     ` Peter Mardahl
  1998-02-26  5:00       ` Greg Lindahl
  1998-02-26  5:00     ` Greg Lindahl
  1998-02-26  5:00     ` Dan Bethe
  3 siblings, 1 reply; 51+ messages in thread
From: Peter Mardahl @ 1998-02-25  5:00 UTC (permalink / raw)



In article <slrn6f96a0.edg.mbkennel@lyapunov.ucsd.edu>,
Matt Kennel <replace this with '@'> wrote:
>On 24 Feb 1998 21:34:29 GMT, Michael Champigny wrote:
>:Matt Kennel (mbkennel@yahoo.com) wrote:
>:

>According to spec.org, a Pentium II 300 gets about 8.5 with the Intel
>compilers.  Various Alphas (though not 164LX) seem to be 20-24...

I get a factor of 2.5 on my numerical code (g++2.7.2) on
my Linux/alpha 500MHz PC164 box over a PPro/200.  This is almost exactly
the SPECfp95 ratio between the two machines.  I'm using RedHat 4.2.

I have not tried egcs on Intel, but egcs is SOMEWHAT slower than 2.7.2
on my Linux/Alpha box.

>I, with GNU cc (and egcs) on both machines, am getting nearly equal
>performance between a PII 300, and this same Alpha.  Over a fair range of
>my own programs.

Are your FP programs really limited by FP performance?  The SPECint
values are quite a lot closer, and I've noticed that Intel machines
run g++ in particular MUCH faster than Alphas.

>I can buy that the DEC Unix compilers are better than egcs, but not that much!
>In any case, the SPEC marks submitted by Intel are also with highly optimizing
>compilers, so I figured at least the relative ratio ought to be roughly 
>constant.

I found that the DEC Unix CXX compiler produced code 30-50% faster than egcs
or g++. (for my program, of course)

>However, losing a relative factor of 2.5 (and hence all the justification
>for buying an Alpha) seems virtually impossible absent some major hardware
>fault, but I really don't know for sure.

What does your program do, exactly?

>Does anybody at DEC actually run Linux/Alpha, and have they tried
>computational tests?  

Well, I'm not at DEC....  But my experience is that for my FP application,
21164 Alphas "blow the doors off" (are ~2.5x faster) than PPro's.

PeterM



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

* Re: Redhat/Alpha computational performance????
  1998-02-25  5:00     ` Matt Kennel
@ 1998-02-25  5:00       ` David.Mosberger
  1998-02-26  5:00         ` Toon Moene
  1998-02-26  5:00       ` Mika Kortelainen
  1 sibling, 1 reply; 51+ messages in thread
From: David.Mosberger @ 1998-02-25  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) writes:

> Using egcs 1.0.1
> CFLAGS=-O3 -mieee
	       ^^^^

This is a real performance killer with gcc.  Unless egcs improved
things in this area, the same would be true for egcs.

Aside from that, libm has lots (or should I say LOTS?) of room for
performance improvements

	--david



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

* Re: Redhat/Alpha computational performance????
  1998-02-25  5:00   ` Matt Kennel
  1998-02-25  5:00     ` Matt Kennel
  1998-02-25  5:00     ` Peter Mardahl
@ 1998-02-26  5:00     ` Greg Lindahl
  1998-02-26  5:00     ` Dan Bethe
  3 siblings, 0 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-02-26  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) writes:

> I, with GNU cc (and egcs) on both machines, am getting nearly equal
> performance between a PII 300, and this same Alpha.  Over a fair range of
> my own programs.

I, with gcc and egcs, have not gotten nearly equal performance on SPEC95fp.

> I can buy that the DEC Unix compilers are better than egcs, but not that much!

I have made a direct comparison between egcs and DEC's compiler on a
Linux box. egcs usually is 30% slower, but wins on one SPEC95fp benchmark.

Your results seem to disagree with mine. That's why I asked you to try
to isolate some particular things which might be causing problems.

(I have a preliminary webpage with my results at:
http://www.cs.virginia.edu/~lindahl/spec/. The results for the Alpha
aren't "submittable" until SPEC gets around to approving my method for
compiling their old, crufty GNU Make version.)

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-02-25  5:00     ` Peter Mardahl
@ 1998-02-26  5:00       ` Greg Lindahl
  0 siblings, 0 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-02-26  5:00 UTC (permalink / raw)



peterm@tesla.EECS.Berkeley.EDU (Peter Mardahl) writes:

> I have not tried egcs on Intel, but egcs is SOMEWHAT slower than 2.7.2
> on my Linux/Alpha box.

For SPEC95fp, egcs is a fair bit better than 2.7.2, mainly because it generates
much better code for array accesses. If your program doesn't do that, then you
might find egcs a little slower or a little faster.

> and I've noticed that Intel machines
> run g++ in particular MUCH faster than Alphas.

That would interest the egcs folks, if you could come up with some
nice benchmarks which showed the problem.

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-02-25  5:00     ` Matt Kennel
  1998-02-25  5:00       ` David.Mosberger
@ 1998-02-26  5:00       ` Mika Kortelainen
  1998-02-28  5:00         ` Lupo LeBoucher
  1 sibling, 1 reply; 51+ messages in thread
From: Mika Kortelainen @ 1998-02-26  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) writes:

> Something is really FUBAR here.  Is 'libm' on the Alpha totally fried?

On Linux/alpha, yes.  I once compiled the same Byte Benchmark on an
Alpha running Digital Unix and when ran on my Linux/alpha, the float
performance was more than double compared to what gcc/egcs gave.

I mostly think it's because Digital has optimized especially sin() and
cos() in their libm, because the largest difference comes from one
test (was it Fourier?) which uses quite a lot of those functions.

Probably someone could try to make a bit faster versions of some
routines in libm, or at least check if there's anything "bad"
Alpha-wise (assuming Linux's or glibc's libm works reasonably well on
other platforms).  Or try to get a Linux version of Digital's libm,
but that might be a bit difficult...


	Mika Kortelainen



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

* Re: Redhat/Alpha computational performance????
       [not found] <6d3tt1$2vs$1@mrnews.mro.dec.com>
@ 1998-02-26  5:00 ` Greg Lindahl
  0 siblings, 0 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-02-26  5:00 UTC (permalink / raw)



champign@cadosf.hlo.dec.com (Michael Champigny) writes:

> Yes, I run both Alpha/Linux and DEC Unix. The DEC compiler seems to be
> about 2X faster than gcc on integer heavy code.

Have you tried egcs? Since no SPEC95 benchmark shows gcc losing that
badly, again I suggest that you make up a little example and show it
to the egcs people, so they can see if they missed something important.

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-02-25  5:00       ` David.Mosberger
@ 1998-02-26  5:00         ` Toon Moene
  1998-02-26  5:00           ` H.W. Stockman
                             ` (2 more replies)
  0 siblings, 3 replies; 51+ messages in thread
From: Toon Moene @ 1998-02-26  5:00 UTC (permalink / raw)



David.Mosberger@acm-NOSPAM.org wrote:

> mbkennel@yahoo.com (Matt Kennel) writes:

> > Using egcs 1.0.1
> > CFLAGS=-O3 -mieee
> 	         ^^^^

> This is a real performance killer with gcc.  Unless egcs improved
> things in this area, the same would be true for egcs.

Yes, but aside from that - why use C (or C++) for numerical intensive work ?  
Of course I advised Richard Henderson to solve the 64/32 bit problem in 
strength reduction - that we discussed in the summer of last year - only for 
the g77 side of egcs; I would never have believed that people would do 
serious FP work in <insert-your-favorite-other-language-here>.

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



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

* Re: Redhat/Alpha computational performance????
  1998-02-26  5:00         ` Toon Moene
@ 1998-02-26  5:00           ` H.W. Stockman
  1998-02-27  5:00             ` Toon Moene
  1998-02-27  5:00           ` Greg Lindahl
  1998-03-03  5:00           ` Matt Kennel
  2 siblings, 1 reply; 51+ messages in thread
From: H.W. Stockman @ 1998-02-26  5:00 UTC (permalink / raw)



Toon Moene wrote:
 
> Yes, but aside from that - why use C (or C++) for numerical intensive work ?
> Of course I advised Richard Henderson to solve the 64/32 bit problem in
> strength reduction - that we discussed in the summer of last year - only for
> the g77 side of egcs; I would never have believed that people would do
> serious FP work in <insert-your-favorite-other-language-here>.

Some people like to use dynamic allocation with 5-D arrays, and
can't afford (or find) an F90 compiler for their platform, or
find true F90 code gives the same performance as C for dynamic
allocation.

Besides, aren't we supposed to be convinced by the Blitz++ project?
http://monet.uwaterloo.ca/blitz/



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

* Re: Redhat/Alpha computational performance????
  1998-02-25  5:00   ` Matt Kennel
                       ` (2 preceding siblings ...)
  1998-02-26  5:00     ` Greg Lindahl
@ 1998-02-26  5:00     ` Dan Bethe
  1998-02-27  5:00       ` Toon Moene
  3 siblings, 1 reply; 51+ messages in thread
From: Dan Bethe @ 1998-02-26  5:00 UTC (permalink / raw)



Greetings friends.  I'm in the market for a new server.  Looking at
SPARC and Alpha.  I'm wanting it to be a totally
Linux/GNU/free-software-friendly platform.  You can see
http://www.hpnc.com/~dtm/admin/server_criteria.html if you're tickled by
the idea.

I've scoured the PGCC and EGCS web sites up and down, and read the
distribution docs.  Never used it except for on Pentium.  It seems to
have uniqueness compared to GCC, from what the docs say.  You guys use
it on Alphas?  Is that because it simply has unique software
optimization compared to GCC and Digital Unix cc?  Or does it do
Alpha-specific cpu optimization the way it does for Pentium?

On another thread I still don't understand the difference between EGCS
and PGCC except that they're maintained by different groups.  Hmm.

Please reply to dtm@hpnc.com, because I might not keep up with this
group  :)  But i would be happy to report my findings to the group.

Thanks a lot, everyone!



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

* Re: Redhat/Alpha computational performance????
       [not found] <slrn6fc0t1.3en.mbkennel@lyapunov.ucsd.edu>
@ 1998-02-27  5:00 ` Greg Lindahl
  1998-03-03  5:00   ` Matt Kennel
  0 siblings, 1 reply; 51+ messages in thread
From: Greg Lindahl @ 1998-02-27  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) writes:

> I find that the floating performance of gcc/egcs is even worse on
> Linux/Alpha.   With egcs I get about 2x a P2 300 on integer codes, and
> typically no more than equal on FP codes and sometimes less.  The 'libm' is
> a big problem, exponentials and trigonometric functions are very poor
> performing on Linux/Alpha, even when recompiling Netlib's fdlibm with
> egcs -O3 blah blah blah.

Thank you for finally getting around to explaining what your code
does. That limitation is well known and no one has volunteered to attempt
to fix the linux libm.

> Will you please port DEC C + Fortran + DEC libm to the Alpha under linux?

If you want to join the list of interested parties, email me how many
licenses for which platform you'd be intersted (x86, alpha, c/c++ and
fortran.)

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-02-26  5:00         ` Toon Moene
  1998-02-26  5:00           ` H.W. Stockman
@ 1998-02-27  5:00           ` Greg Lindahl
  1998-03-03  5:00           ` Matt Kennel
  2 siblings, 0 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-02-27  5:00 UTC (permalink / raw)



Toon Moene <toon@moene.indiv.nluug.nl> writes:

> Yes, but aside from that - why use C (or C++) for numerical intensive work ?  

Hey now, you should accept that users do perverse things all the time.
Some of them might even think you are weird...

> Of course I advised Richard Henderson to solve the 64/32 bit problem in 
> strength reduction - that we discussed in the summer of last year - only for 
> the g77 side of egcs;

Because C does address computations in all 64 bits, so it doesn't need
this fix anyway.

It will be interesting to see how well g77-egcs does on the 6 and
7-dimensional arrays in the NAS BT benchmark (cf. current discussion
on comp.sys.super...)

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-02-26  5:00           ` H.W. Stockman
@ 1998-02-27  5:00             ` Toon Moene
  1998-02-27  5:00               ` Greg Lindahl
                                 ` (2 more replies)
  0 siblings, 3 replies; 51+ messages in thread
From: Toon Moene @ 1998-02-27  5:00 UTC (permalink / raw)



"H.W. Stockman" <hwstock@swcp.com> wrote:

> Toon Moene wrote:

> > Yes, but aside from that - why use C (or C++) for numerical intensive 
work ?
> > Of course I advised Richard Henderson to solve the 64/32 bit problem in
> > strength reduction - that we discussed in the summer of last year - only 
for
> > the g77 side of egcs; I would never have believed that people would do
> > serious FP work in <insert-your-favorite-other-language-here>.

> Some people like to use dynamic allocation with 5-D arrays, and
> can't afford (or find) an F90 compiler for their platform, or
> find true F90 code gives the same performance as C for dynamic
> allocation.

OK, one more than, before this really sinks down as a language war:

      SUBOUTINE AAP(A, N)
      REAL A(N, N, N, N, N)
      REAL B(N, N, N, N, N)
      DO I1 = 1, N
      ....
                DO I5 = 1, N
                   B(I5, I4, I3, I2, I1) = A(I5, I4, I3, I2, I1)
                ENDDO
      ....
      ENDDO
      <more stuff>
      END

And surely, B is a rank-5 dynamically allocated array.

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



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

* Re: Redhat/Alpha computational performance????
  1998-02-26  5:00     ` Dan Bethe
@ 1998-02-27  5:00       ` Toon Moene
  0 siblings, 0 replies; 51+ messages in thread
From: Toon Moene @ 1998-02-27  5:00 UTC (permalink / raw)



Dan Bethe <dtm@hpnc.com> wrote:

> I've scoured the PGCC and EGCS web sites up and down, and read the
> distribution docs.  Never used it except for on Pentium.  It seems to
> have uniqueness compared to GCC, from what the docs say.  You guys use
> it on Alphas? 

> On another thread I still don't understand the difference between EGCS
> and PGCC except that they're maintained by different groups.  Hmm.

PGCC is an effort to improve the performance of generated code by gcc on 
Pentia.  I don't even know if it scores much better than plain GCC on Pentium 
Pro's and Pentium II's.

EGCS is an effort to include into a GCC-like distribution new features that 
were determined to be too *experimental* by the current GCC maintainer.  Note 
that the features are deemed experimental; the releases should be on par with 
GCC wrt stability.

Although a lot of improvements in PGCC were brought into EGCS, not all are.  
One thing that's lacking is complete "correct" alignment of all `double' data 
- static as well as automatic (stack based).  The hard problem is to do it in 
a way that doesn't break binary compatibility with existing (Intel) ABI's.

Of course, the last thing is hardly important to Alpha users, although I'm 
not entirely convinced yet that we don't face a 128-bit alignment issue - at 
least the current Alpha Architecture Manual touts that as being beneficial.

HTH,

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



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

* Re: Redhat/Alpha computational performance????
  1998-02-27  5:00             ` Toon Moene
@ 1998-02-27  5:00               ` Greg Lindahl
  1998-02-27  5:00                 ` Toon Moene
  1998-02-27  5:00               ` H.W. Stockman
  1998-03-03  5:00               ` Ulrich Ruede
  2 siblings, 1 reply; 51+ messages in thread
From: Greg Lindahl @ 1998-02-27  5:00 UTC (permalink / raw)



Toon Moene <toon@moene.indiv.nluug.nl> writes:

> OK, one more than, before this really sinks down as a language war:

At least this time we know who to blame for starting it! Bad Toon! Bad!




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

* Re: Redhat/Alpha computational performance????
  1998-02-27  5:00             ` Toon Moene
  1998-02-27  5:00               ` Greg Lindahl
@ 1998-02-27  5:00               ` H.W. Stockman
  1998-02-28  5:00                 ` Andi Kleen
  1998-03-03  5:00               ` Ulrich Ruede
  2 siblings, 1 reply; 51+ messages in thread
From: H.W. Stockman @ 1998-02-27  5:00 UTC (permalink / raw)



Toon Moene wrote:
> 
> "H.W. Stockman" <hwstock@swcp.com> wrote:
> 
> > Toon Moene wrote:
 
> OK, one more than, before this really sinks down as a language war:
But that will be fun!
 
>       SUBOUTINE AAP(A, N)
>       REAL A(N, N, N, N, N)
>       REAL B(N, N, N, N, N)
>       DO I1 = 1, N
>       ....
>                 DO I5 = 1, N
>                    B(I5, I4, I3, I2, I1) = A(I5, I4, I3, I2, I1)
>                 ENDDO
>       ....
>       ENDDO
>       <more stuff>
>       END

> And surely, B is a rank-5 dynamically allocated array.

Yep -- let's try it with N=30, try to force 8-byte alignment
on B, then let's use B from a function external to AAP.  Or, let's
call AAP a lot, and see how much time we spend allocating the
space with each call (when N=30).

You make a good point, but we could also come up with
dodges to make C more FORTRAN-like -- ways to avoid
aliasing, and so forth (in fact we all do!).  Truce time soon?



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

* Re: Redhat/Alpha computational performance????
  1998-02-27  5:00               ` Greg Lindahl
@ 1998-02-27  5:00                 ` Toon Moene
  0 siblings, 0 replies; 51+ messages in thread
From: Toon Moene @ 1998-02-27  5:00 UTC (permalink / raw)



lindahl@pbm.com (Greg Lindahl) wrote:

> Toon Moene <toon@moene.indiv.nluug.nl> writes:

> > OK, one more than, before this really sinks down as a language war:

> At least this time we know who to blame for starting it! Bad Toon! Bad!

<wink> Yep - you and Mr. Stockman are right.  The point I tried to make was 
that, in discussing FP performance, I (and the SPEC stuff) are thinking 
"Fortran" - so we wouldn't even think of looking into code generation of 
C(++) based stuff.

Of course, that doesn't mean that that issue wouldn't be on egcs' agenda !

HTH,

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



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

* Re: Redhat/Alpha computational performance????
  1998-02-27  5:00               ` H.W. Stockman
@ 1998-02-28  5:00                 ` Andi Kleen
  0 siblings, 0 replies; 51+ messages in thread
From: Andi Kleen @ 1998-02-28  5:00 UTC (permalink / raw)



"H.W. Stockman" <hwstock@swcp.com> writes:
> 
> You make a good point, but we could also come up with
> dodges to make C more FORTRAN-like -- ways to avoid
> aliasing, and so forth (in fact we all do!).  Truce time soon?

The C9x draft standard has a restrict keyword that does exactly this -
it tells the compiler that there are no aliases.

-A.



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

* Re: Redhat/Alpha computational performance????
  1998-02-26  5:00       ` Mika Kortelainen
@ 1998-02-28  5:00         ` Lupo LeBoucher
  1998-03-01  5:00           ` Michal Jaegermann
  1998-03-02  5:00           ` Greg Lindahl
  0 siblings, 2 replies; 51+ messages in thread
From: Lupo LeBoucher @ 1998-02-28  5:00 UTC (permalink / raw)



In article <th4t1mo1ha.fsf@prodax.fi>, Mika Kortelainen  <mak@prodax.fi> wrote:
>  Or try to get a Linux version of Digital's libm,
>but that might be a bit difficult...

I don't see why; they managed a WinNT port.

-Lupo
"but even so, amid the tornadoed Atlantic of my being..."
<ix@pentagon.io.com>




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

* Re: Redhat/Alpha computational performance????
  1998-02-28  5:00         ` Lupo LeBoucher
@ 1998-03-01  5:00           ` Michal Jaegermann
  1998-03-02  5:00           ` Greg Lindahl
  1 sibling, 0 replies; 51+ messages in thread
From: Michal Jaegermann @ 1998-03-01  5:00 UTC (permalink / raw)



Lupo LeBoucher (ix@xanadu.io.com) wrote:
: In article <th4t1mo1ha.fsf@prodax.fi>, Mika Kortelainen  <mak@prodax.fi> wrote:
: >  Or try to get a Linux version of Digital's libm,
: >but that might be a bit difficult...
: 
: I don't see why; they managed a WinNT port.

That seems to be exactly the reason. :-(  I believe that problems are
strictly of a political nature.  All outward signs indicate that a bunch
of "suites" from Digital would rather forget about everything but NT.
This "everything" includes also Digital Unix and VMS.  Not that this
is supported by any sane technical people but you know how things are.

  --mj




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

* Re: Redhat/Alpha computational performance????
  1998-02-28  5:00         ` Lupo LeBoucher
  1998-03-01  5:00           ` Michal Jaegermann
@ 1998-03-02  5:00           ` Greg Lindahl
  1998-03-05  5:00             ` Lupo LeBoucher
  1 sibling, 1 reply; 51+ messages in thread
From: Greg Lindahl @ 1998-03-02  5:00 UTC (permalink / raw)



ix@xanadu.io.com (Lupo LeBoucher) writes:
> In article <th4t1mo1ha.fsf@prodax.fi>, Mika Kortelainen  <mak@prodax.fi> wrote:
> >  Or try to get a Linux version of Digital's libm,
> >but that might be a bit difficult...
> 
> I don't see why; they managed a WinNT port.

The library depends on the compiler, so I hear.




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

* Re: Redhat/Alpha computational performance????
  1998-02-27  5:00 ` Redhat/Alpha computational performance???? Greg Lindahl
@ 1998-03-03  5:00   ` Matt Kennel
  1998-03-03  5:00     ` Greg Lindahl
                       ` (2 more replies)
  0 siblings, 3 replies; 51+ messages in thread
From: Matt Kennel @ 1998-03-03  5:00 UTC (permalink / raw)



On 27 Feb 1998 01:16:19 GMT, Greg Lindahl <lindahl@pbm.com> wrote:
:mbkennel@yahoo.com (Matt Kennel) writes:
:
:> I find that the floating performance of gcc/egcs is even worse on
:> Linux/Alpha.   With egcs I get about 2x a P2 300 on integer codes, and
:> typically no more than equal on FP codes and sometimes less.  The 'libm' is
:> a big problem, exponentials and trigonometric functions are very poor
:> performing on Linux/Alpha, even when recompiling Netlib's fdlibm with
:> egcs -O3 blah blah blah.
:
:Thank you for finally getting around to explaining what your code
:does. 

I tried a variety of different programs.  Apparently the standard functions
are so bad that they became the bottleneck in all of them.  I profiled a
couple of them.

I don't know what SPECfp programs do, but it's impossible to do optical
physics without exponentials, sine and cosine (over both R and C).

:That limitation is well known and no one has volunteered to attempt
:to fix the linux libm.

It's remarkable that it's so poor---apparently the functions are so much
worse than on x86 that it can negate all the advantage of a supposedly 2.5x
SPECmark advantage. 

What I don't understand is why it should be so.  It superficially appears
from the symbols that the standard Linux/Alpha and Linux/x86 libm is either
identical to, or closely derived from, Netlib's "fdlibm". It also appears to
be the standard 'libm' for Sparcs, and was originally written by somebody at
Sun.

What's so magically bad about 'fdlibm'? 

Looking at the source for "fdlibm" I don't see anything obvious which would
make it particularly bad---all the things which fdlibm routines do seem to
be ones which some "typical" numerical programs would do all the time, if
you take away the bit masking and exponent shifting.

Is that it? 

At the moment it would be an unfair accusation, but I'll admit that I'm
worried Alpha is a great Specmark chip and not really a good science chip.

:> Will you please port DEC C + Fortran + DEC libm to the Alpha under linux?
:
:If you want to join the list of interested parties, email me how many
:licenses for which platform you'd be intersted (x86, alpha, c/c++ and
:fortran.)

At the moment, 1 Fortran 90 for Linux/Alpha.  If it works well soon, we will
probably continue to buy Alphas for computation---otherwise we stick with
x86 Linux, or with lower probability, try R10000's and Ultrasparcs.  I don't
know about the new Sparcs, but in a brief experience with a R10000 and
Sgi/Cray F90 I was quite impressed by the real life performance.

We'd like to limit our system administration burden (hence Linux/Alpha to
add to our Linux/x86), because it basically comes down to me and I'd rather
study ''chaos theory'' than computers in chaos.

-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



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

* Re: Redhat/Alpha computational performance????
  1998-03-03  5:00   ` Matt Kennel
@ 1998-03-03  5:00     ` Greg Lindahl
  1998-03-03  5:00       ` Michal Jaegermann
  1998-03-03  5:00     ` H.W. Stockman
  1998-03-03  5:00     ` Toon Moene
  2 siblings, 1 reply; 51+ messages in thread
From: Greg Lindahl @ 1998-03-03  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) writes:

> I don't know what SPECfp programs do, but it's impossible to do optical
> physics without exponentials, sine and cosine (over both R and C).

They don't do optical physics. I have never used sin(), cos(), or
non-integer exponentials in a science program. It all depends on what
you're doing.

> At the moment it would be an unfair accusation, but I'll admit that I'm
> worried Alpha is a great Specmark chip and not really a good science chip.

That might be true, if you add a proviso that it's only your kind of
science that you're talking about, and that you aren't using the good
libraries for the chip.

> :If you want to join the list of interested parties, email me how many
> :licenses for which platform you'd be intersted (x86, alpha, c/c++ and
> :fortran.)

Posting news isn't email.

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-03-03  5:00     ` Greg Lindahl
@ 1998-03-03  5:00       ` Michal Jaegermann
  1998-03-04  5:00         ` Matt Kennel
  0 siblings, 1 reply; 51+ messages in thread
From: Michal Jaegermann @ 1998-03-03  5:00 UTC (permalink / raw)



Greg Lindahl (lindahl@cs.virginia.edu) wrote:
: mbkennel@yahoo.com (Matt Kennel) writes:
: 
: > I don't know what SPECfp programs do, but it's impossible to do optical
: > physics without exponentials, sine and cosine (over both R and C).
: 
: They don't do optical physics. I have never used sin(), cos(), or
: non-integer exponentials in a science program. It all depends on what
: you're doing.

I run recently a few timing runs on a totally untouched Fortran code
supplied by a prospective customer.  It does some kind of a transform
using a grid (looks like a kernel for ODE solving) and is chockfull of
sin() and cos() calls in matrix type calculations.  I am pretty sure
that a day with an editor would speed up this code quite a bit.

Anyway, when using 1024x1024 grid I got times a bit above 3 minutes for a
code compiled with just -O3, g77 from egcs-1.0.1 and running on 533 LX.
Adding into a fray things like '-funroll-loops -fomit-frame-pointer
-fstrength-reduce' dropped this time down to 2 minutes with small seconds.
Not a bad result for a short edit in a Makefile. :-)  Curiously enough
putting in also '-ffast-math' made this test not very much but
noticeably and consistently **slower**.

This customer runs this code right now on 500au DEC machine using
Digital Unix and its compiler.  Their times are between four and five
minutes for the same test, I understand.  Granted, this is not the
same hardware and probably using DU and its Fortran on LX would
drop times even further but I think that LX with Linux is not a slouch
for the money.  And, of course, YOU can improve it even further.

  Michal




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

* Re: Redhat/Alpha computational performance????
  1998-03-03  5:00   ` Matt Kennel
  1998-03-03  5:00     ` Greg Lindahl
@ 1998-03-03  5:00     ` H.W. Stockman
  1998-03-06  5:00       ` Richard Henderson
  1998-03-03  5:00     ` Toon Moene
  2 siblings, 1 reply; 51+ messages in thread
From: H.W. Stockman @ 1998-03-03  5:00 UTC (permalink / raw)



Matt Kennel wrote:
[...]
> Looking at the source for "fdlibm" I don't see anything obvious which would
> make it particularly bad---all the things which fdlibm routines do seem to
> be ones which some "typical" numerical programs would do all the time, if
> you take away the bit masking and exponent shifting.

As has been pointed out before, the x86 can use hardware
implementations of sine, cos and exp, which simplify coding.
I think you will get spirited suggestions about the actual
efficiancy of these routines if you post to comp.arch, and
you may get some suggestions of fast replacement algorithms
for the alpha (see sqrt case below).

In the past, individual replacements for library math routines
have been developed for the alpha, often improving speed
dramtically.  I found an archived thread on square roots for
the alpha, in which Linus Torvalds gave a sqrt() substitute
that was about an order of magnitude faster than the library
routine.

> At the moment it would be an unfair accusation, but I'll admit that I'm
> worried Alpha is a great Specmark chip and not really a good science chip.
> 
> :> Will you please port DEC C + Fortran + DEC libm to the Alpha under linux?

I did some benchmarking of transcendental-heavy F77 codes on
various processors, and the 500 MHz 21164a, with DEC FORTRAN/C,
did indeed come out on top (a factor 3 over a PPro 200).  The
suggestion to me was to get an "old" DEC Unix system, with
a valid DEC compiler and Unix license.  Last August, such systems
sold for about $900.  The idea was to compile and statically
link the code on this "compile server", then transfer the
binaries to the Linux boxes.



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

* Re: Redhat/Alpha computational performance????
  1998-03-03  5:00   ` Matt Kennel
  1998-03-03  5:00     ` Greg Lindahl
  1998-03-03  5:00     ` H.W. Stockman
@ 1998-03-03  5:00     ` Toon Moene
  1998-03-09  5:00       ` Matt Kennel
  2 siblings, 1 reply; 51+ messages in thread
From: Toon Moene @ 1998-03-03  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) wrote:

[ I thought of answering this one instead of the reply to my own question
  about your code (much more productive :-) ]

> I tried a variety of different programs.  Apparently the standard functions
> are so bad that they became the bottleneck in all of them.  I profiled a
> couple of them.
> 
> I don't know what SPECfp programs do, but it's impossible to do optical
> physics without exponentials, sine and cosine (over both R and C).

You bet standard functions are not a large part (performance wise) of SPECfp 
programs, because that would be in conflict with the requirement that those 
programs "don't spend significant time in library routines" - a requirement 
that's not surprising if you take into account what SPECfp is trying to 
measure.

> It's remarkable that it's so poor---apparently the functions are so much
> worse than on x86 that it can negate all the advantage of a supposedly 2.5x
> SPECmark advantage. 

Well, one of the answers to this question might be that on the PII the 
transcendentals are translated (inline) to the equivalent machine 
instructions, while on Alpha they have to be library calls (Note: I didn't 
check this - so don't quote me on it).

This would at least forego the cost of making a subroutine call.

OTOH, if usage of exp, sin and cos is so heavy in your program, why don't you 
use lookup tables; you'll bet we (using a rotated lat-lon grid for limited 
area weather forecasting) do not want to invoke lots of sin and cos routines, 
whereas for the coordinate transformations between regular and rotated 
lat-lon, one *has* to.

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



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

* Re: Redhat/Alpha computational performance????
  1998-02-26  5:00         ` Toon Moene
  1998-02-26  5:00           ` H.W. Stockman
  1998-02-27  5:00           ` Greg Lindahl
@ 1998-03-03  5:00           ` Matt Kennel
  1998-03-03  5:00             ` Greg Lindahl
  2 siblings, 1 reply; 51+ messages in thread
From: Matt Kennel @ 1998-03-03  5:00 UTC (permalink / raw)



On 26 Feb 1998 22:32:14 GMT, Toon Moene <toon@moene.indiv.nluug.nl> wrote:
:David.Mosberger@acm-NOSPAM.org wrote:
:
:> mbkennel@yahoo.com (Matt Kennel) writes:
:
:> > Using egcs 1.0.1
:> > CFLAGS=-O3 -mieee
:> 	         ^^^^
:
:> This is a real performance killer with gcc.  Unless egcs improved
:> things in this area, the same would be true for egcs.
:
:Yes, but aside from that - why use C (or C++) for numerical intensive work ?

Because C is generated by compilers for good numerical languages, i.e.
Fortran 90 (NAG) and Sather and, for some, Eiffel. 

So what exactly does -mieee, or its lack, do? 

And I tried removing -mieee, and, independely also adding -ffast-math. The
difference was generally small on my programs.

:Of course I advised Richard Henderson to solve the 64/32 bit problem in 
:strength reduction - that we discussed in the summer of last year - only for 
:the g77 side of egcs; I would never have believed that people would do 
:serious FP work in <insert-your-favorite-other-language-here>.

They do.  They aren't my favorite languages for computation but they are
common.  Often the C/C++ numerical programs use important "computer sciency"
libraries like GL and X toolkits which are more idiomatic to call from C.

And of course, C the overwhelming choice for game programming which also
needs FP. 

-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



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

* Re: Redhat/Alpha computational performance????
  1998-02-27  5:00             ` Toon Moene
  1998-02-27  5:00               ` Greg Lindahl
  1998-02-27  5:00               ` H.W. Stockman
@ 1998-03-03  5:00               ` Ulrich Ruede
  2 siblings, 0 replies; 51+ messages in thread
From: Ulrich Ruede @ 1998-03-03  5:00 UTC (permalink / raw)



In article <6d6hpj$8c5$2@news.utrecht.nl.net>,
	Toon Moene <toon@moene.indiv.nluug.nl> writes:

> OK, one more than, before this really sinks down as a language war:
> 
>       SUBOUTINE AAP(A, N)
>       REAL A(N, N, N, N, N)
>       REAL B(N, N, N, N, N)
>       DO I1 = 1, N
>       ....
>                 DO I5 = 1, N
>                    B(I5, I4, I3, I2, I1) = A(I5, I4, I3, I2, I1)
>                 ENDDO
>       ....
>       ENDDO
>       <more stuff>
>       END
 
This is tolerated by many modern compilers, but I don't think it
is standard FORTRAN 77.

Uli
__________________________________________________________________________
Ulrich Ruede, Institut fuer Mathematik, Universitaet Augsburg
D-86135 Augsburg, Germany, e-mail: ruede@math.uni-augsburg.de
Tel: +49 821 598 2190, Fax: +49 821 598 2339
URL: http://scicomp.math.uni-augsburg.de/ruede/me.html



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

* Re: Redhat/Alpha computational performance????
  1998-03-03  5:00           ` Matt Kennel
@ 1998-03-03  5:00             ` Greg Lindahl
  0 siblings, 0 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-03-03  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) writes:

> So what exactly does -mieee, or its lack, do? 

The info pages for gcc and egcs explain it pretty well.

> And I tried removing -mieee, and, independely also adding -ffast-math. The
> difference was generally small on my programs.

If you are getting killed by library problems, removing -mieee won't
change much.

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-03-04  5:00         ` Matt Kennel
@ 1998-03-04  5:00           ` Greg Lindahl
  1998-03-05  5:00             ` Matt Kennel
  1998-03-08  5:00             ` H.W. Stockman
  1998-03-05  5:00           ` Toon Moene
  1998-03-06  5:00           ` Richard Henderson
  2 siblings, 2 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-03-04  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) writes:

> Naturally, but please don't say that these elementary functions aren't
> crucial to a very large number of computations.  Some of my other benchmark
> codes which showed poor performance were for computational neuroscience.

Sure, in many fields, elementary functions are critical.

It would be good if someone would be inspired to go fix that library.

> And why does the Linux/Alpha compiler compile the "FDLIBM" library (a high
> quality IEEE-754 libm) so poorly?  

Is this library fast on other platforms? It might pay to hand-optimize the
output; it's often hard for compilers to compile weird shifts efficiently.

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-03-03  5:00       ` Michal Jaegermann
@ 1998-03-04  5:00         ` Matt Kennel
  1998-03-04  5:00           ` Greg Lindahl
                             ` (2 more replies)
  0 siblings, 3 replies; 51+ messages in thread
From: Matt Kennel @ 1998-03-04  5:00 UTC (permalink / raw)



On 3 Mar 1998 17:36:21 GMT, Michal Jaegermann wrote:
:Greg Lindahl (lindahl@cs.virginia.edu) wrote:
:: mbkennel@yahoo.com (Matt Kennel) writes:
:: 
:: > I don't know what SPECfp programs do, but it's impossible to do optical
:: > physics without exponentials, sine and cosine (over both R and C).
:: 
:: They don't do optical physics. I have never used sin(), cos(), or
:: non-integer exponentials in a science program. It all depends on what
:: you're doing.

Naturally, but please don't say that these elementary functions aren't
crucial to a very large number of computations.  Some of my other benchmark
codes which showed poor performance were for computational neuroscience.

Does SPECfp test elementary functions at all?

And why does the Linux/Alpha compiler compile the "FDLIBM" library (a high
quality IEEE-754 libm) so poorly?  

:I run recently a few timing runs on a totally untouched Fortran code
:supplied by a prospective customer.  It does some kind of a transform
:using a grid (looks like a kernel for ODE solving) and is chockfull of
:sin() and cos() calls in matrix type calculations.  I am pretty sure
:that a day with an editor would speed up this code quite a bit.

Are you sure the trigonometric functions inside the inner loops, or are they
used only for initialization of some kernel coefficients?

:Anyway, when using 1024x1024 grid I got times a bit above 3 minutes for a
:code compiled with just -O3, g77 from egcs-1.0.1 and running on 533 LX.
:Adding into a fray things like '-funroll-loops -fomit-frame-pointer
:-fstrength-reduce' dropped this time down to 2 minutes with small seconds.

How does the similar code compare with a modern Pentium running egcs on
x86 Linux?

-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



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

* Re: Redhat/Alpha computational performance????
  1998-03-04  5:00         ` Matt Kennel
  1998-03-04  5:00           ` Greg Lindahl
@ 1998-03-05  5:00           ` Toon Moene
  1998-03-05  5:00             ` Greg Lindahl
  1998-03-06  5:00           ` Richard Henderson
  2 siblings, 1 reply; 51+ messages in thread
From: Toon Moene @ 1998-03-05  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) wrote:

> Does SPECfp test elementary functions at all?

Nope, and I told you why:  SPEC code (either int or fp) is not *allowed* to 
spend significant time in library routines, specifically because SPEC tries 
to measure reproducable performance.  If they would leave to much to (binary 
only) library routines, they would have a gaping hole in their procedures.

If you want to get a typical (that is: for the rest of us) speed up on Alpha 
vs Pentium, see: 
http://www.ec-nantes.fr/F_Serveur/Recherche/DMN/WWW/Hardware/Bench/res_65.htm
l

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



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

* Re: Redhat/Alpha computational performance????
  1998-03-04  5:00           ` Greg Lindahl
@ 1998-03-05  5:00             ` Matt Kennel
  1998-03-06  5:00               ` Michal Jaegermann
  1998-03-08  5:00             ` H.W. Stockman
  1 sibling, 1 reply; 51+ messages in thread
From: Matt Kennel @ 1998-03-05  5:00 UTC (permalink / raw)



On 4 Mar 1998 23:18:31 GMT, Greg Lindahl <lindahl@pbm.com> wrote:
:mbkennel@yahoo.com (Matt Kennel) writes:
:
:> Naturally, but please don't say that these elementary functions aren't
:> crucial to a very large number of computations.  Some of my other benchmark
:> codes which showed poor performance were for computational neuroscience.
:
:Sure, in many fields, elementary functions are critical.
:
:It would be good if someone would be inspired to go fix that library.

Yes it would be.  However, looking at the source it's not obvious to me what
exactly needs to be done to "fix" it.

:> And why does the Linux/Alpha compiler compile the "FDLIBM" library (a high
:> quality IEEE-754 libm) so poorly?  
:
:Is this library fast on other platforms? It might pay to hand-optimize the
:output; it's often hard for compilers to compile weird shifts efficiently.

I don't know what counts as ''fast'', but I compiled FDLIBM from identical
sources on x86 and Alpha with egcs 1.0.1 on Linux/Alpha , and tested a
benchmark computational neuronal network program written in C.  The compiler
flags were -O3 -ffast-math and on x86 -malign-double, and linked with my
personally compiled libm and not the system one.

This program exercises only double precision 'exp' heavily, being about 40%
of the runtime.

On a 300 Mhz Pentium II the total runtime was 15.07 seconds, and on a 533
LX164 it was 13.27.

On trigonometric functions (tested in other programs), the Alpha seems to be
at a slightly greater disadvantage.

-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



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

* Re: Redhat/Alpha computational performance????
  1998-03-05  5:00           ` Toon Moene
@ 1998-03-05  5:00             ` Greg Lindahl
  1998-03-06  5:00               ` Toon Moene
  0 siblings, 1 reply; 51+ messages in thread
From: Greg Lindahl @ 1998-03-05  5:00 UTC (permalink / raw)



Toon Moene <toon@moene.indiv.nluug.nl> writes:

> If you want to get a typical (that is: for the rest of us) speed up on Alpha 
> vs Pentium, see: 
> http://www.ec-nantes.fr/F_Serveur/Recherche/DMN/WWW/Hardware/Bench/res_65.htm
> l

What's supposed to be typical about SOR? If this is a straight-forward SOR, then
it behaves like Stream, and it doesn't include any library functions.

-- g



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

* Re: Redhat/Alpha computational performance????
  1998-03-02  5:00           ` Greg Lindahl
@ 1998-03-05  5:00             ` Lupo LeBoucher
  0 siblings, 0 replies; 51+ messages in thread
From: Lupo LeBoucher @ 1998-03-05  5:00 UTC (permalink / raw)



In article <6dd44h$oov@news3.newsguy.com>,
Greg Lindahl <lindahl@pbm.com> wrote:
>ix@xanadu.io.com (Lupo LeBoucher) writes:
>> In article <th4t1mo1ha.fsf@prodax.fi>, Mika Kortelainen  <mak@prodax.fi> wrote:
>> >  Or try to get a Linux version of Digital's libm,
>> >but that might be a bit difficult...
>> 
>> I don't see why; they managed a WinNT port.
>
>The library depends on the compiler, so I hear.

I would imagine digital's cc is rather more similar to gcc than it is to
the microsoft compiler, yet DXML has been ported to WinNT, and is given
away.

My point being, it would be MUCH easier to port to Linux than that ooogly 
beastie NT.

-Lupo
"D.B. Cooper died for your sins"                   <ix@pentagon.io.com> 





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

* Re: Redhat/Alpha computational performance????
  1998-03-03  5:00     ` H.W. Stockman
@ 1998-03-06  5:00       ` Richard Henderson
  0 siblings, 0 replies; 51+ messages in thread
From: Richard Henderson @ 1998-03-06  5:00 UTC (permalink / raw)



In article <34FBE52A.6D1C@swcp.com>, H.W. Stockman <hwstock@swcp.com> wrote:
>Matt Kennel wrote:
> I found an archived thread on square roots for
> the alpha, in which Linus Torvalds gave a sqrt() substitute
> that was about an order of magnitude faster than the library
> routine.

Yep.  It is too bad, though, that the code suffers from 
somewhat severe underflow problems around 1e-300 so that
I had to turn it off by default in glibc.


r~



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

* Re: Redhat/Alpha computational performance????
  1998-03-04  5:00         ` Matt Kennel
  1998-03-04  5:00           ` Greg Lindahl
  1998-03-05  5:00           ` Toon Moene
@ 1998-03-06  5:00           ` Richard Henderson
  2 siblings, 0 replies; 51+ messages in thread
From: Richard Henderson @ 1998-03-06  5:00 UTC (permalink / raw)



In article <slrn6frjjf.2d3.mbkennel@lyapunov.ucsd.edu>,
Matt Kennel <replace this with '@'> wrote:
>And why does the Linux/Alpha compiler compile the "FDLIBM" library (a high
>quality IEEE-754 libm) so poorly?  

Your pardon?  While fdlibm is accurate, which is nice, I would
not have claimed it was particularly efficient.  In particular
the way it is written assumes a 32-bit ALU, and does not take
advantage at all of a 64-bit host.

We have plans to rewrite the thing from scratch for glibc 2.2
or 2.3.  Help from those mathematically inclined will be greatly
appreciated.


r~



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

* Re: Redhat/Alpha computational performance????
  1998-03-05  5:00             ` Greg Lindahl
@ 1998-03-06  5:00               ` Toon Moene
  1998-03-07  5:00                 ` Greg Lindahl
  0 siblings, 1 reply; 51+ messages in thread
From: Toon Moene @ 1998-03-06  5:00 UTC (permalink / raw)



lindahl@pbm.com (Greg Lindahl) wrote:

> Toon Moene <toon@moene.indiv.nluug.nl> writes:

> > If you want to get a typical (that is: for the rest of us) speed up on 
Alpha 
> > vs Pentium, see: 
> > 
http://www.ec-nantes.fr/F_Serveur/Recherche/DMN/WWW/Hardware/Bench/res_65.htm
l

> What's supposed to be typical about SOR? If this is a straight-forward SOR, 
then
> it behaves like Stream, and it doesn't include any library functions.

Exactly, that's why I'm citing it:  It doesn't suffer from silly differences 
in implementation of transcendental functions in math libraries, i.e., it is 
on par with SPEC.

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



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

* Re: Redhat/Alpha computational performance????
  1998-03-05  5:00             ` Matt Kennel
@ 1998-03-06  5:00               ` Michal Jaegermann
  0 siblings, 0 replies; 51+ messages in thread
From: Michal Jaegermann @ 1998-03-06  5:00 UTC (permalink / raw)



Matt Kennel (mbkennel@yahoo.com) wrote:
: The compiler
: flags were -O3 -ffast-math and on x86 -malign-double,

As I mentioned before: on my limited testing of some "sin/cos rich"
Fortran code using -ffast-math actually noticeably harmed a performance.
On the other hand adding '-funroll-loops -fomit-frame-pointer'
had a substantial positive impact.

It is quite possible that running a few experiments one can arrive
with a set of "good" compilation flags for a given code.  They do not
have to be obvious.

  Michal




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

* Re: Redhat/Alpha computational performance????
  1998-03-06  5:00               ` Toon Moene
@ 1998-03-07  5:00                 ` Greg Lindahl
  1998-03-07  5:00                   ` Greg Lindahl
  0 siblings, 1 reply; 51+ messages in thread
From: Greg Lindahl @ 1998-03-07  5:00 UTC (permalink / raw)



Toon Moene <toon@moene.indiv.nluug.nl> writes:

> > What's supposed to be typical about SOR? If this is a straight-forward SOR, 
> then
> > it behaves like Stream, and it doesn't include any library functions.
> 
> Exactly, that's why I'm citing it:  It doesn't suffer from silly differences 
> in implementation of transcendental functions in math libraries, i.e., it is 
> on par with SPEC.

Re-inventing the stream benchmark isn't that exciting, and claiming
that it's "typical" of scientific applications isn't very true. It
might be typical in a few fields, but most fields are more SPEC-like,
i.e. a variety of methods, none of which are uncachable.

-- g




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

* Re: Redhat/Alpha computational performance????
  1998-03-07  5:00                 ` Greg Lindahl
@ 1998-03-07  5:00                   ` Greg Lindahl
  0 siblings, 0 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-03-07  5:00 UTC (permalink / raw)



lindahl@pbm.com (Greg Lindahl) writes:

> Re-inventing the stream benchmark isn't that exciting, and claiming
> that it's "typical" of scientific applications isn't very true. It
> might be typical in a few fields, but most fields are more SPEC-like,
> i.e. a variety of methods, none of which are uncachable.

I should mention (while I'm at it) that I don't consider any one
program to be typical of anything, so it wouldn't really matter what
single program Toon had claimed was typical. This one just happens to
mimic the behavior of a known benchmark, with the known characteristic that
it does "worse than the SPEC average" because it doesn't use cache much.
You can't use this one benchmark to say that "typical scientific codes don't
run much faster on the Alpha than a Pentium"; instead, you should say
"main memory bound programs ..."

-- g




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

* Re: Redhat/Alpha computational performance????
  1998-03-04  5:00           ` Greg Lindahl
  1998-03-05  5:00             ` Matt Kennel
@ 1998-03-08  5:00             ` H.W. Stockman
  1998-03-08  5:00               ` Greg Lindahl
  1 sibling, 1 reply; 51+ messages in thread
From: H.W. Stockman @ 1998-03-08  5:00 UTC (permalink / raw)



Greg Lindahl wrote:
> 
> mbkennel@yahoo.com (Matt Kennel) writes:
> 
> > Naturally, but please don't say that these elementary functions aren't
> > crucial to a very large number of computations.  Some of my other benchmark
> > codes which showed poor performance were for computational neuroscience.
> 
> Sure, in many fields, elementary functions are critical.
> 
> It would be good if someone would be inspired to go fix that library.

I can't vouch at all for the code at the following link:

http://fatmac.ee.cornell.edu/~goldwada/lookmath.info



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

* Re: Redhat/Alpha computational performance????
  1998-03-08  5:00             ` H.W. Stockman
@ 1998-03-08  5:00               ` Greg Lindahl
  0 siblings, 0 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-03-08  5:00 UTC (permalink / raw)



"H.W. Stockman" <hwstock@swcp.com> writes:

> > Sure, in many fields, elementary functions are critical.
> > 
> > It would be good if someone would be inspired to go fix that library.
> 
> I can't vouch at all for the code at the following link:
> 
> http://fatmac.ee.cornell.edu/~goldwada/lookmath.info

.. that code isn't "full precision", it is "low to medium
precision". It might be what some people want, but it's not the
kind of stuff you put in the default math library.

It might be nice to have this available as a Linux package for people
who want it.

-- g




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

* Re: Redhat/Alpha computational performance????
  1998-03-03  5:00     ` Toon Moene
@ 1998-03-09  5:00       ` Matt Kennel
  1998-03-11  5:00         ` Greg Lindahl
  1998-03-11  5:00         ` Toon Moene
  0 siblings, 2 replies; 51+ messages in thread
From: Matt Kennel @ 1998-03-09  5:00 UTC (permalink / raw)



On 3 Mar 1998 22:19:48 GMT, Toon Moene <toon@moene.indiv.nluug.nl> wrote:
:mbkennel@yahoo.com (Matt Kennel) wrote:
:
:[ I thought of answering this one instead of the reply to my own question
:  about your code (much more productive :-) ]
:
:> I tried a variety of different programs.  Apparently the standard functions
:> are so bad that they became the bottleneck in all of them.  I profiled a
:> couple of them.
:> 
:> I don't know what SPECfp programs do, but it's impossible to do optical
:> physics without exponentials, sine and cosine (over both R and C).
:
:You bet standard functions are not a large part (performance wise) of SPECfp 
:programs, because that would be in conflict with the requirement that those 
:programs "don't spend significant time in library routines" - a requirement 
:that's not surprising if you take into account what SPECfp is trying to
:measure.

OK, I'll bite.

What is SPECfp trying to measure by virtue of banning benchmarks which
spend time in library routines?  It sort of seems analogous to banning 
benchmarks run on computers with memory caching turned on.  Certainly it
introduces a complexity, but the complexity is really there in people's
use.

I'll put forth the argument that the math libraries for standard functions
(exp, sin, cos, log & complex versions of such) really *are* special.  The
concepts they represent are timeless and will be essential to mathematical
computation as long as our species stays alive.

If SPECfp ignores this, the benchmarks are doing a disservice to the
community, and apparently leading computer designers into choices--often
very expensive to reverse--not appropriate for some large classes of
mathematical users.

:This would at least forego the cost of making a subroutine call.
:
:OTOH, if usage of exp, sin and cos is so heavy in your program, why don't you 
:use lookup tables; you'll bet we (using a rotated lat-lon grid for limited 
:area weather forecasting) do not want to invoke lots of sin and cos routines, 
:whereas for the coordinate transformations between regular and rotated 
:lat-lon, one *has* to.

Maybe, but we're using double precision complex.  

Unfortunately I suspect we need fairly decent accuracy since we're looking
at subtle dynamical effects which accumulate over hundreds of thousands of
iterations (each iteration composed of 2000 integration timesteps).
Inaccuracies or weirdities which transmit any excess high-frequency 'junk'
into the system will be preserved and amplified. Indeed those are the
effects we really care about---nonlinearities on the nondimensional scale of
1 part in 10^9 or 10^10 matter to us.

e.g. if sin^2 + cos^2 isn't quite 1 that means that false energy is being 
inserted into or dissipated from the system improperly.

-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



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

* Re: Redhat/Alpha computational performance????
  1998-03-09  5:00       ` Matt Kennel
  1998-03-11  5:00         ` Greg Lindahl
@ 1998-03-11  5:00         ` Toon Moene
  1998-03-11  5:00           ` Matt Kennel
  1 sibling, 1 reply; 51+ messages in thread
From: Toon Moene @ 1998-03-11  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) wrote:

> :OTOH, if usage of exp, sin and cos is so heavy in your program, why don't 
you 
> :use lookup tables;

> Maybe, but we're using double precision complex.  

OK, that's different stuff - we can get away with single precision reals.

> Unfortunately I suspect we need fairly decent accuracy since we're looking
> at subtle dynamical effects which accumulate over hundreds of thousands of
> iterations (each iteration composed of 2000 integration timesteps).

> e.g. if sin^2 + cos^2 isn't quite 1 that means that false energy is being 
> inserted into or dissipated from the system improperly.

I saw a post in comp.arch a couple of weeks ago saying that the Pentium (Pro) 
intrinsic sin and cos weren't very good at large arguments (i.e. their 
reduction to the interval [0, 1/4 pi) sucks).  This might, however, not be a 
problem in your case.

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



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

* Re: Redhat/Alpha computational performance????
  1998-03-11  5:00         ` Toon Moene
@ 1998-03-11  5:00           ` Matt Kennel
  0 siblings, 0 replies; 51+ messages in thread
From: Matt Kennel @ 1998-03-11  5:00 UTC (permalink / raw)



On 11 Mar 1998 20:47:39 GMT, Toon Moene <toon@moene.indiv.nluug.nl> wrote:
:mbkennel@yahoo.com (Matt Kennel) wrote:
:
:> :OTOH, if usage of exp, sin and cos is so heavy in your program, why don't 
:you 
:> :use lookup tables;
:
:> Maybe, but we're using double precision complex.  
:
:OK, that's different stuff - we can get away with single precision reals.

:I saw a post in comp.arch a couple of weeks ago saying that the Pentium (Pro) 
:intrinsic sin and cos weren't very good at large arguments (i.e. their 
:reduction to the interval [0, 1/4 pi) sucks).  This might, however, not be a 
:problem in your case.

No I don't think so, but that's good information to know.  

So far my heaviest use of sin + cos is indirect, via exponentials of complex
numbers (whose absolute magnitude is generally close to 1).  If the
reduction to angle in that case is OK, then I should be fine.  And of course
I need real exp. 

-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



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

* Re: Redhat/Alpha computational performance????
  1998-03-09  5:00       ` Matt Kennel
@ 1998-03-11  5:00         ` Greg Lindahl
  1998-03-11  5:00         ` Toon Moene
  1 sibling, 0 replies; 51+ messages in thread
From: Greg Lindahl @ 1998-03-11  5:00 UTC (permalink / raw)



mbkennel@yahoo.com (Matt Kennel) writes:

> If SPECfp ignores this, the benchmarks are doing a disservice to the
> community, and apparently leading computer designers into choices--often
> very expensive to reverse--not appropriate for some large classes of
> mathematical users.

SPEC never said they were all things to all people. If you want
microbenchmarks that use elementary math functions, they're easy
to write. If you think designers completely ignore such things as
a result of SPEC not testing them, I think you're wrong.

-- g



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

end of thread, other threads:[~1998-03-11  5:00 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <slrn6fc0t1.3en.mbkennel@lyapunov.ucsd.edu>
1998-02-27  5:00 ` Redhat/Alpha computational performance???? Greg Lindahl
1998-03-03  5:00   ` Matt Kennel
1998-03-03  5:00     ` Greg Lindahl
1998-03-03  5:00       ` Michal Jaegermann
1998-03-04  5:00         ` Matt Kennel
1998-03-04  5:00           ` Greg Lindahl
1998-03-05  5:00             ` Matt Kennel
1998-03-06  5:00               ` Michal Jaegermann
1998-03-08  5:00             ` H.W. Stockman
1998-03-08  5:00               ` Greg Lindahl
1998-03-05  5:00           ` Toon Moene
1998-03-05  5:00             ` Greg Lindahl
1998-03-06  5:00               ` Toon Moene
1998-03-07  5:00                 ` Greg Lindahl
1998-03-07  5:00                   ` Greg Lindahl
1998-03-06  5:00           ` Richard Henderson
1998-03-03  5:00     ` H.W. Stockman
1998-03-06  5:00       ` Richard Henderson
1998-03-03  5:00     ` Toon Moene
1998-03-09  5:00       ` Matt Kennel
1998-03-11  5:00         ` Greg Lindahl
1998-03-11  5:00         ` Toon Moene
1998-03-11  5:00           ` Matt Kennel
     [not found] <6d3tt1$2vs$1@mrnews.mro.dec.com>
1998-02-26  5:00 ` Greg Lindahl
1998-02-24  5:00 Matt Kennel
1998-02-24  5:00 ` Toon Moene
1998-02-24  5:00 ` Greg Lindahl
     [not found] ` <6cved5$4rh$1@mrnews.mro.dec.com>
1998-02-25  5:00   ` Matt Kennel
1998-02-25  5:00     ` Matt Kennel
1998-02-25  5:00       ` David.Mosberger
1998-02-26  5:00         ` Toon Moene
1998-02-26  5:00           ` H.W. Stockman
1998-02-27  5:00             ` Toon Moene
1998-02-27  5:00               ` Greg Lindahl
1998-02-27  5:00                 ` Toon Moene
1998-02-27  5:00               ` H.W. Stockman
1998-02-28  5:00                 ` Andi Kleen
1998-03-03  5:00               ` Ulrich Ruede
1998-02-27  5:00           ` Greg Lindahl
1998-03-03  5:00           ` Matt Kennel
1998-03-03  5:00             ` Greg Lindahl
1998-02-26  5:00       ` Mika Kortelainen
1998-02-28  5:00         ` Lupo LeBoucher
1998-03-01  5:00           ` Michal Jaegermann
1998-03-02  5:00           ` Greg Lindahl
1998-03-05  5:00             ` Lupo LeBoucher
1998-02-25  5:00     ` Peter Mardahl
1998-02-26  5:00       ` Greg Lindahl
1998-02-26  5:00     ` Greg Lindahl
1998-02-26  5:00     ` Dan Bethe
1998-02-27  5:00       ` Toon Moene

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