* 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; 23+ 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] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
1999-01-23 21:49 Why Alpha? (aka: is it worth it?) Adam Wiggins
@ 1999-01-23 22:13 ` warp
1999-01-23 22:18 ` Andrei A. Dergatchev
` (3 subsequent siblings)
4 siblings, 0 replies; 23+ messages in thread
From: warp @ 1999-01-23 22:13 UTC (permalink / raw)
To: axp-list
Adam Wiggins wrote:
[massive snip]
> 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.
MetroX has Alpha/Linux native X servers for quite some time now, and
IMHO,
they kick ass in the speed department... (I'm running a Fire GL 1000
Pro).
They also sell a native Alpha OpenGL kit, but that one is pretty
expensive.
Since a short while, there is an Alpha native Blender available :)
Gimp, Netscape and MUD all run perfectly fine on Alpha for quite some
time.
> 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].
AGP doesn't make a big difference and you can bet that even my humble
21164a 366MHz Alpha kicks my PII@450MHz's butt seriously when it comes
to heavy Gimping and other gfx stuff :)
AGP is only good (opinions vary) for reading cached textures and
stuff directly from main memory (which is /way/ slower than accessing
the videocard's /native/ memory) and this is only used in games...
> 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.
Depends on what you want to do, for having a good time, lot's of
tweaking and the highest coolness factor on earth > get Alpha.
To be square, dull and "everything just works" > get x86 :)
Regards,
Antoine
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
1999-01-23 21:49 Why Alpha? (aka: is it worth it?) Adam Wiggins
1999-01-23 22:13 ` warp
@ 1999-01-23 22:18 ` Andrei A. Dergatchev
1999-01-23 22:38 ` Daniel J. Frasnelli
` (2 subsequent siblings)
4 siblings, 0 replies; 23+ messages in thread
From: Andrei A. Dergatchev @ 1999-01-23 22:18 UTC (permalink / raw)
To: axp-list
Hi!
As I bought Alpha only recently, just a few comments.
[snip]
> probably $1000. The basic Alpha system I'm looking at (533 mhz
> 21164) is probably going to cost me well over double that.
Obviously you're thinking about LX or UX. I'm, for one, bought SX - it's a bit
cheaper. You probably want to look in comp.os.linux.alpha - there is some
discussion going on about cheapest way to build an Alpha system.
Sorry don't have experience with apps yet.
> So - is it worth it? Will I see enough of a speedup from a (say) PII-266
> to a 21164-533?
Well, I safely should say - it depends :-) For example, as you mentioned
an intensive math - I see a clear difference for FEM package I'm using between
PII-350 and my SX533. However, it might be rather specific - iterations
to get smaller difference between large float values are very sensitive to
32/64 floating of course.
I suppose applications shouldn't be too faster unless package is rewritten
for Alpha ?
> What about from a PII-450 to a 21164-533?
I'd expect that most of applications won't see a difference larger then a few %
> 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. :)
:-) We like them not (only) because they can run similar appls as Intel can.
>
> Thanks,
> Adam
So, for me it's a floating math and 64 bit.
Andrei
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
1999-01-23 21:49 Why Alpha? (aka: is it worth it?) 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 3:08 ` Re[2]: " Dan
1999-01-24 7:31 ` norvierk
1999-01-25 14:39 ` Adam C. Powell, IV
4 siblings, 1 reply; 23+ messages in thread
From: Daniel J. Frasnelli @ 1999-01-23 22:38 UTC (permalink / raw)
To: Adam Wiggins; +Cc: AXP List
> I've been salivating over getting an alpha workstation for some years
> now.
Ditto that. The stability of Linux/axp was a prohibitive factor
for me a couple years ago when considering a system from Aspen. To the
credit of Linux/axp stability, Linus is running an Alpha (600/xxx) at home
alongside his other toys. In general, software will be of higher quality
if the developers have to rely on it's proper operation to get work done.
> My work is frequently heavily math intensive, especially with
> floating point. Now I'm very seriously considering making the switch, and
Sounds like my work as well. My platform of choice for
fp-intensive things is SGI (8 processor Origin2000, 4 processor Onyx2) or
a cluster of 40 or so Suns simply because that's what we have available at
work.
> 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
Not sure what PC vendor you are referring to, but the lowest price
I could come up with for a K6/400 system with 256M/9G UW-SCSI disk
subsystem lay around $1600 without monitor. Guess I just choose not to
skimp when it comes to designing a personal system.
> 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.
My chips lay with the AMD K7 if/when it is released. One thing
that really sickens me is that from an architectural perspective, x86 has
not changed much at all in the two decades since the 8086. They refine
the fab process, crank it up to higher speeds, add marketing buzzword this
and that functionality but in reality, nothing new is to be found under
the sun.
> 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.
The Linux/x86 user community is many times larger than the
Linux/axp community. For that reason, the x86 people get the latest
greatest candy first in the Linux world. No bones about it, x86 is where
you want to be if you cannot do without someone to hold your hand and walk
you through problems.
> 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.)
Metrolink's Extreme3D product will be released for Linux/axp
probably within one month. Until that time, I'll gladly use their MetroX
server (what is it, $30 now?).
> 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.
You are comparing apples and oranges. Read my last post regarding
benchmarking. It really, really (really, folks!) depends on what your
application is. For floating-point intensive code, the Alpha will win
hands down when pitted against a P2/266 - especially on large matrix
manipulations or bitonic searches. But compared to a P2/450, I can't
really say. Don't have one running Linux to compare it to.
For other things, the x86 may win over the Alpha. The best thing
to do is find a friend with an x86 system like the one you might build
and one with an Alpha like you might purchase. Bring along your code,
compile on both, and compare side-by-side. Spend a couple hours in front
of each one. Contrary to what the marketing droids want you to believe,
system performance comparison is a highly technical art and not one which
can be summarized by spec95foobar and specbob this and that.
Here's my over-generalized concluding comparison. If you want
compatibility with the rest of the Linux/GNU world 100% of the time, play
a lot of games, and cannot do without DOS or Windows applications, x86 is
the only way to go. At least at the present time. If you code in your
sleep, can stand portability problems and fix them, and your fp-intensive
code runs faster on the Alpha - go with the Alpha.
Daniel
---
Any sufficiently advanced technology is indistinguishable from magic.
-- Arthur C. Clarke
^ permalink raw reply [flat|nested] 23+ 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; 23+ 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] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
1999-01-23 23:51 Why Alpha? (aka: is it worth it?) 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
0 siblings, 2 replies; 23+ messages in thread
From: Michal Jaegermann @ 1999-01-24 0:06 UTC (permalink / raw)
To: axp-list
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. Is your main application calculating square root
tables? Then you better watch if results are not only fast but also
correct on the whole covered range. :-)
--mj
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
1999-01-24 0:06 ` Michal Jaegermann
@ 1999-01-24 0:22 ` Daniel J. Frasnelli
1999-01-24 2:58 ` Wes Bauske
1 sibling, 0 replies; 23+ messages in thread
From: Daniel J. Frasnelli @ 1999-01-24 0:22 UTC (permalink / raw)
To: axp-list
> > 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.
If you read what I wrote, the statement compared a P2/266 to
the 533Mhz axp for floating point intense code. Unless you actually meant
to imply that the 266Mhz P2 beats out the Alpha at math ops...
> Big deal! Pentium has sqrt in silicon while Alpha, as RISC, in an
> external library. Is your main application calculating square root
> tables? Then you better watch if results are not only fast but also
> correct on the whole covered range. :-)
Exactly. RISC processors rely on the intelligence of compilers to
generate optmizied code, whereas the x86 architecture can take crappy code
and still make it perform decently. One more reason Digital's compilers
under AlphaLinux make for a good value and a worthwhile purchase. Hello,
DEC, are you listening? :-)
Daniel
---
Any sufficiently advanced technology is indistinguishable from magic.
-- Arthur C. Clarke
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
1999-01-24 2:58 ` Wes Bauske
@ 1999-01-24 2:11 ` Rich Payne
0 siblings, 0 replies; 23+ messages in thread
From: Rich Payne @ 1999-01-24 2:11 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
>
> 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 believe that somebody had said at one time that the 21264
did have a sqrt() function. Can anybody confirm this?
>
> Wes
>
> --
> 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
--
Rich Payne
www.alphalinux.org
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
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
1 sibling, 1 reply; 23+ messages in thread
From: Wes Bauske @ 1999-01-24 2:58 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.
Wes
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re[2]: Why Alpha? (aka: is it worth it?)
1999-01-23 22:38 ` Daniel J. Frasnelli
@ 1999-01-24 3:08 ` Dan
0 siblings, 0 replies; 23+ messages in thread
From: Dan @ 1999-01-24 3:08 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Body --]
[-- Type: text/plain, Size: 1406 bytes --]
> You are comparing apples and oranges. Read my last post regarding
> benchmarking. It really, really (really, folks!) depends on what your
> application is. For floating-point intensive code, the Alpha will win
> hands down when pitted against a P2/266 - especially on large matrix
> manipulations or bitonic searches. But compared to a P2/450, I can't
> really say. Don't have one running Linux to compare it to.
Well, at the risk of being irrelevant, I'll answer that by throwing out a data
point:
I have an SX164 (533MHz) with 128MB of RAM and SCSI, and a buddy of mine has a
P2 450 with 256MB of RAM and Ultra EIDE, both with Red Hat 5.2. After several
comparisons, including a few benchmarks (such as "whetstone", rc5des, and Linux
kernel compilations :) we have reached the opinion that my box is somewhat
slower than his on integer/miscellaneous stuff, depending on what you're doing.
"Somewhat" is between 15% and 30%.
On floating point, my box is about 25% - 30% faster, fairly reliably. (Well,
with libffm anyway. Without libffm, we're about the same.)
This is, of course, highly non-scientific and subjectively arbitrary, but it's
Good Enough For Me(TM). There are times when I wish I'd gone Intel, and times
when I just stand up and cheer over how cool the Alpha is. I don't keep track
of which outnumbers which. :)
Dan Morrill
Computer Scientist, Physicist
^ permalink raw reply [flat|nested] 23+ messages in thread
* 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; 23+ 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] 23+ messages in thread
* 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, 0 replies; 23+ messages in thread
From: Wes Bauske @ 1999-01-24 5:36 UTC (permalink / raw)
To: axp-list
Munagala V. S. Ramanath wrote:
>
> > 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 ...
>
Not many people have that little piece of code you describe.
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.
I think PII can outperform Alpha on transcendentals and divide.
Watch how you use those and you'll have fast code in general,
not just Alphas. Note I use mainly FP calculations, very little
is integer in the kernels I worry about performance on.
Wes
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
1999-01-23 21:49 Why Alpha? (aka: is it worth it?) Adam Wiggins
` (2 preceding siblings ...)
1999-01-23 22:38 ` Daniel J. Frasnelli
@ 1999-01-24 7:31 ` norvierk
1999-01-25 14:39 ` Adam C. Powell, IV
4 siblings, 0 replies; 23+ messages in thread
From: norvierk @ 1999-01-24 7:31 UTC (permalink / raw)
To: AXP List
On Sat, 23 Jan 1999, Adam Wiggins wrote:
>
> 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 can only comment on the cost side, having researched moderately and
finally finding an affordable motherboard to replace my PII. I ordered a
PC164SX board + 21164PC/533 for a mere US$400 (www.maxvision.com) and found
the same combo at another vendor (www.dcginc.com) for $475. I expect (from
benchmarks and testimonials) to get PII-350'ish integer performance, and I
also get to abandon x86 and go 64-bit (if I don't count my UDB :().
There's also this:
SPECfp95:
System Result Baseline Processor
Intel SE440BX 12.4 11.4 Pentium II
motherboard 400MHz
(400MHz)
Alpha PC164SX 16.1 14.1 533 MHz
21164PC
Randall
^ permalink raw reply [flat|nested] 23+ 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; 23+ 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] 23+ 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
1 sibling, 0 replies; 23+ messages in thread
From: Wes Bauske @ 1999-01-24 19:43 UTC (permalink / raw)
To: axp-list
Munagala V. S. Ramanath wrote:
>
> > 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 ?
>
Never ran just that code.
> 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.)
>
It's embbeded in the application so it would be
difficult to just show that. The basic idea is
that if you know the range of sqrt() input values
your code will generate, build a table of values
sampled in that space. Then all you need is some
sort of twiddle. Those depend on how good you need
the answer to be. One simple form is an interpolation
between values. You could look at the math libs to
see how they hone in on a value also. If Knuth has
it in Metafont, it should be reasonable. He probably
did it for the same reason I did.
Be careful with recursive/iterative codes because they
can be sensitive to errors.
Wes
^ permalink raw reply [flat|nested] 23+ 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
1 sibling, 0 replies; 23+ messages in thread
From: Daniel J. Frasnelli @ 1999-01-25 1:38 UTC (permalink / raw)
To: Munagala V. S. Ramanath; +Cc: axp-list
> 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 ?
You may want to check out the Fortran77 and Fortran90 compiled
code execution benchmarks at http://www.polyhedron.com/compare.html.
Unfortunately, I believe they only compare benchmarks on Windows.
Something to keep in mind as well - the 21164a can execute two
floating point instructions per clock cycle (one FADD, one FMUL). If you
can control resulting asm to a fine degree with a good compiler, floating
point operations should in theory be twice as fast as on the P2.
Daniel
---
Any sufficiently advanced technology is indistinguishable from magic.
-- Arthur C. Clarke
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
1999-01-23 21:49 Why Alpha? (aka: is it worth it?) Adam Wiggins
` (3 preceding siblings ...)
1999-01-24 7:31 ` norvierk
@ 1999-01-25 14:39 ` Adam C. Powell, IV
1999-01-25 17:07 ` Daniel J. Frasnelli
4 siblings, 1 reply; 23+ messages in thread
From: Adam C. Powell, IV @ 1999-01-25 14:39 UTC (permalink / raw)
To: axp-list
Adam Wiggins wrote:
> 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
> [snip]
Update: GNOME is no longer slow. The problem was a kernel bug in 2.1.125 that
caused poll() to suck CPU. As of 2.2.0-pre6 (and -final), it works beautifully.
One tiny correction: including load/store, alpha 21164 can execute up to *four*
floating-point instructions per cycle. Which is how Goto's gemm inner loop gets
so close to two floating-point *operations* per cycle- one add and one multiply.
Also, Daniel, does your high regard for SGI Origin take price into
consideration? We've found that Origin nodes cost roughly five times as much as
alphas with roughly the same fp performance, and for matrix multiply and related
(e.g. LU decomposition) our alphas are about four times faster! And SGI memory
prices are absolutely outrageous. If they were similarly priced, the Origin's
memory architecture for SMP might be worth the speed penalty of individual
processors, but they're not...
Zeen,
-Adam `Cold Fusion' Powell, IV http://www.ctcms.nist.gov/~powell/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
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
0 siblings, 1 reply; 23+ messages in thread
From: Daniel J. Frasnelli @ 1999-01-25 17:07 UTC (permalink / raw)
To: Adam C. Powell, IV; +Cc: axp-list
> One tiny correction: including load/store, alpha 21164 can execute up
> to *four* floating-point instructions per cycle. Which is how Goto's
Hmm. Have a reference for this? The 500Mhz 21164a is rated for
close to one GFLOPS per second per processor, which I thought could be
explained by one FADD, one FMUL per clock cycle (0.5Gc*2).
> gemm inner loop gets so close to two floating-point *operations* per
> cycle- one add and one multiply.
> Also, Daniel, does your high regard for SGI Origin take price into
> consideration? We've found that Origin nodes cost roughly five times
> as much as
Eh, sir? Please re-read my message. My "platform of choice" is
constrained by what we have available - an 8 proc Origin2k and 4 proc
Onyx2 RE2. If I were running the "show" and independently wealthy, there
certainly would be a stack of DEC systems in place of the SGIs. But I'm
not, nor do I forsee funding for an Alpha solution in the near future.
(On the side, we are designing a concept Beowulf cluster from junked PC's
in hopes of obtaining funding for an AlphaLinux cluster but that is in the
distant future).
> alphas with roughly the same fp performance, and for matrix multiply and
> related (e.g. LU decomposition) our alphas are about four times faster!
No doubt, I would prefer a cluster of alphas to an Origin any day.
> And SGI memory prices are absolutely outrageous. If they were similarly
No quarrel here.
> priced, the Origin's memory architecture for SMP might be worth the
> speed penalty of individual processors, but they're not...
The benefits of Origin scalability may be overshadowed by the raw
horsepower per node of an Alpha cluster. This has always be a paradox
when determining target equipment for floating-point intense algorithmic
analyses or other computations: Single Fast or Several Slow. The cluster
of 12 Alphas strung together by 100Tx ethernet (or SCSI, if you're a Real
Programmer) will always win the cost-performance analysis compared to a
12-processor SGI or other MP machine. Plus, expanding your virtual
parallel computer is as simple as plugging another compute node into the
hub with an AlphaCluster (hey, a new term) solution - upgrading the Origin
is costly to say the least.
Anyhow, I hope that clears up that. No idea how you extrapolated
that I have such high regards for the Origin; again, it is simply what we
have available to work with. I purchased an Alpha so I can have the
capability to do fp-intense things at home and not rely completely on the
work-provided solution.
Best regards,
Daniel
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha? (aka: is it worth it?)
1999-01-25 17:07 ` Daniel J. Frasnelli
@ 1999-01-25 17:56 ` Adam C. Powell, IV
1999-01-25 18:40 ` Load Balancing?? Aaron
1999-01-25 20:10 ` Cygnus/GNU axp progress? (Re: Why Alpha? (aka: is it worth it?)) Daniel J. Frasnelli
0 siblings, 2 replies; 23+ messages in thread
From: Adam C. Powell, IV @ 1999-01-25 17:56 UTC (permalink / raw)
To: axp-list
"Daniel J. Frasnelli" wrote:
> > One tiny correction: including load/store, alpha 21164 can execute up
> > to *four* floating-point instructions per cycle. Which is how Goto's
> Hmm. Have a reference for this? The 500Mhz 21164a is rated for
> close to one GFLOPS per second per processor, which I thought could be
> explained by one FADD, one FMUL per clock cycle (0.5Gc*2).
Right, 2 FLOPS = floating point *operations* per clock, i.e. one add and one
multiply. But if this were all you could do, you'd real fast run out of
registers to add and multiply together, and would not get anywhere near the
theoretical 2 operations/clock on a sustained basis. So, four *instructions*
per clock refers to these two plus two loads and/or stores to feed the
registers, which don't count in FLOPS numbers. The assembly source of K.
Goto's gemm is a great place to see this in action- the inner loop comes very
close to 2 FLOPS/clock, and the whole thing sustains an average of about
1.5-1.6 FLOPS/clock, which is very good. (I think it's slightly faster than
the DU gemm, but don't quote me on that.)
Alpha is pretty amazing, isn't it?
> > Also, Daniel, does your high regard for SGI Origin take price into
> > consideration? We've found that Origin nodes cost roughly five times
> > as much as
> Eh, sir? Please re-read my message. My "platform of choice" is
> constrained by what we have available - an 8 proc Origin2k and 4 proc
> Onyx2 RE2.
Sorry, I misunderstood. :-)
Zeen,
-Adam `Cold Fusion' Powell, IV http://www.ctcms.nist.gov/~powell/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
^ permalink raw reply [flat|nested] 23+ messages in thread
* Load Balancing??
1999-01-25 17:56 ` Adam C. Powell, IV
@ 1999-01-25 18:40 ` Aaron
1999-01-25 20:10 ` Cygnus/GNU axp progress? (Re: Why Alpha? (aka: is it worth it?)) Daniel J. Frasnelli
1 sibling, 0 replies; 23+ messages in thread
From: Aaron @ 1999-01-25 18:40 UTC (permalink / raw)
To: axp-list
I've been experiemnting with some load balancing experiments. Using a
single AlphaLinux box to point machines to a "cluster" I've been looking
at some other "clustering" solutions, but none seem to be ready for prime
time. Does anyone have expierence with using alpha/linux in a
clustered/load balanced environemnt?
\--------------------------------------------------------------------------/
\ Aaron Gee AKA Spdracer /
\"Maseratis are more than cars, they are a passion that is understood /
\by some, but enjoyed by a very few" /
\URL-----> http://maserati.worldwide.net /
\e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 /
\--------------------------------------------------------------/
\ | /
\_|_/
(---)
0
^ permalink raw reply [flat|nested] 23+ messages in thread
* Cygnus/GNU axp progress? (Re: Why Alpha? (aka: is it worth it?))
1999-01-25 17:56 ` Adam C. Powell, IV
1999-01-25 18:40 ` Load Balancing?? Aaron
@ 1999-01-25 20:10 ` Daniel J. Frasnelli
1999-01-25 20:21 ` Greg Lindahl
1 sibling, 1 reply; 23+ messages in thread
From: Daniel J. Frasnelli @ 1999-01-25 20:10 UTC (permalink / raw)
To: Adam C. Powell, IV; +Cc: axp-list
> > close to one GFLOPS per second per processor, which I thought could be
Feel free to laugh and poke fun; I was sitting in a public
computer lab surrounded by giggly people and could not think straight.
Ought to put a sign around my neck which reads "Reduction of redudant data
redundacy dunce".
> theoretical 2 operations/clock on a sustained basis. So, four *instructions*
> per clock refers to these two plus two loads and/or stores to feed the
> registers, which don't count in FLOPS numbers. The assembly source of K.
Ah, I see.
> Goto's gemm is a great place to see this in action- the inner loop comes very
> close to 2 FLOPS/clock, and the whole thing sustains an average of about
> 1.5-1.6 FLOPS/clock, which is very good. (I think it's slightly faster than
> the DU gemm, but don't quote me on that.)
Which reminds me, has anyone performed a comparison of resulting
binary using the DU compilers and the latest/greatest EGCS/GNU suite? If
the nbench software is any indication, fp and memory ops seem to be at
least 2-3x faster under DU when compiled with the Digital compilers.
> Alpha is pretty amazing, isn't it?
Continually amazing. I suspect the AMD K7 will likewise be an
architectural masterpiece.
> Sorry, I misunderstood. :-)
No problem. I really disdain the MIPSpro compilers personally -
their quirks force you to work around broken things in Irix, leading to
less portable code.
Daniel
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Cygnus/GNU axp progress? (Re: Why Alpha? (aka: is it worth it?))
1999-01-25 20:10 ` Cygnus/GNU axp progress? (Re: Why Alpha? (aka: is it worth it?)) Daniel J. Frasnelli
@ 1999-01-25 20:21 ` Greg Lindahl
0 siblings, 0 replies; 23+ messages in thread
From: Greg Lindahl @ 1999-01-25 20:21 UTC (permalink / raw)
To: axp-list
> Which reminds me, has anyone performed a comparison of resulting
> binary using the DU compilers and the latest/greatest EGCS/GNU suite? If
> the nbench software is any indication, fp and memory ops seem to be at
> least 2-3x faster under DU when compiled with the Digital compilers.
In this case, Goto's GEMM routines are written in assembler, and yes,
they are faster than the DU GEMM routines, which are also written in
assembler. Only a few programs see 2x or 3x slowdown for g77+fast math
verses DU; most see a much smaller slowdown, and one SPECfp benchmark
is 7% faster with egcs-1.0.3...
-- g
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Why Alpha ? (aka:is it worth it ?)
1999-01-26 19:06 Re:Why Alpha ? (aka:is it worth it ?) Luigi Cavallo
@ 1999-01-26 19:29 ` Wes Bauske
0 siblings, 0 replies; 23+ messages in thread
From: Wes Bauske @ 1999-01-26 19:29 UTC (permalink / raw)
To: axp-list
Luigi Cavallo wrote:
>
> A bad compiler can punish a worthy hardware.
>
I'd also add bad code style to that statement.
Wes
^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~1999-01-26 18:56 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-23 21:49 Why Alpha? (aka: is it worth it?) 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 3:08 ` Re[2]: " Dan
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
1999-01-25 18:40 ` Load Balancing?? Aaron
1999-01-25 20:10 ` Cygnus/GNU axp progress? (Re: Why Alpha? (aka: is it worth it?)) Daniel J. Frasnelli
1999-01-25 20:21 ` Greg Lindahl
-- strict thread matches above, loose matches on Subject: below --
1999-01-23 23:51 Why Alpha? (aka: is it worth it?) 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-24 3:09 Munagala V. S. Ramanath
1999-01-24 5:36 ` Wes Bauske
1999-01-24 16:19 Munagala V. S. Ramanath
1999-01-24 19:43 ` Wes Bauske
1999-01-25 1:38 ` Daniel J. Frasnelli
1999-01-26 19:06 Re:Why Alpha ? (aka:is it worth it ?) Luigi Cavallo
1999-01-26 19:29 ` Why " Wes Bauske
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox