Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ukma!psuvm.bitnet!tuccvm.bitnet!npasmith From: NPASMITH@TUCCVM.BITNET (Philip A. Smith) Newsgroups: comp.sys.ibm.pc Subject: Benchmarks Message-ID: <19NPASMITH@TUCCVM> Date: Thu, 12-Nov-87 20:55:13 EST Article-I.D.: TUCCVM.19NPASMITH Posted: Thu Nov 12 20:55:13 1987 Date-Received: Mon, 16-Nov-87 07:11:56 EST Organization: Triangle Universities Computation Center I just spent a week benchmarking all the machines I could gain access to. The benc Lines: The benc Keywords: arks are included at the end of this file (C and FORTRAN). The objective was to figure out which Machine | CPU |N=30 |N=30 |N=50 |N=50 | N=70 || | | | |FORT | C |FORT | C | FORT ||FORT | C | IBM XT | 8088/7 |-----|60.57|-----|-----|------||-----|62.93| Zenith Z158 | V20/8087 |50.55|39.31|-----|-----|------||-----|42.96| Everex 1800 | 80286 |-----|299.0|-----|-----|------||-----|17.18| IBM AT 6MHz | 80286/7 |76.89|60.26|-----|-----|------||-----|23.05| IBM AT 16MHz| 80386/7 |15.73|13.60|-----|61.60|------||-----| 7.48| Zenith Z386 | 80386 |-----|132.2|-----|-----|------||-----| 6.85| | Sun 3/60 | 6.43|-----|35.95|-----|100.21||-----| 9.76| * | Microvax |12.37|-----|42.05|-----|108.35||15.35|-----| * | Vax11/785| 6.66|-----|20.13|-----| 48.88||11.18|-----| * | IBM 4341 | 4.16| 7.26|19.03|33.54| 52.09|| 8.45| 6.65| * | IBM 4381 | 1.65| 2.90| 7.10|13.34| 19.55|| 4.23| 3.73| * | IBM 3081 | 0.56| 1.01| 2.53| 4.71| 6.93|| 1.06| 1.28| * | IBM 3090 | 0.18| 0.39| 0.80| 1.80| 2.19|| 0.51| 0.69| +----------+-----+-----+-----+-----+------++-----+-----+ * CPU time reported by operating system, all others elapsed time. Interesting Observations: The Everex 1800 and Zenith Z386 did not have math coprocessors (I would expect them to do very well if they did) ! The "16MHz IBM AT" was a 6MHz AT with an Intel Inboard/386 card and 80387 math coprocessor. Look at the integer time for the Z386! This was a base model without the 64k memory cache, so this time could be improved. Something weird is happening with the Sun 3/60 -- for longer runs it is "asymptotically" approaching Microvax performance. The Vaxes integer performance was disappointing. This ought to make owners of XT/AT/386's feel better. I was going to have a "cost" column for each machine but I don't have the slightest idea what a 3090 , etc. costs (10**7 $ ?), plus university pricing is vastly different from retail. If someone wants to enlighten us, please do. When you consider that many of the big machines run with an "overload factor" (elapsed time/CPU time) of 5-20, you might get your work done faster on a micro. If you've used TSO on an overloaded big IBM, you won't get too enthused about "multiuser" PCs. ************************************ Floating-point benchmark - triple integration by the mid-point rule. Note that the exp(x/y) can be pulled out of the inner loop by a smart optimizing compiler -- if a machine has such a compiler then it deserves the better benchmark time. (Not efficient but easy to type into machines that aren't networked to anything.) *** bench.c *** #include #include main() { double d,start,x,y,z,v=0; int i,j,k,n; puts("enter n:"); scanf("%d",&n); d=1.0/n; start=1.0+0.5*d; for( x=start,i=0; i