Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Why Alpha? (aka: is it worth it?)
@ 1999-01-24  3:09 Munagala V. S. Ramanath
  1999-01-24  5:36 ` Wes Bauske
  0 siblings, 1 reply; 19+ messages in thread
From: Munagala V. S. Ramanath @ 1999-01-24  3:09 UTC (permalink / raw)
  To: axp-list

> Michal Jaegermann wrote:
> > 
> > Munagala V. S. Ramanath wrote:
> > >
> > >     There was one guy who posted here a few weeks ago about running
> > >     a loop which simply computed sqrt(). The 450MHz Pentium II
> > >     outperformed the 533MHz Alpha.
> > 
> > Big deal! Pentium has sqrt in silicon while Alpha, as RISC, in an
> > external library. 
> 
> Multiple RISC implementations have sqrt() in silicon.
> It can improve performance significantly just by not
> having the function call overhead.

    I'm just curious about areas where the PII outperforms the higher
    clocked Alphas and what the reasons might be. Is it possible that
    a tightly hand-coded inlined sqrt() on the Alpha could beat the
    PII ?  After all, the higher clock speed should mean something ...

    Ram


^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re:Why Alpha ? (aka:is it worth it ?)
@ 1999-01-26 19:06 Luigi Cavallo
  1999-01-26 19:29 ` Why " Wes Bauske
  0 siblings, 1 reply; 19+ messages in thread
From: Luigi Cavallo @ 1999-01-26 19:06 UTC (permalink / raw)
  To: axp-list


Hi, just my little experience with fortran codes on x86 and axp.
As already pointed out, it strongly depends on the code.
With a sqrt() based code I have, a PII-400 and a LX-660 run head to
head. (Thanx to this discussion I finally understood the reason)
With a matrix multiplication based code, the LX-600 is almost twice
faster. 
So, I bought a PII for to run the first code, and I will stay happily
on the alpha with the second code.

However, I think that the relevance of the compiler hasn't been stressed
out properly. My experience is that fortran from portland group on the x86
is damned faster than g77. The speed up (my short experience) can be in
the 20-50% range (not bad). I never tried g77 on the alpha, I always used
DEC compiled executables. However,  as far as I know g77 is very slower
than DEC fortran. (Is it true?)

Comparing a g77 axp run with a portland x86 run is not fair. I think this
is another case of comparing apples and oranges.
The same holds for a DEC fortran run compared to a g77 x86 run.
BTW, also a g77 axp vs g77 x86 is not a correct benchmark. IMHO, the
proper comparison should be done with executables compiled with the best
compiler available on each platform. (I know it is obvious!)

A bad compiler can punish a worthy hardware.

Luigi

-----------------------------------------------------------------------------
| Dr. Luigi Cavallo                                   Dept. of Chemistry    |
| Ph:  ++39-81-5476534                                Univ. of Naples       |
| Fax: ++39-81-5527771                                Via Mezzocannone 4    |
| Email cavallo@chemna.dichi.unina.it                 I-80134 Napoli, ITALY |
-----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
@ 1999-01-24 16:19 Munagala V. S. Ramanath
  1999-01-24 19:43 ` Wes Bauske
  1999-01-25  1:38 ` Daniel J. Frasnelli
  0 siblings, 2 replies; 19+ messages in thread
From: Munagala V. S. Ramanath @ 1999-01-24 16:19 UTC (permalink / raw)
  To: axp-list

> This is somewhat what I do though in my own code. I implement
> a sqrt() as a table lookup plus twiddle so I don't have to 
> rely on anyone's sqrt() function call. What I do is not good 
> to the ULP (unit of least precision, ie., last bit),
> but good enough for my algorithm. It is also faster than any 
> silicon implementation I know of. Doing that sort of thing
> requires a good understanding of how your algorithm works.
> Anyway, my code is about twice as fast on a 533LX vs a PII400.

    That's great and exactly the kind of experience I was hoping for.
    How much faster on the 533LX is your code compared to the native
    silicon sqrt() on the PII400 ?

    Could you post the code or is it proprietary ?

    (Knuth also has a table lookup based implementation for a variety of
    the transcendental functions in Metafont and may be a useful
    starting point for people trying this approach.)

    Ram


