Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Alpha/Intel performance
@ 1996-07-15 22:24 Robert Allen Barker
  1996-07-15 22:50 ` Dirk Wetter
  1996-07-15 23:12 ` Bill Broadley
  0 siblings, 2 replies; 11+ messages in thread
From: Robert Allen Barker @ 1996-07-15 22:24 UTC (permalink / raw)


I think some of the confusion about CPU performance comes from 1) running 
software that doesn't specifically test just the CPUs performance and 2)
comparing Alpha with intel using software that has been optimized for intel.
The vast difference between RISC and CISC can lead to misleading results.

Much of the signal processing software we write is highly optimized for the
Alpha and a couple of examples might be interesting. The first is rotating a
350x350 box in a frame buffer 500x500 (floats). Results are:

	Pentium-120      512.  ms.
	Alpha 21064-300   11.3 ms.
	Alpha 21164-333    4.5 ms.

If this had optimized it for intel/pentium the results would be very 
different, perhaps the Alpha would only be 3-4 times faster, but that's the
point. When comparing two different architectures, the code should
be optimized for each. 

The other example is a small benchmark program designed to evaluate Alpha
performance. Its a basket of 6 different computationally intensive
loops:

	Pentium-120      36.0 sec.
	Alpha 21064-300   1.69 sec.
	Alpha 21164-333   0.87 sec.

Allan

> On Sun, 30 Jun 1996, "Brian E.W. Wood" <beww@intac.com> wrote:
> >
> >RISC architecture is "reduced" instruction set computing. It can therefore
> >take more instructions to perform a specific task than a "CISC" (complex
> >instruction set computing) processor. Steve Gaudet at DCG told me he figured
> >a 166 Mhz. alpha to be about equivalent to a 75 Mhz. Pentium. I have seen
> >other reports which seem to think it is a lot faster than that.

> Yes indeed !!
> I did some neural-network simulations on a 166 MHz Alpha which mainly consist 
> of a big floating-point matrix (approximately 2000x2000 in size), and found it 
> to be between 6-8 times faster than a pentium 90 MHz, using the same OS, 
> source-code and compiler.
> 
> 	Anders Petersen 

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

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

* Re: Alpha/Intel performance
  1996-07-15 22:24 Robert Allen Barker
@ 1996-07-15 22:50 ` Dirk Wetter
  1996-07-15 23:12 ` Bill Broadley
  1 sibling, 0 replies; 11+ messages in thread
From: Dirk Wetter @ 1996-07-15 22:50 UTC (permalink / raw)


On Tue, 16 Jul 1996, Robert Allen Barker wrote:

> 
> 
> I think some of the confusion about CPU performance comes from 1) running 
> software that doesn't specifically test just the CPUs performance and 2)
> comparing Alpha with intel using software that has been optimized for intel.
> The vast difference between RISC and CISC can lead to misleading results.
> 

 But why does it take such a long time (about 35 minutes) compiling a
kernel on my noname box (21066/233, 256KB L2-cache)? (it's equipped
with 64Megs RAM and runs the actual RedHat distribution.)
 The native 2.0 kernel on a 488/66 takes approximately the same time,
most pentium boxes do this job between 10 minutes and 25 minutes, PPro
machines below 6 minutes. If I compare the calculation power e.g. with
an (simple) dhrystone-test the axpPCI system beats the intel boxes as
well as an SGI with R4600/100. My impression of the performance working
with the noname machine is that the old 488/66 is much slower.

 First I thought it has something to do with the fact that it's a more
difficult thing making code for a RISC-CPU. But recently I've build a
cross compiler for a Linux/m68k system and the difference in time for
the same 2.0 kernel (approx. with the same number of drivers) was very
small (1 minute).

 I know that the noname box is compared to other available alpha-systems     
a low-end machine. But why is the performance for this special job so
bad ?

bye,

Dirk

Dirk Wetter
at Institut fuer Physikalische Chemie
Universitaet Hannover
Germany

dirkw@groucho.pci.uni-hannover.de

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

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

* Re: Alpha/Intel performance
  1996-07-15 22:24 Robert Allen Barker
  1996-07-15 22:50 ` Dirk Wetter
@ 1996-07-15 23:12 ` Bill Broadley
  1 sibling, 0 replies; 11+ messages in thread
From: Bill Broadley @ 1996-07-15 23:12 UTC (permalink / raw)


> The other example is a small benchmark program designed to evaluate Alpha
> performance. Its a basket of 6 different computationally intensive
> loops:
> 
> 	Pentium-120      36.0 sec.
> 	Alpha 21064-300   1.69 sec.
> 	Alpha 21164-333   0.87 sec.

Is source available?

-- 
Bill Broadley           Broadley@math.ucdavis.edu           UCD Math Sys-Admin
Linux is great.         http://math.ucdavis.edu/~broadley               PGP-ok

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

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

* Re: Alpha/Intel performance
       [not found] <Pine.SGI.3.94.960716004723.2461A-100000@groucho.pci.uni-hannover.de>
@ 1996-07-15 23:50 ` Robert Allen Barker
  0 siblings, 0 replies; 11+ messages in thread
From: Robert Allen Barker @ 1996-07-15 23:50 UTC (permalink / raw)


> 
> On Tue, 16 Jul 1996, Robert Allen Barker wrote:
> 
> > 
> > 
> > I think some of the confusion about CPU performance comes from 1) running 
> > software that doesn't specifically test just the CPUs performance and 2)
> > comparing Alpha with intel using software that has been optimized for intel.
> > The vast difference between RISC and CISC can lead to misleading results.
> > 
> 
>  But why does it take such a long time (about 35 minutes) compiling a
> kernel on my noname box (21066/233, 256KB L2-cache)? (it's equipped
> with 64Megs RAM and runs the actual RedHat distribution.)

For two reasons. 1. Compiling the kernel must be one of the least CPU
intensive tasks around because of the large number of files, temporary files
and passes that are required. Disk and memory performance are probably being
compared much more than the CPUs. 2. All the kernel source files, many of
the temporary files, and much of the code generation is byte oriented and
the current alpha hardware only supports 32 and 64 bit data types. The alpha
must use extra instructions to extract, shift, and inset bytes. So in one
sense byte oriented software is highly optimized for intel.

  

>  The native 2.0 kernel on a 488/66 takes approximately the same time,
> most pentium boxes do this job between 10 minutes and 25 minutes, PPro
> machines below 6 minutes. If I compare the calculation power e.g. with
> an (simple) dhrystone-test the axpPCI system beats the intel boxes as
> well as an SGI with R4600/100. My impression of the performance working
> with the noname machine is that the old 488/66 is much slower.
> 

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

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

* RE: Alpha/Intel performance
@ 1996-07-16 12:15 David Wild
  0 siblings, 0 replies; 11+ messages in thread
From: David Wild @ 1996-07-16 12:15 UTC (permalink / raw)


Has anybody tried BYTE's UNIX Benchmarks?

> On Sun, 30 Jun 1996, "Brian E.W. Wood" <beww@intac.com> wrote:
> >
> >RISC architecture is "reduced" instruction set computing. It can 
therefore
> >take more instructions to perform a specific task than a "CISC" (complex
> >instruction set computing) processor. Steve Gaudet at DCG told me he
figured
> >a 166 Mhz. alpha to be about equivalent to a 75 Mhz. Pentium. I have seen
> >other reports which seem to think it is a lot faster than that.

> Yes indeed !!
> I did some neural-network simulations on a 166 MHz Alpha which mainly
consist
> of a big floating-point matrix (approximately 2000x2000 in size), and 
found
it
> to be between 6-8 times faster than a pentium 90 MHz, using the same OS,
> source-code and compiler.
>
>       Anders Petersen

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

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

* Re: Alpha/Intel performance
       [not found] <31EB88A2@msmailgtwy.nvl.symix.com>
@ 1996-07-16 16:00 ` Dave Mitchell
  1996-07-16 22:14   ` Berndt Josef Wulf
  0 siblings, 1 reply; 11+ messages in thread
From: Dave Mitchell @ 1996-07-16 16:00 UTC (permalink / raw)


> 
> 
> Has anybody tried BYTE's UNIX Benchmarks?
> 
  Funny, I ran them today and am a bit bemused by the results. Their
baseline "1.0" score is a Dell Pentium 90. Funny, that's what my linux
PC is, and IT didn't get 1.0/1.0!  Anyhow, here are the results:
  (I ran it twice on both machines and got very nearly the same score)

  It looks like the alpha is SLOWER than the pc doing FP, but slightly
faster at integer? I don't get it. 

------------------------------------------------------------------
Dell P-90 Linux 32M ram

BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
NUMERIC SORT:  Iterations/sec.: 39.928476  Index: 1.023991
STRING SORT:  Iterations/sec.: 3.047628  Index: 1.361764
BITFIELD:  Iterations/sec.: 5210814.024669  Index: 0.893839
FP EMULATION:  Iterations/sec.: 2.322889  Index: 1.114630
FOURIER:  Iterations/sec.: 800.534759  Index: 0.910446
ASSIGNMENT:  Iterations/sec.: 0.315558  Index: 1.200754
IDEA:  Iterations/sec.: 53.041256  Index: 0.811252
HUFFMAN:  Iterations/sec.: 30.057206  Index: 0.833487
NEURAL NET:  Iterations/sec.: 0.509166  Index: 0.817938
LU DECOMPOSITION:  Iterations/sec.: 11.351217  Index: 0.588052
...done...
===========OVERALL============
INTEGER INDEX: 1.017351
FLOATING-POINT INDEX: 0.759389
 (90 MHz Dell Pentium = 1.00)
==============================

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

 DEC Multia 166Mhz, 24M ram

BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
NUMERIC SORT:  Iterations/sec.: 31.784201  Index: 0.815126
STRING SORT:  Iterations/sec.: 0.652956  Index: 0.291759
BITFIELD:  Iterations/sec.: 11575322.422960  Index: 1.985576
FP EMULATION:  Iterations/sec.: 2.326825  Index: 1.116518
FOURIER:  Iterations/sec.: 293.294588  Index: 0.333563
ASSIGNMENT:  Iterations/sec.: 0.446177  Index: 1.697783
IDEA:  Iterations/sec.: 95.492826  Index: 1.460537
HUFFMAN:  Iterations/sec.: 52.910317  Index: 1.467204
NEURAL NET:  Iterations/sec.: 0.293859  Index: 0.472062
LU DECOMPOSITION:  Iterations/sec.: 17.522116  Index: 0.907736
...done...
===========OVERALL============
INTEGER INDEX: 1.097520
FLOATING-POINT INDEX: 0.522856
 (90 MHz Dell Pentium = 1.00)
==============================

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

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

* Re: Alpha/Intel performance
@ 1996-07-16 20:09 Harold H. Youngren
  1996-07-16 20:14 ` Dave Mitchell
  0 siblings, 1 reply; 11+ messages in thread
