Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Performance revisited
@ 1996-10-01 14:21 Stephen J. Gaudet
  0 siblings, 0 replies; 20+ messages in thread
From: Stephen J. Gaudet @ 1996-10-01 14:21 UTC (permalink / raw)


Hello 

>>I thought some people might be interested in some performance
>>comparisons between three different machines.

You shouldn't be too surprised, these are old systems, old obsolete processors.

>>The machines are:-
                                                        SPECint92 SPECfp92
>>a) DEC 3000-800 (200 Mhz 21064) running DEC UNIX      130       184
>>b) DEC Noname (266 Mhz 21066) running DEC UNIX        98        112
>>c) DEC UDB (266 Mhz 21066) running Linux              98        112 (est)
>>d) Intel Box (180 Mhz Pentium) running Linux          

No specs on a PP180.  However, a Pentium 133 delivers  155       116

The older 3000 is Turbo channel, dead product.  The 21066 is a good
processor, however, never had the performance seen in the 21064s or newer
Intels.

As you can see, the Pentium should kill the older Alpha in performance.
However, the newer 21164a up against a Pentium Pro is a different story,
Alpha wins!

Cheers,

Steve
 +1-603-421-1800	http://www.dcginc.com
 ______________________________________________________________
| Stephen Gaudet        |  ** Digital Authorized reseller **   |
| DCG Computers Inc.    | Alpha, Intel Pentium Pro systems and |
| 35 Otterson Rd.       | motherbds running NT, Linux, & UNIX  |
| Londonderry, NH 03053 |--------------------------------------|
| ph:603-421-1800   fax:603-421-0911    e-mail:sjg@dcginc.com  |
 --------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <199610061512.RAA18788@wopr.campus.luth.se>]
[parent not found: <331bABA7yRVyEwMz@fgel.demon.co.uk>]
[parent not found: <199610011558.IAA00777@panda.mosberger>]
* Re: Performance revisited
@ 1996-10-01 15:58 David Mosberger-Tang
  0 siblings, 0 replies; 20+ messages in thread
From: David Mosberger-Tang @ 1996-10-01 15:58 UTC (permalink / raw)


> Our conclusion has been that Linux/Alpha is not a realistic choice at
 > the moment, and because DEC UNIX licenses are so expensive we are better
 > off using Intel Pentiums with Linux.

May I ask how much time you spent optimizing the code for CISC (and/or
x86) and how much time was spent optimizing it for RISC (and/or
Alpha)?

The reason I'm asking is that DEC's compilers do a pretty good job at
taking legacy code and making it perform reasonably well.  gcc, in
contrast, typically needs a little help (both for the x86 and the
Alpha) and it often makes a huge performance difference.

The other potential culprit is libm.  Unfortunately, nobody has found
time yet to optimize it for the Alpha.  But if it's just one or two
functions, it may be easy to correct those (and, hey, it would be one
or two functions less that perform badly in libm... ;-)

The best thing to do is to run gprof on your program.  It's always
good to understand why a program performs the way it does.  Given the
huge difference between gcc and DEC cc, I suspect it's something
simple.

	--david

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <Pine.GSO.3.93.961001100023.1917B-100000@computer.soc.uwm.edu>]
[parent not found: <2KqZYGAJ6RUyEwHZ@fgel.demon.co.uk>]
* Re: Performance revisited
@ 1996-10-01 15:22 Lee Burnside
  0 siblings, 0 replies; 20+ messages in thread
From: Lee Burnside @ 1996-10-01 15:22 UTC (permalink / raw)


On Tue, 1 Oct 1996, Osowski wrote:

> 
> My point is, what would be the performance of a intel 166 or cyrix 166
> when in a multi user environment?  My understanding is the "glue" chips,
> the chipset on the motherboard, are not as good on PCs as they are on say
> the alpha.  That would mean in a multi user environment the alpha UDB
> would perform better and be more responsive than the PC system.
> 

I'm not sure the "glue", as you put it, is going to be much better on a 
UDB than on a generic Intel Pentium.  Our UDB's don't seem too handle 
multiple users as well as our old P5-90 fileserver, but I'll be able to 
tell better after we upgrade the memory in the UDB's to something useful.

> Is this true?  This would mean that a pentium would have been a better buy
> than the UDB.  That is not exactly what I want to hear.  But if it is, 
> then give it to me, I can take it.

Hey, if you paid sub $800 for your UDB, I'd call that a bargain by any 
criteria. 

    Lee Burnside --SysAdmin-- TTU Dept. of Physics
	    tljlb@tomserver.phys.ttu.edu
      Physics Homepage: http://www.phys.ttu.edu/
       University Homepage: http://www.ttu.edu/

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <199610011421.KAA10782@mailserver2.tiac.net>]
[parent not found: <OVjf$AAhjNUyEwha@fgel.demon.co.uk>]
* Re: Performance revisited
@ 1996-10-01 12:54 David A Rusling
  0 siblings, 0 replies; 20+ messages in thread
From: David A Rusling @ 1996-10-01 12:54 UTC (permalink / raw)


re: Alpha assembly.  It's very easy for programmers.  Lots of registers and
a very regular architecture.  The lovely feature is that you can store the
result of any comparison in a register rather than using a status register.

