Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* interesting benchmarks
@ 1996-09-03 11:07 Nigel Sale
  0 siblings, 0 replies; 12+ messages in thread
From: Nigel Sale @ 1996-09-03 11:07 UTC (permalink / raw)


I've just been running some little test problems on out UDB 233 Mhz and
have got some interesting results. The two C programs are below....

****************** benchi **********************************************
#include <stdio.h>

#define MAXI 1000
#define MAXJ 1000
#define MAXK 500

int main(
         int argc,
         char *argv[]
         )
{
  int i, j, k;
  int a, b, c;

  for (i=0;i<MAXI;i++) {
    a = i;
    for (j=MAXJ;j>-MAXJ;j--) {
      b = a*j;
      for (k=MAXK;k>-MAXK;k--) {
        c = b + k;
      }
    }
  }
  printf("%d %d %d\n",a ,b, c);
  exit(0);
}
****************** benchf **********************************************
#include <stdio.h>

#define MAXI 1000
#define MAXJ 1000
#define MAXK 100

int main(
         int argc,
         char *argv[]
         )
{
  int i, j, k;
  double a, b, c;

  for (i=0;i<MAXI;i++) {
    a = (double)i;
    for (j=MAXJ;j>-MAXJ;j--) {
      b = a*(double)j;
      for (k=MAXK;k>-MAXK;k--) {
        c = b + (double)k;
      }
    }
  }
  printf("%f %f %f\n",a ,b, c);
  exit(0);
}
************************************************************************

The execution time (to the nearest second) for the integer program on
the UDB is 35 secs. On a Pentium 166 Mhz system (running Linux of
course) the execution time is 101 secs. Great i thought.

For the floating point program the UDB time is 30 secs. On the Pentium
system the time is 20 secs.

Where am i going wrong ?

I'm running RedHat 3.0.3/AXP straight out of the box, no tweeks ( so gcc
2.7.0 ). I've tried complier options such as no-soft-float and fp-regs
but it makes no difference.

Thanks in advance.

-- 
Nigel Sale, Fluid Gravity

-- 
Nigel Sale

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

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

* Re:  interesting benchmarks
@ 1996-09-03 16:13 Richard Gorton
  1996-09-03 16:42 ` Nigel Sale
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Gorton @ 1996-09-03 16:13 UTC (permalink / raw)


Nigel wrote:

>The execution time (to the nearest second) for the integer program on
>the UDB is 35 secs. On a Pentium 166 Mhz system (running Linux of
>course) the execution time is 101 secs. Great i thought.
>
>For the floating point program the UDB time is 30 secs. On the Pentium
>system the time is 20 secs.
>
>Where am i going wrong ?

There are a couple of relevant factors here:

	o gcc for Linux/Alpha is not as good as it could be.  When I
	  compiled the programs under Digital UNIX V3.2C with:
		cc -migrate -O5 benchi.c -o benchi -non_shared
		cc -migrate -O5 benchf.c -o benchf -non_shared
	  and run them on my 'Jensen' (150 Mhz DEC 2000 AXP)
	  they run in 17.0 and 14.1 seconds for integer and float
	  versions respectively.  About half of the time of a gcc
	  compiled version running on a faster machine.

	o 21066 and 21066A have relatively poor memory bandwidth
	  capabilities, compared to 21064[A] and 21164[A] chips.

	o The UDB's weren't designed to be high-performance machines.

If you are doing performance critical work, a UDB is the wrong choice.

	Rick

Richard Gorton			All standard disclaimers apply.
Alpha Migration Tools		Projects: DECmigrate (mx), FreePort Express,
Digital Semiconductor			  Linux/Alpha
Digital Equipment Corporation	http://www.digital.com/info/semiconductor/amt
Reply-to: gorton@tallis.enet.dec.com

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

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

* Re: interesting benchmarks
  1996-09-03 16:13 Richard Gorton
@ 1996-09-03 16:42 ` Nigel Sale
  0 siblings, 0 replies; 12+ messages in thread
From: Nigel Sale @ 1996-09-03 16:42 UTC (permalink / raw)