^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
@ 1999-01-23 23:51 Munagala V. S. Ramanath
  1999-01-24  0:06 ` Michal Jaegermann
  0 siblings, 1 reply; 19+ messages in thread
From: Munagala V. S. Ramanath @ 1999-01-23 23:51 UTC (permalink / raw)
  To: axp-list

> application is.  For floating-point intensive code, the Alpha will win
> hands down when pitted against a P2/266 - especially on large matrix

    There was one guy who posted here a few weeks ago about running
    a loop which simply computed sqrt(). The 450MHz Pentium II
    outperformed the 533MHz Alpha. Others confirmed in their responses
    that for sqrt() the Pentium does indeed outperform the Alpha even
    when the fast float libraries are used.

    Has anyone run similar single-function tests for say, pow(), sin(),
    cos(), tan() etc. ?

    Ram


^ permalink raw reply	[flat|nested] 19+ messages in thread
* Why Alpha? (aka: is it worth it?)
@ 1999-01-23 21:49 Adam Wiggins
  1999-01-23 22:13 ` warp
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Adam Wiggins @ 1999-01-23 21:49 UTC (permalink / raw)
  To: AXP List


Hi all,

   I've been salivating over getting an alpha workstation for some years
now.  My work is frequently heavily math intensive, especially with
floating point.  Now I'm very seriously considering making the switch, and
have been investigating prices and options from various Linux-friendly
vendors.  Looking at the prices, I'm starting to wonder if it is really
"worth it".  I could build a 400 mhz K6-based system w/ SCSI and lots of
RAM for probably $1000.  The basic Alpha system I'm looking at (533 mhz
21164) is probably going to cost me well over double that.  However, I've
become increasingly disillusioned with the shody design of x86 (I cut my
programming teath on the 68000 and the Sparc, which at least had reasonbly
clean designs).  In particular we've had prototype Katmais (that's
the Intel Pentium III) in the office for about 6 months now, and they
are a joke.  It's time for x86 to leave my desktop.

   I've been following the threads about people "reventing" back to
x86, and it sounds like there's argument either way.  What I was hoping
for it to get those same people to give some specifics as to why
one or the other is better.

   My needs include web browsing (Netscape or the equivilent), The GIMP, 3D
tools (such as Blender and OpenGL acceleration), and running MUD server(s).
None of this stuff is necessarily bound to any specific platform; hopefully
with the Xi, Metro-X, and SuSE Permedia-accelerated X servers on the way,
3D acceleartion will finally be a reality for the Alpha.  (Currently I do all
my stuff on the 3dfx series of 3d accelerators, but from the looks of it Glide
is not going to make it to the Alpha anytime soon.  A true shame.)

   However, I've heard a lot of people having problems with what seem like
pretty basic things to me; eg, getting Netscape/Mozilla to run properly (it's
buggy enough on the x86!), or Gnome running slowly.  There are also some small
niceties missing - for example, AGP video, which makes a big difference in
screen update time when panning around a nearly full-screen image in the Gimp
in my prefered screen mode, 1280x1024x[16|24].

   So - is it worth it?  Will I see enough of a speedup from a (say) PII-266
to a 21164-533?  What about from a PII-450 to a 21164-533?  Better yet, what's
going to make the difference in speed - would it be better to go up in mhz
(say, to 600 or more) or to get a motherboard with more cache?  I'm already
planning on UW-SCSI and at least 256 megs of RAM, of course.

I'd like to hear both sides to this story, and I'm sure others would as well.
I've always thought of Alpha as sort of a holy grail to deliver Linux users
from the chains of x86, but lurking on this list has disillusioned me a little
bit.  So convince me - you guys are using Alphas, so you must like 'em. :)

Thanks,
Adam



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

end of thread, other threads:[~1999-01-26 18:56 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-24  3:09 Why Alpha? (aka: is it worth it?) Munagala V. S. Ramanath
1999-01-24  5:36 ` Wes Bauske
  -- strict thread matches above, loose matches on Subject: below --
1999-01-26 19:06 Re:Why Alpha ? (aka:is it worth it ?) Luigi Cavallo
1999-01-26 19:29 ` Why " Wes Bauske
1999-01-24 16:19 Why Alpha? (aka: is it worth it?) Munagala V. S. Ramanath
1999-01-24 19:43 ` Wes Bauske
1999-01-25  1:38 ` Daniel J. Frasnelli
1999-01-23 23:51 Munagala V. S. Ramanath
1999-01-24  0:06 ` Michal Jaegermann
1999-01-24  0:22   ` Daniel J. Frasnelli
1999-01-24  2:58   ` Wes Bauske
1999-01-24  2:11     ` Rich Payne
1999-01-23 21:49 Adam Wiggins
1999-01-23 22:13 ` warp
1999-01-23 22:18 ` Andrei A. Dergatchev
1999-01-23 22:38 ` Daniel J. Frasnelli
1999-01-24  7:31 ` norvierk
1999-01-25 14:39 ` Adam C. Powell, IV
1999-01-25 17:07   ` Daniel J. Frasnelli
1999-01-25 17:56     ` Adam C. Powell, IV

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