Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Dr. David Kirkby" <drkirkby@ntlworld.com>
Subject: Re: Floating point performance of UNIX workstations.
Date: Sat, 07 Jun 2003 05:17:12 +0100	[thread overview]
Message-ID: <3EE16748.4E9C43C7@ntlworld.com> (raw)
In-Reply-To: 3EE164EE.CFCA1FA0@ntlworld.com

I'm sending this again, as the table got wrapped, making it even 
more difficult to read.

I have a number of oldish computers on which I check portability of
software.

I've collected some peformance data that might be of  interest to
some.

Some of it, espeically reguard to the dismal performance of a Dec
Alpha, is very odd.

Here's the data - notes about it follow afterwards. 

The column marked: t_seq is the time in seconds to 
run on one processor.

The column marked: t_par is the time is seconds to 
run on multiple processors.


HARDWARE and EXECUTION TIMES:
-----------------------------------------

Hostname      Machine                CPU(s)   t_seq  t_par speedup
efficiency
----------------------------------------------------------------
blackbird     Sun SPARCstation 20     75 MHz  1601   N/A     N/A   N/A
bluetit       Sun SPARCstation 20  2x125 MHz  1141   682     1.67  0.837
cheetah       PC, Solaris 8 (x86)  2x450 MHz   410   255     1.61  0.804
crow          Sun SPARCstation 20     75 MHz  3457  3522     0.98  0.982
dobermann[cc] Dec Alpha PW 600a      600 MHz   950   N/A     N/A   N/A 
dove          Sun SPARCstation 20     75 MHz  1647   N/A     N/A   N/A
robin         HP C3000               400 MHz   157   N/A     N/A   N/A  
sparrow[cc]   Sun Ultra 80         4x450 MHz   272   83      3.28  0.819
sparrow[gcc]  Sun Ultra 80         4x450 MHz   261   86      3.03  0.759
tiger         Pentium II PC          350 MHz   333   N/A     N/A   N/A  
woodpecker    Sun SPARCstation 20  2x125 MHz  1035   FAIL    FAIL  FAIL


CACHE + RAM SIZES - Cache data might not be 100% accurate.
hostname      Machine                      RAM             Cache
-----------------------------------------------------------
blackbird     Sun SPARCstation 20         256 Mb   1.000 Mb
bluetit       Sun SPARCstation 20         320 Mb   0.250 Mb
cheetah       PC, Solaris 8 (x86)         768 Mb   0.544 Mb 16kb L1 data+16 kb L1 inst. + 512 kb L2
crow          Sun SPARCstation 20         320 Mb   1.000 Mb
dobermann     Dec Alpha PW 600a          1024 Mb   4.000 Mb 
dove          Sun SPARCstation 20         288 Mb   1.000 Mb
robin         HP C3000                   1536 Mb   1.500 Mb (1 Mb data, 0.5 Mb instruction)
sparrow       Sun Ultra 80               4096 Mb   4.000 Mb 
tiger         Pentium II PC               128 Mb   0.544 Mb 16 kb L1 data+16 kb L1 inst. + 512 kb L2 
woodpecker    Sun SPARCstation 20         224 Mb   0.250 Mb 


hostname     OS-version    kernel        gsl  compiler      MPCIH
---------------------------------------------------------------------
blackbird    NetBSD  1.6                 1.1  gcc-2.93.3      NI
bluetit      Solaris 2.5                 0.5  gcc-2.93.3      NI
cheetah      Solaris 8 x86               ---  gcc-3.2.3       NI
crow         OpenBSD 3.2                 ---  gcc-2.93.3      NI
dobermann    Tru64 5.1B                  1.4  V6.5-011        NI
dove         Debian  ???  2.2.20         1.2  gcc-2.96        NI
robin        HP-UX  11                   ---  gcc-3.2.2       NI
sparrow[gcc] Solaris 9   112233-03       1.3  gcc-3.2.2    1.2.5
sparrow[cc]  Solaris 9   112233-03       1.3  cc-5.3       1.2.5
tiger        Redhat  7.2  2.4.10-5       0.8  gcc-2.96     1.2.5
woodpecker   Linux 6.2   2.2.14-5.0smp   1.0  egcs-2.91.66    NI

The makefile for the program 

http://atlc.sourceforge.net/   (version 4.3.1 to be precise)
  
runs about 90 checks, the last of which is a longish floating
point intensive computation. I did not design this as a
benchmark, but given it's what I want the software to do, for
me at least, it's a useful benchmark. Others might like to look
at these results. In particular I'd like any comments on why a
Dec Alpha seems to fare so badly.

The machine with the slowest clock speed is a Sun SPARCstation
20 with a 75 MHz CPU, the fastest clock speed a Dec Alpha
Personal Workstation 600a, running at 600 MHz. There's a couple
of machines with multiple-processors, including one with 4x450
MHz UltraSPARC II CPUs in a Sun Ultra 80.

One of the 75 MHz Suns (crow running OpenBSD) seems very
slow, but I think that must be the operating system, as
almost identical Sun hardware (blackbird and dove) are 
twice as fast. 

What I can't understand is quite why the Dec Alpha seems to
fair so very badly, when I run a floating point intensive simulation 
on these systems. Whilst not the poorest performer,
the Dec's performance is pretty poor considering its clock
speed. See the data above, which I collected. 

A simulation taking 950s ( on the Dec Alpha running at 600 MHz
is taking a mere 157 s on a 400 MHz HP C3000, or 260 s on a
single 450 MHz UltraSPARC II chip. A 75 MHz Sun SPARCstation 20
is taking less that twice the time of the Dec Alpha, yet is
running at one eight of the clock speed. (Some data below 
above for parallel code, so this clearly runs quicker on the quad
processor Sun Ultra 80).

I don't expect a 600 MHz Dec Alpha to outperform a quad 450 
MHz Sun, but looking at this data, one can't help but notice
how poor the Dec Alpha performs. The code for the Dec Alpha was
compiled using Compaq's compiler, not gcc. 

The memory used in the simulation is much greater than the 
cache size of the largest processor (4 Mb on UltraSPARC II
chip). I suspect the cache hit rate is quite low, since memory
is not accessed in the best possible manner - something I 
intend to correct later. 

See notes after the data, to understand the data better. If
anyone want to run this, download the code from 

http://atlc.sourceforge.net/

Use version 4.3.1 (not the latest, as I intend changing 
the algorithm later, so data wont be conisistanct unless 
the same version of the software is used. 


$ configure --with-threads
$ make check
don't worry about the libraries that it asks for, since 
these are not needed to run this test. 


Notes:
1) Ignore columns mark'ed gsl and MPCIH.

2) t_seq is the time in seconds to execute, using a 
sequential algorithm which does *not* exploit multiple CPUs. 

3) t_par is the time to execute, using an identical 
algorithm to above, but written to exploit multiple CPUs,
using POSIX threads.

4) 'speedup' is defined as the ratio of t_par/t_seq. 

5) 'efficiency' is speedup/number_of_CPUs present. Ideally 
this would be 1.0. 

6) Tests on 'woodpecker' a Sun SPARC 20 running Redhat 
Linux, failed when built for parallel operation, so 
results are not shown, despite the fact his machine 
had dual processors and the kernel was supposed to support
multiple CPUs. I think the thread support is Redhat 6.2 
for SPARC is suspect.

7) Data for both gcc and cc are given on the Sun Ultra 80 (sparrow).

8) I suspect the code does not make good use of the 
cache, and will in future be changed to make better 
use of the cache. However, quite why the 600 MHz 
Dec Alpha, running Compaq's compiler performs so badly 
is a mystery. 

9) This is essentially floating point intensive. IO 
should have little effect, although all machines 
have 10,000 rpm SCSI disks, of various vintages. There is
some integer arithmetic, but is is small compared to the
floating point.


10) Machines had differing memory from 128 Mb to 
4 Gb, but none should be swapping. 
-- 
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail davek@medphys.ucl.ac.uk


  reply	other threads:[~2003-06-07  4:17 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-07  4:07 Floating point performance of UNIX workstations Dr. David Kirkby
2003-06-07  4:17 ` Dr. David Kirkby [this message]
2003-06-09 14:34   ` Chip Coldwell
2003-06-09 18:09     ` Lord Isildur
2003-06-10 15:57   ` Adam Price
2003-06-11  6:57   ` Bob Marcan
2003-06-11  9:51     ` Dr. David Kirkby
2003-06-12 13:58     ` Rob B
2003-06-12 16:38       ` Dr. David Kirkby
2003-06-13  6:59         ` Bob Marcan
2003-06-07 18:45 ` GreyCloud
2003-06-07 19:28   ` brad
2003-06-08  1:40     ` Dr. David Kirkby
2003-06-08  2:05       ` bob smith
2003-06-08  2:50         ` Dr. David Kirkby
2003-06-08 11:00         ` Benjamin Gawert
2003-06-08  2:54       ` brad
2003-06-10  9:13       ` Wolfgang Rupp
2003-06-10 15:07         ` Raymond Toy
2003-06-10 15:27           ` Lord Isildur
2003-06-10 14:19       ` Wolfgang Rupp
2003-06-09  1:04     ` GreyCloud
2003-06-09  1:36       ` Mark Hittinger
2003-06-09 14:53         ` Dr. David Kirkby
2003-06-09 18:17           ` Chris Morgan
2003-06-10 15:30 ` Dr. David Kirkby
2003-06-13 12:22   ` Joachim Ring
2003-06-14 18:35   ` Pit Linnartz
read-only archive

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