In message <9609031613.AA08825@liszt.amt.tay1.dec.com>,
gorton@amt.tay1.dec.com writes
>Nigel wrote:
>
>>The execution time (to the nearest second) for the integer program on
>>the UDB is 35 secs. On a Pentium 166 Mhz system (running Linux of
>>course) the execution time is 101 secs. Great i thought.
>>
>>For the floating point program the UDB time is 30 secs. On the Pentium
>>system the time is 20 secs.
>>
>>Where am i going wrong ?
>
>There are a couple of relevant factors here:
>
>       o gcc for Linux/Alpha is not as good as it could be.  When I
>         compiled the programs under Digital UNIX V3.2C with:
>               cc -migrate -O5 benchi.c -o benchi -non_shared
>               cc -migrate -O5 benchf.c -o benchf -non_shared
>         and run them on my 'Jensen' (150 Mhz DEC 2000 AXP)
>         they run in 17.0 and 14.1 seconds for integer and float
>         versions respectively.  About half of the time of a gcc
>         compiled version running on a faster machine.
>
>       o 21066 and 21066A have relatively poor memory bandwidth
>         capabilities, compared to 21064[A] and 21164[A] chips.
>
>       o The UDB's weren't designed to be high-performance machines.
>
>If you are doing performance critical work, a UDB is the wrong choice.
>
>       Rick
>
>Richard Gorton                 All standard disclaimers apply.
>Alpha Migration Tools          Projects: DECmigrate (mx), FreePort Express,
>Digital Semiconductor                    Linux/Alpha
>Digital Equipment Corporation  http://www.digital.com/info/semiconductor/amt
>Reply-to: gorton@tallis.enet.dec.com
>
>--
>To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
>
I take your point about the limitations of UDBs, but gcc was used for
both sets of timings. Are you saying that gcc on the Alpha is very bad
with floating point operations ?

-- 
Nigel Sale

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

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

* Re:  interesting benchmarks
@ 1996-09-03 16:50 David R. Lott
  0 siblings, 0 replies; 12+ messages in thread
From: David R. Lott @ 1996-09-03 16:50 UTC (permalink / raw)


I've been listening in on the Alpha listserve and your comments caught my
attention.  I have a few question that I hope would be able to clarify
before I purchase a UDB.

You mention that you got better performance using the Digital Unix compiler.
I can undestand that as I would assume that Digital would know it's
processors better than GCC.  Would it be possible/recommended to compile the
Linux kernal and take advantage of this optimization for the kernal?

You mention that the UDB was never intended for performance work.  That's
ok, cause I just want a web server to act as a virtual web host.  I see the
system demands being mostly TCP/IP and disk access.  There may be databases
queries at some point in time but I dont see this as be very heavy.  The
server software is multi-threaded not fork().  

        Do you feel that this would be an acceptable use of a UDB 266?
        If I compiled the server deamon with the digital compiler, should I
            get a boost in performance (vs. gcc)?

Would you compare Linux and Digital Unix?  I'm looking for things like
performance, ease of administration, etc.  

If I have the GCC libs, can I use the Digital compiler "out of the box"?  
How is the alignment requirement handle?  
Does the Digital compiler correct alignment errors or at least notify me
during compile?  
Are there any hardware compatibility issues that I should be aware of?
Which TGA model does the QS1 motherboard have?
Does v3.2 come with an X server that supports the TGA ZLXp-E2 or E3?
And lastly, what is list price for v3.2c?

Thanks,
        
        

At 12:13 PM 03-09-96 -0400, Richard Gorton wrote:
[...]
>
>There are a couple of relevant factors here:
>
>	o gcc for Linux/Alpha is not as good as it could be.  When I
>	  compiled the programs under Digital UNIX V3.2C with:
>		cc -migrate -O5 benchi.c -o benchi -non_shared
>		cc -migrate -O5 benchf.c -o benchf -non_shared
>	  and run them on my 'Jensen' (150 Mhz DEC 2000 AXP)
>	  they run in 17.0 and 14.1 seconds for integer and float
>	  versions respectively.  About half of the time of a gcc
>	  compiled version running on a faster machine.
>
>	o 21066 and 21066A have relatively poor memory bandwidth
>	  capabilities, compared to 21064[A] and 21164[A] chips.
>
>	o The UDB's weren't designed to be high-performance machines.
>
>If you are doing performance critical work, a UDB is the wrong choice.
>
>	Rick
>
>Richard Gorton			All standard disclaimers apply.
>Alpha Migration Tools		Projects: DECmigrate (mx), FreePort Express,
>Digital Semiconductor			  Linux/Alpha
>Digital Equipment Corporation	http://www.digital.com/info/semiconductor/amt
>Reply-to: gorton@tallis.enet.dec.com

