From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4671,101c0391adf3108 X-Google-Attributes: gidf4671,public X-Google-Thread: fcda7,101c0391adf3108 X-Google-Attributes: gidfcda7,public X-Google-Thread: fa528,101c0391adf3108 X-Google-Attributes: gidfa528,public X-Google-Thread: 10d15d,101c0391adf3108 X-Google-Attributes: gid10d15d,public X-Google-Thread: 1164f8,101c0391adf3108 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2003-06-10 23:57:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!news-hub.siol.net!news.siol.net!not-for-mail From: Bob Marcan Organization: Aster User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030405 X-Accept-Language: en-us, en, sl MIME-Version: 1.0 Newsgroups: comp.sys.sun.hardware,comp.sys.dec,comp.unix.tru64,alt.solaris.x86,comp.sys.hp.hpux Subject: Re: Floating point performance of UNIX workstations. References: <3EE164EE.CFCA1FA0@ntlworld.com> <3EE16748.4E9C43C7@ntlworld.com> In-Reply-To: <3EE16748.4E9C43C7@ntlworld.com> X-Enigmail-Version: 0.74.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <%oAFa.809$78.34904@news.siol.net> Date: Wed, 11 Jun 2003 08:57:06 +0200 NNTP-Posting-Host: 193.77.159.20 X-Complaints-To: abuse@siol.net X-Trace: news.siol.net 1055314619 193.77.159.20 (Wed, 11 Jun 2003 08:56:59 MET DST) NNTP-Posting-Date: Wed, 11 Jun 2003 08:56:59 MET DST Xref: archiver1.google.com comp.sys.sun.hardware:31874 comp.sys.dec:16168 comp.unix.tru64:10046 alt.solaris.x86:32576 comp.sys.hp.hpux:29199 Dr. David Kirkby wrote: > 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. PW600a is a cripled machine (no sec cache) sold to run Windoze. Regards, Bob -- Bob Marcan mailto:bob.marcan@snt.si Aster^H^H...HermesPlus^H^H^H...S&T mailto:bob.marcan@aster.si Nade Ovcakove 1 tel: +386 (1) 5894-329 1000 Ljubljana, Slovenia http://www.snt.si