Dave

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: Performance revisited
@ 1996-10-01 12:29 Martin Ostermann
  0 siblings, 0 replies; 20+ messages in thread
From: Martin Ostermann @ 1996-10-01 12:29 UTC (permalink / raw)


Eugene Leitl <Eugene.Leitl@lrz.uni-muenchen.de> writes:
> On 1 Oct 1996, Martin Ostermann wrote:

> > But I have to admit, that the Linux/axp is real fun if you use
> > assembler for the inner loops ...
> 
> Why this? Inner loops do not fit into prim. cache? Atrocious gcc code 
> quality?

No, its not a cache problem, the code size is OK (although sometimes
unnecessary instructions are added, especially unnecessary type
conversions). But the instruction scheduling is bad. The latency of
all floating point operations (fop) is 6 cycles on EV4. Now, in case
you got a branch, you want the test at least 6 instructions away from
the actual branch instruction. But if you code something like

	some_calculations;
	if(x<X) { .. }
	if(x>Y) { .. }

gcc is coding it into (pseudo assembler)

	cmplt x,X,$1	
	some_calculations
	fbneq $1, $01
	 {..}
$01:
	cmplt Y,x,$1	; 6 cycles wasted here, if first 
	fbneq $1, $02    ; jump was taken
	 {..}
$02:

whilst it would be most efficient like this:

	cmplt x,X,$1	
	cmplt Y,x,$2
	some_calculations
	fbneq $1, $01
	 {..}
$01:
	fbneq $2, $02   ; no need to wait here ...
	 {..}
$02:

So apparently gcc isn't able to move the test instruction beyond a
branch, even if it's easily done. 

There are many similar examples. If you're interested, just use gcc -S
and look at the results. 

> Is Alpha assembly friendly for human programmers? I know it's RISC, but 
> at least orthogonal RISC, I hope?

I think it's pretty easy. You just have to be willing to look at the
scheduling rules. The instruction set is available online, I think
it's the "Alpha Architecture Handbook". Scheduling rules are
available through the hardware references. Try 

	http://www.netbsd.org/Ports/alpha/doc-list.html

for a collection of papers on Alpha hardware.

Martin

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

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <43lodr8150.fsf@comnets.rwth-aachen.de>]
* Re: Performance revisited
@ 1996-10-01  9:49 Martin Ostermann
  0 siblings, 0 replies; 20+ messages in thread
From: Martin Ostermann @ 1996-10-01  9:49 UTC (permalink / raw)


Nigel Sale <nms@fgel.demon.co.uk> writes:

> 
> I thought some people might be interested in some performance
> comparisons between three different machines.

Yes, indeed. 

[..]
> Our conclusion has been that Linux/Alpha is not a realistic choice at
> the moment, and because DEC UNIX licenses are so expensive we are better
> off using Intel Pentiums with Linux.
> 
> Any feedback welcome.

Try to use -O3 and/or -funroll-loops with gcc on Linux/axp, in case
you just used -O2. This might give better results, if there are very
tight loops. Also, using a profiler see where the time is spent, and
try to introduce additional variables.  

But I have to admit, that the Linux/axp is real fun if you use
assembler for the inner loops ...

Martin

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

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <9610010733.ZM8359@zam331>]

end of thread, other threads:[~1996-10-10 11:45 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-01 14:21 Performance revisited Stephen J. Gaudet
     [not found] <199610061512.RAA18788@wopr.campus.luth.se>
1996-10-10 11:45 ` Nigel Sale
     [not found] <331bABA7yRVyEwMz@fgel.demon.co.uk>
1996-10-06 15:12 ` Andreas Johansson
     [not found] <199610011558.IAA00777@panda.mosberger>
1996-10-04 14:18 ` Nigel Sale
  -- strict thread matches above, loose matches on Subject: below --
1996-10-01 15:58 David Mosberger-Tang
     [not found] <Pine.GSO.3.93.961001100023.1917B-100000@computer.soc.uwm.edu>
1996-10-01 15:45 ` Eugene Leitl
1996-10-01 23:38   ` Michal Jaegermann
     [not found] <2KqZYGAJ6RUyEwHZ@fgel.demon.co.uk>
1996-10-01 15:26 ` Osowski
1996-10-01 15:22 Lee Burnside
     [not found] <199610011421.KAA10782@mailserver2.tiac.net>
1996-10-01 14:33 ` Nigel Sale
     [not found] <OVjf$AAhjNUyEwha@fgel.demon.co.uk>
1996-10-01 13:37 ` Nigel Sale
1996-10-01 14:23 ` Michael Brennen
1996-10-01 15:39 ` Michal Jaegermann
1996-10-01 12:54 David A Rusling
1996-10-01 12:29 Martin Ostermann
     [not found] <43lodr8150.fsf@comnets.rwth-aachen.de>
1996-10-01 11:40 ` Eugene Leitl
1996-10-01 16:08   ` Richard Henderson
1996-10-01 13:32 ` Nigel Sale
1996-10-01  9:49 Martin Ostermann
     [not found] <9610010733.ZM8359@zam331>
1996-10-01  8:40 ` Nigel Sale

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