David Lott, 
Network Engineer - CCIE #2024
IS Network Operations                  |           |
Cisco Systems, Inc.                   :|:         :|:
225 West Tasman Drive Bld K          :|||:       :|||:
San Jose, CA 95134                 .:||||||:...:|||||||:.
Tel:  408.527.3669                   CISCO SYSTEMS INC.
Internet:   dalott@cisco.com

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

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

* Re:  interesting benchmarks
@ 1996-09-03 18:17 Maurice Hilarius
  0 siblings, 0 replies; 12+ messages in thread
From: Maurice Hilarius @ 1996-09-03 18:17 UTC (permalink / raw)


At 09:50 AM 09-03-96 -0700, you wrote:
>I've been listening in on the Alpha listserve and your comments caught my
>attention.  I have a few question that I hope would be able to clarify
>before I purchase a UDB.
>
>You mention that you got better performance using the Digital Unix compiler.
>I can undestand that as I would assume that Digital would know it's
>processors better than GCC.  Would it be possible/recommended to compile the
>Linux kernal and take advantage of this optimization for the kernal?
>
>You mention that the UDB was never intended for performance work.  That's
>ok, cause I just want a web server to act as a virtual web host.  I see the
>system demands being mostly TCP/IP and disk access.  There may be databases
>queries at some point in time but I dont see this as be very heavy.  The
>server software is multi-threaded not fork().  
>
>        Do you feel that this would be an acceptable use of a UDB 266?
>        If I compiled the server deamon with the digital compiler, should I
>            get a boost in performance (vs. gcc)?
If you are thinking of buying a UDB 233 then you would probably be better
off with a system based on the "noname" or AXPpci33 board. This is the 21066
chip on a AT factor PCI/ISA motherboard which many DEC TOEMs, (including
ourselves) integrate into an enclosure as a more similar system to a normal p.c.
This way you can have your choice of components, and no upgrade, hardweare
choice issues. Finally, DEC UNIX is not available on the UDB, so this would
be your least expensive route to DEC UNIX on Alpha.
Bear in mind in either case that the "older" 21064 and 21066 chips are not
very fast, and from a performance point of view a Pentium may be a better
choice in the lower end.
If all you are doing is a small server then the 166MHz UDB is not a bad
machine. I have one site where we are handling 54 Samba users, Smail, Simeon
mail IMAP server, and NIS to the head office on a DEC 3000-300 which is an
older 21064 100MHz machine with 96 MB RAM, and it keeps up just fine.

>Would you compare Linux and Digital Unix?  I'm looking for things like
>performance, ease of administration, etc.  
Linux is experimental, so what I say today is probably obsolete next week.
Still it is a good platform in general, albeit new. Performance of compilers
and some libraries ( esp. floating point and math in general) is much better
on DEC UNIX, although Digital has promised us a compile of their advanced
math libs soon for Linux users. Admin? Depends on what you are used to.
Digital does not make a simple UNIX, but if it is what you are accustomed to
it works just fine.
>
>If I have the GCC libs, can I use the Digital compiler "out of the box"?  
Ummm, not exactly

>How is the alignment requirement handle?  
Depends on what you are doing and how current your patchlevels on software are.

>Does the Digital compiler correct alignment errors or at least notify me
>during compile?  
Usually.

>Are there any hardware compatibility issues that I should be aware of?
>Which TGA model does the QS1 motherboard have?
DEC 21030 chip usually bundled with 2MB DRAM and Brooktree RAMDAC. Bear in
mind this is _not_ a video card, the chips are part of the UDB motherboard
package. It is _similar_ to a TGA in that chips are the same. This is an
8bit color video setup.