From: Harold H. Youngren @ 1996-07-16 20:09 UTC (permalink / raw)


Dave,

Please could you include the OS, compilers and compile switches used for your  
Byte benchmarks?  Otherwise the results are difficult compare...

Certainly on the Alpha with the DEC fortran (under OSF) I see a huge speedup  
from the Pentium with g77 or f2c/gcc (up to 10x or more for a 300mhz 21164  
compared to a Pentium 100).

Hal Y.--

*************************************************************
* Harold Youngren   ----> Internet: guppy@maine.com         *
* 129 Pitt St,                  or: guppy@netcom.com        *
* Portland, ME  04103     AeroCraft Consulting              *
* Home: (207)871-0552     Aeronautical Consulting, Analysis,*
* Fax:  (207)871-1034     Design, CFD software              *
*************************************************************

 

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

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

* Re: Alpha/Intel performance
  1996-07-16 20:09 Harold H. Youngren
@ 1996-07-16 20:14 ` Dave Mitchell
  0 siblings, 0 replies; 11+ messages in thread
From: Dave Mitchell @ 1996-07-16 20:14 UTC (permalink / raw)


> 
> Dave,
> 
> Please could you include the OS, compilers and compile switches used for your  
> Byte benchmarks?  Otherwise the results are difficult compare...
> 
> Certainly on the Alpha with the DEC fortran (under OSF) I see a huge speedup  
> from the Pentium with g77 or f2c/gcc (up to 10x or more for a 300mhz 21164  
> compared to a Pentium 100).
> 

  Oh yeah. Sorry about that. I used:

    gcc -O4 -c *.c
    gcc -O4 *.o -o bench

								Dave

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

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

* Re: Alpha/Intel performance
  1996-07-16 16:00 ` Dave Mitchell