>Does v3.2 come with an X server that supports the TGA ZLXp-E2 or E3?
>And lastly, what is list price for v3.2c?
DEC UNIX does support these, please note that current rev. is 4.0.

UNIX license cost varies with CPU.
 2 user DEC UNIX license pack and SRM  for a AXPpci233 board is about $800 
        ( U.S.dollars).
The package with CDs and DOCS costs about $275, and does not vary with CPU.

3 Year upgrade and docs subscription costs additional.

Support agreements, ditto...

Conclusions:
Cheapest Linux platform at Pentium level or better: UDB 166
If you are thinking of a 233UDB buy a Pentium or Cyrix 6x86. More bang for $.
If you want faster yet buy a 20164A or 21164. Not very cheap, but beats
Pentium Pro by amount varying with $ spent. 
A UDB 166 ( VX40B-F2) cost under $800 U.S.

A good Pentium 166 system costs about $2000 or less.

A decent 21066 - 233 axpPCI (noname) system costs about $ 4000 with Linux,
and about $ 5000 with DEC UNIX ( 64MB, 1GB SCSI, better video, ether,
CDROM,etc..)

A 21064A-275MHz in an equivalent system costs about $6000 to $8000.

This is sort of a quick price/performance scale.
Hope this helps.
Cheers,
        Maurice
+--------------------------------------------------------------------------+
| Maurice Hilarius                   | The Past is History                 |
| Proprietor / Computer Entomologist |  The Future is Mystery              |
| Hard Data Ltd.                     |   Today is a Gift                   |
| 403-456-1510 / FAX 403-457-1338    | That is why they call it            |
| maurice@ellpspace.math.ualberta.ca |     The Present                     |
+--------------------------------------------------------------------------+

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

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

* Re: interesting benchmarks
@ 1996-09-03 18:44 John Chu
  0 siblings, 0 replies; 12+ messages in thread
From: John Chu @ 1996-09-03 18:44 UTC (permalink / raw)


>If you are thinking of buying a UDB 233 then you would probably be better
>off with a system based on the "noname" or AXPpci33 board.

I thought a UDB *is* a system based on the AXPpci33 board, or did you
mean instead of buying a UDB, buy the motherboard and put together
your own system?  Or is a UDB based on something else entirely?

(Right now, I'm going about getting a system just to play around with
Linux on and some LaTeX and ghostview so I figure a UDB is fine for
me, but I'm just curious as to what you meant.)

					john
				jcchu@eng.umd.edu

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

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

* Re: interesting benchmarks
@ 1996-09-03 19:41 Martin Ostermann
  0 siblings, 0 replies; 12+ messages in thread
From: Martin Ostermann @ 1996-09-03 19:41 UTC (permalink / raw)


Richard Gorton <gorton@amt.tay1.dec.com> writes:
> 	o gcc for Linux/Alpha is not as good as it could be.  When I
> 	  compiled the programs under Digital UNIX V3.2C with:
> 		cc -migrate -O5 benchi.c -o benchi -non_shared
> 		cc -migrate -O5 benchf.c -o benchf -non_shared
> 	  and run them on my 'Jensen' (150 Mhz DEC 2000 AXP)
> 	  they run in 17.0 and 14.1 seconds for integer and float
> 	  versions respectively.  About half of the time of a gcc
> 	  compiled version running on a faster machine.

Hm, problem with gcc is, that it doesn't turn on -funroll-loops with
-Ox, because it's a space-speed tradeoff. My figurers with gcc-2.7.2,
also on a 150MHz Jensen ( bench1 / bench2 /options):

54.9	46.7	-O2
20.8	12.0	-O2 -funroll-loops

If you try -funroll-loops on a 233MHz UDB, you'll probably get
14 and 8 seconds, just the factor of the clock difference.

> 	o 21066 and 21066A have relatively poor memory bandwidth
> 	  capabilities, compared to 21064[A] and 21164[A] chips.

Generally true (e.g. compilation, but doesn't matter in case of this
tight loop, that just uses registers.

> 	o The UDB's weren't designed to be high-performance machines.

Indeed.

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] 12+ messages in thread

* Re: interesting benchmarks
@ 1996-09-03 20:53 David A Rusling
  0 siblings, 0 replies; 12+ messages in thread
From: David A Rusling @ 1996-09-03 20:53 UTC (permalink / raw)


John,
	the two systems (Noname and UDB) are different form factors 
but both are based on the same design.  They use the same CPUs and 
have the same interrupt handling mechanisms - this is very useful
for Linux.  The UDB is a packaged (beautifully) system whereas the 
Noname is a PC motherboard design (baby AT).

Dave

----------------------------------------------------------------------
David A Rusling				Principal Engineer
European Semiconductor Applications	Digital Equipment Co Ltd.,
	Engineering			PO Box 121,
					Imperial Way,
					Worton Grange
					Reading RG2 0TU
Linux, Alpha, StrongArm, PCI		Tel: UK-(0)1734-204380
					Fax: UK-(0)1734-203133
----------------------------------------------------------------------

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

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

* Re: interesting benchmarks
       [not found] <qtkWcFAFGBLyEw+Q@fgel.demon.co.uk>
@ 1996-09-03 22:55 ` Robert Allen Barker
  0 siblings, 0 replies; 12+ messages in thread
From: Robert Allen Barker @ 1996-09-03 22:55 UTC (permalink / raw)


Nigel,

Optimizing the code for Alpha I get the following:

                      pentium-166   21164-500  Alpha MFLOPS
                      -----------   ---------  ------------
initial version          22.3        12.15        66
RISC version             28.0         1.70       470
RISC with multiply       28.0	      1.11       720

There are two primary reasons for the apparent 'slowness' of the Alpha
chip. 1) Alpha pays a heavy penalty for converting from int to double 
because, although it can do the conversion quickly, the floating point
register must be stored in memory and then retrieved into an integer 
register. 2) the code has not been tailored to a RISC environment taking
advantage of the pipelining.

I tried rewriting the floating point version removing the conversion, 
putting everything into registers, and unrolling the loop a bit to four
calculations per loop instead of one. I also made four seperate results
c0 .. c3 to prevent the pipes from stalling while waiting for previous
results. (these changes are quite common to RISC and 'super computer'
loops) The difference between Alpha and intel becomes clear with the
Alpha achieving 470 of its theoretical 500 MFLOPS for this code. In the
last test I replaced the calculation with '*' instead of '-' which
allows the Alpha to dual issue the floating point operations because
they are now a mix of '*' and '-'. Alas, none of these optimizations can
help the poor old pentium.

This benchmark is an excellent example of the difference between a RISC
processor and an intel type machine. Perhaps the best way to compare two
different architectures is to optimize the code for each individually.  

-------------------------------------------------------------------------

#include <stdio.h>

#define MAXI 100
#define MAXJ 1000
#define MAXK 500
#define MAXKF 100
/*------------------------------------------------------------------------*/
main()
{
	benchf();
	benchf2();
	/*benchi();*/
}
/*------------------------------------------------------------------------*/

benchi()
{
  int i, j, k;
  int a, b, c;

  for (i=0;i<MAXI;i++) {
    a = i;
    for (j=MAXJ;j>-MAXJ;j--) {
      b = a*j;
      for (k=MAXK;k>-MAXK;k--) {
        c = b + k;
      }
    }
  }
  printf("%d %d %d\n",a ,b, c);
}
/*------------------------------------------------------------------------*/
benchf()
{
  int i, j, k;
  double a, b, c;

  for (i=0;i<MAXI;i++) {
    a = (double)i;
    for (j=MAXJ;j>-MAXJ;j--) {
      b = a*(double)j;
	for (k=MAXKF;k>-MAXKF;k--) {
        c = b + (double)k;
      }
    }
  }
  printf("%f %f %f\n",a ,b, c);
}
/*------------------------------------------------------------------------*/
benchf2()
{
  int i, j,k;
  double a, b, c0,c1,c2,c3;
  double kf0,kf1,kf2,kf3,one,four;
    
    one=1.00;four=4.0;

    for (i=0;i<MAXI;i++) {
    a = (double)i;
    for (j=MAXJ;j>-MAXJ;j--) {
      b = a*(double)j;
      kf0=MAXKF;
      kf1=kf0-one;
      kf2=kf1-one;
      kf3=kf2-one;
      for (k=MAXKF;k>-MAXKF;k-=4) {
        c0 = b + kf0;
	kf0=kf0-four;
        c1 = b + kf1;
	kf1=kf1-four;
        c2 = b + kf2;
	kf2=kf2-four;
        c3 = b + kf3;
	kf3=kf3-four;
       }
    }
  }
  printf("%f %f %f\n",a ,b, c0+c1+c2+c3);
  /* I must print all 4 cxs or else the optimizer will remove some of the 
   inner loop*/
}
/*------------------------------------------------------------------------*/

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

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

* Re: interesting benchmarks
@ 1996-09-03 23:32 Maurice Hilarius
  0 siblings, 0 replies; 12+ messages in thread
From: Maurice Hilarius @ 1996-09-03 23:32 UTC (permalink / raw)


At 02:44 hrs. 09-03-96 -0400, you wrote:
>>If you are thinking of buying a UDB 233 then you would probably be better
>>off with a system based on the "noname" or AXPpci33 board.
>
>I thought a UDB *is* a system based on the AXPpci33 board, or did you
>mean instead of buying a UDB, buy the motherboard and put together
>your own system?  Or is a UDB based on something else entirely?
No, a UDB is a 12.5"x12.5"x2.75" box with a _tiny_ little board with d*mn
near everything integrated on it. It has no slots, but a riser, which, in
_some_ variants, sprouts a PCI slot. It has 4 SIMM sockets, usually
factory-filled with 24MB (2x8MB and 2x4MB SIMMs) in a VX40 ( 166 MHz) and,
believe it or not, usually 24 MB (2x12MB SIMMs) or 32MB ( 4x8MB SIMMs) in a
VX41 or 42 (233MHz) .
The UDB is an attempt by Digital to build a low-cost, small p.c.. It does
come as the Multia with Alpha chips, and also a Pentium version is available.
When one takes off the cover and looks, it is almost like a laptop built by
a committee. They usually use those tiny 3.5" floppy drives you see in
notebooks, 340MB hard drives with a notebook style hard cable and no power
connector.
The reason they are such a popular topic right now is that when Digital
discontinued the VX40s they "dumped" them on the market at a _very_ low
price, with a limited warranty and support. This is a "dead" product, as far
as Digital is concerned.

The AXPpci33 or "noname" is the first Digital Alpha offering of an AT form
factor motherboard. Integrators and OEMs like us use it build systems.
It has some "gotchas" in regrds to just putting it in a regular p.c. case:
It needs 3.3V power as well as 5 and 12.
It sometimes comes with the PS/2 style mouse and keyboard connectors on the
motherboard, so the keyboard hole in a typical case is wrong. 
It uses 36bit SIMMs , like the rest of the Alpha products, so more common
non-parity 32 bit SIMMs for Pentiums and 486's don't work.
>
>(Right now, I'm going about getting a system just to play around with
>Linux on and some LaTeX and ghostview so I figure a UDB is fine for
>me, but I'm just curious as to what you meant.)
>
And now you know....

Cheers,
        Maurice
+--------------------------------------------------------------------------+
| Maurice Hilarius                   | The Past is History                 |
| Proprietor / Computer Entomologist |  The Future is Mystery              |
| Hard Data Ltd.                     |   Today is a Gift                   |
| 403-456-1510 / FAX 403-457-1338    | That is why they call it            |
| maurice@ellpspace.math.ualberta.ca |     The Present                     |
+--------------------------------------------------------------------------+

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

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

* Re: interesting benchmarks
       [not found] <Pine.SUN.3.91.960903112743.17297A-100000@mira.lbl.gov>
@ 1996-09-04  8:07 ` Nigel Sale
  0 siblings, 0 replies; 12+ messages in thread
From: Nigel Sale @ 1996-09-04  8:07 UTC (permalink / raw)


In message <Pine.SUN.3.91.960903112743.17297A-100000@mira.lbl.gov>,
Scott Locklin ESG <slocklin@grace.lbl.gov> writes
>
>On Tue, 3 Sep 1996, Nigel Sale wrote:
>
>> In message <9609031613.AA08825@liszt.amt.tay1.dec.com>,
>> gorton@amt.tay1.dec.com writes
>> >Nigel wrote:
>> >
>> >>The execution time (to the nearest second) for the integer program on
>> >>the UDB is 35 secs. On a Pentium 166 Mhz system (running Linux of
>> >>course) the execution time is 101 secs. Great i thought.
>> >>
>> >>For the floating point program the UDB time is 30 secs. On the Pentium
>> >>system the time is 20 secs.
>> >>
>> >>Where am i going wrong ?
>> >
>> >There are a couple of relevant factors here:
>> >
>> >       o gcc for Linux/Alpha is not as good as it could be.  When I
>> >         compiled the programs under Digital UNIX V3.2C with:
>> >               cc -migrate -O5 benchi.c -o benchi -non_shared
>> >               cc -migrate -O5 benchf.c -o benchf -non_shared
>> >         and run them on my 'Jensen' (150 Mhz DEC 2000 AXP)
>> >         they run in 17.0 and 14.1 seconds for integer and float
>> >         versions respectively.  About half of the time of a gcc
>> >         compiled version running on a faster machine.
>> >
>> >       o 21066 and 21066A have relatively poor memory bandwidth
>> >         capabilities, compared to 21064[A] and 21164[A] chips.
>> >
>> >       o The UDB's weren't designed to be high-performance machines.
>> >
>> >If you are doing performance critical work, a UDB is the wrong choice.
>> >
>> >       Rick
>> >
>> >Richard Gorton                 All standard disclaimers apply.
>> >Alpha Migration Tools          Projects: DECmigrate (mx), FreePort Express,
>> >Digital Semiconductor                    Linux/Alpha
>> >Digital Equipment Corporation  http://www.digital.com/info/semiconductor/amt
>> >Reply-to: gorton@tallis.enet.dec.com
>> >
>> >--
>> >To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
>> >
>> I take your point about the limitations of UDBs, but gcc was used for
>> both sets of timings. Are you saying that gcc on the Alpha is very bad
>> with floating point operations ?
>
>It's shitty libraries to blame, mostly.
>Try sqrt() "out of the box" -it's absurd! (linus wrote a patch for libm.a
>which has a new algorithm for sqrt() which is much better)
>Unless I am mistaken, an AXP233 should easily beat a P166 on FLOPs, with 
>the proper memory bandwidth and libm.a
>
>I'm looking at writing some libs myself once I get the time, meanwhile DEC
>is supposed to compile some screaming libs for us...
>
>-S
>
Ahh ! Thats interesting. What started me doing these little test is that
another more complicated program that uses the maths library was four
times slower than for the Pentium.