@ 1996-07-16 22:14   ` Berndt Josef Wulf
  0 siblings, 0 replies; 11+ messages in thread
From: Berndt Josef Wulf @ 1996-07-16 22:14 UTC (permalink / raw)


Dave Mitchell wrote
> 
> > 
> > 
> > Has anybody tried BYTE's UNIX Benchmarks?
> > 

Were can I find the sources for this programme? I am interested to see
the performance difference once I upgraded to 1MB-15ns cache ;)

cheerio Berndt

-- 
Name	: Berndt Josef Wulf
E-Mail	: wulf@hotdog.apana.org.au
Sysinfo	: DEC AXPpci33+, NetBSD-1.2Alpha

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

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

* Re: Alpha/Intel performance
@ 1996-07-17 12:25 David Wild
  0 siblings, 0 replies; 11+ messages in thread
From: David Wild @ 1996-07-17 12:25 UTC (permalink / raw)


>> > Has anybody tried BYTE's UNIX Benchmarks?
>> >
>
>Were can I find the sources for this programme? I am interested to see
>the performance difference once I upgraded to 1MB-15ns cache ;)
>
The site I got mine from was

http://www.silkroad.com/linux-bm.html

but it appears to be down now.  If it doesn't come up soon, I can put a copy 
of the software on my ftp site.

Here is the results I got with it.  According to all the other comparison, 
 this is about as fast as the slowest P75 tested.

I ran it on my 486DX266 and it was about half the alpha.

NOTE:  The Pipe-based Context Switching Test came back with errors and the 0 
got avg into the score.  I haven't correct it  yet or the results would be a 
bit better.

This is my noname 233MHZ 32 M ram  Linux 2.0.5

  BYTE UNIX Benchmarks (Version 3.11)

Dhrystone 2 without register variables   110067.6 lps   (10 secs, 6 samples)
Dhrystone 2 using register variables     112819.4 lps   (10 secs, 6 samples)
Arithmetic Test (type = arithoh)         516889.8 lps   (10 secs, 6 samples)
Arithmetic Test (type = register)         23559.6 lps   (10 secs, 6 samples)
Arithmetic Test (type = short)            20588.1 lps   (10 secs, 6 samples)
Arithmetic Test (type = int)              22753.6 lps   (10 secs, 6 samples)
Arithmetic Test (type = long)             22296.0 lps   (10 secs, 6 samples)
Arithmetic Test (type = float)            43120.9 lps   (10 secs, 6 samples)
Arithmetic Test (type = double)           34370.8 lps   (10 secs, 6 samples)
System Call Overhead Test                 36012.6 lps   (10 secs, 6 samples)
Pipe Throughput Test                      12092.7 lps   (10 secs, 6 samples)
Pipe-based Context Switching Test          no measured results
Process Creation Test                       283.6 lps   (10 secs, 6 samples)
Execl Throughput Test                       136.9 lps   (9 secs, 6 samples)
File Read  (10 seconds)                   30586.0 KBps  (10 secs, 6 samples)
File Write (10 seconds)                    5888.0 KBps  (10 secs, 6 samples)
File Copy  (10 seconds)                    1948.0 KBps  (10 secs, 6 samples)
File Read  (30 seconds)                   30270.0 KBps  (30 secs, 6 samples)
File Write (30 seconds)                    5877.0 KBps  (30 secs, 6 samples)
File Copy  (30 seconds)                    1745.0 KBps  (30 secs, 6 samples)
C Compiler Test                              23.9 lpm   (60 secs, 3 samples)
Shell scripts (1 concurrent)                 91.0 lpm   (60 secs, 3 samples)
Shell scripts (2 concurrent)                 48.3 lpm   (60 secs, 3 samples)
Shell scripts (4 concurrent)                 25.0 lpm   (60 secs, 3 samples)
Shell scripts (8 concurrent)                 12.0 lpm   (60 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places           5223.5 lpm   (60 secs, 6 samples)
Recursion Test--Tower of Hanoi             1599.3 lps   (10 secs, 6 samples)

                     INDEX VALUES
TEST                                                   BASELINE     RESULT 
       INDEX

Arithmetic Test (type = double)                   2541.7          
        34370.8          13.5
Dhrystone 2 without register variables            22366.3 
            110067.6          4.9
Execl Throughput Test                                  16.5 
                   136.9           8.3
File Copy  (30 seconds)                                179.0 
                 1745.0            9.7
Pipe-based Context Switching Test                 1318.5                0.0 
          0.0
Shell scripts (8 concurrent)                           4.0 
                      12.0         3.0
                                                                 
                            =========
     SUM of  6 items 
                                                             
               39.5
     AVERAGE 
                                                                       
               6.6

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

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

* Re: Alpha/Intel performance
@ 1996-07-20 17:44 Martin Ostermann
  0 siblings, 0 replies; 11+ messages in thread
From: Martin Ostermann @ 1996-07-20 17:44 UTC (permalink / raw)


>>>>> In article <199607160747.HAA19416@moondance.np.ac.sg>, Robert Allen Barker <rab@np.ac.sg> writes:
>> But why does it take such a long time (about 35 minutes) compiling a
>> kernel on my noname box (21066/233, 256KB L2-cache)? (it's equipped
>> with 64Megs RAM and runs the actual RedHat distribution.)

> For two reasons. 1. Compiling the kernel must be one of the least CPU
> intensive tasks around because of the large number of files, temporary files
> and passes that are required. Disk and memory performance are probably being
> compared much more than the CPUs. 

Seems true. On an 150MHz(!) Jensen with 512k L2-cache and an 128 bit
wide main memory path, it just takes around 24 Minutes.

> 2. All the kernel source files, many of
> the temporary files, and much of the code generation is byte oriented and
> the current alpha hardware only supports 32 and 64 bit data types. The alpha
> must use extra instructions to extract, shift, and inset bytes. So in one
> sense byte oriented software is highly optimized for intel.

Even worse, the gcc-2.7.1 package commes with breakes on, as anything
else that has been linked with libc-0.43-1. The reason is that it
doesn't use the alpha specific memcpy routine, because of faulty
Makefiles. It uses an older one, which uses byte accesses (!) for any
size to copy. To make that clear: it uses about 8 times
2*ldq_u/extbl/extbh/ to load a quadword, and
2*ldq_u/insbl/insbh/2*stq_u to write it. This is a total of 48 memory
accesses instead of 2.

Using the optimized routine just with gcc (not as, not ld) gains 1.5 
minutes. I expect, that other string library routines
could need some work, to improve overall performance.

>> The native 2.0 kernel on a 488/66 takes approximately the same time,
>> most pentium boxes do this job between 10 minutes and 25 minutes, PPro
>> machines below 6 minutes. If I compare the calculation power e.g. with
>> an (simple) dhrystone-test the axpPCI system beats the intel boxes as
>> well as an SGI with R4600/100. My impression of the performance working
>> with the noname machine is that the old 488/66 is much slower.

Also note,comparing native Linux kernel compilation on two
different architechures is not a benchmark: You actually use two
different compilers (an intel and an alpha code generator) to compile
two different programs (an intel and an alpha kernel). 

If you'd like to get a meaningfull result for gcc, you have to use a
crosscompiler. But even this is not fair, as one of them will have
additional code to handle the 32/64 bit difference of the host/target
machine.

Greetings, 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] 11+ messages in thread

end of thread, other threads:[~1996-07-20 17:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-16 12:15 Alpha/Intel performance David Wild
  -- strict thread matches above, loose matches on Subject: below --
1996-07-20 17:44 Martin Ostermann
1996-07-17 12:25 David Wild
1996-07-16 20:09 Harold H. Youngren
1996-07-16 20:14 ` Dave Mitchell
     [not found] <31EB88A2@msmailgtwy.nvl.symix.com>
1996-07-16 16:00 ` Dave Mitchell
1996-07-16 22:14   ` Berndt Josef Wulf
     [not found] <Pine.SGI.3.94.960716004723.2461A-100000@groucho.pci.uni-hannover.de>
1996-07-15 23:50 ` Robert Allen Barker
1996-07-15 22:24 Robert Allen Barker
1996-07-15 22:50 ` Dirk Wetter
1996-07-15 23:12 ` Bill Broadley

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