Does anyone know of any timescales for a new library, maybe this DEC
compiled version that someone mentioned ?

-- 
Nigel Sale

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

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

* Re: interesting benchmarks
@ 1996-09-04 10:59 David A Rusling
  0 siblings, 0 replies; 12+ messages in thread
From: David A Rusling @ 1996-09-04 10:59 UTC (permalink / raw)


Just a minor correction.  The Noname was _not_ Digital's first AT Alpha
motherboard offering, the EB66 was and Noname/UDB is based on the rev 1
of that design.   Digital Semiconductor have continued offering PC style
motherboards, the latest being the PC164.

Dave

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

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

end of thread, other threads:[~1996-09-04 10:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-04 10:59 interesting benchmarks David A Rusling
     [not found] <Pine.SUN.3.91.960903112743.17297A-100000@mira.lbl.gov>
1996-09-04  8:07 ` Nigel Sale
  -- strict thread matches above, loose matches on Subject: below --
1996-09-03 23:32 Maurice Hilarius
     [not found] <qtkWcFAFGBLyEw+Q@fgel.demon.co.uk>
1996-09-03 22:55 ` Robert Allen Barker
1996-09-03 20:53 David A Rusling
1996-09-03 19:41 Martin Ostermann
1996-09-03 18:44 John Chu
1996-09-03 18:17 Maurice Hilarius
1996-09-03 16:50 David R. Lott
1996-09-03 16:13 Richard Gorton
1996-09-03 16:42 ` Nigel Sale
1996-09-03 11:07 Nigel Sale

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