From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,621fba82ae0379b7 X-Google-Attributes: gid1164f8,public From: Atcq4eva Subject: Re: Benchmark? Date: 2000/03/29 Message-ID: <38E1892F.72115D6E@mediaone.net>#1/1 X-Deja-AN: 603715965 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 954305143 24.128.249.176 (Tue, 28 Mar 2000 23:45:43 EST) Organization: Road Runner MIME-Version: 1.0 NNTP-Posting-Date: Tue, 28 Mar 2000 23:45:43 EST Newsgroups: comp.sys.dec Check out the Test Drive program at http://www.testdrive.compaq.com. Compaq has a variety of Alpha servers/workstations available to developers for testing code.. Olu Ron Jacobson wrote: > > [I apologize in advance, if this newsgroup is inappropriate > for the following question; if so, what would the correct > newsgroup(s) be?] > > I would be grateful if people run the program below (a silly > number cruncher), either on DPW xxxAU or XP1000 500/667 MHz > machines (after compiling with "-fast" and "-arch ev6"), and > report the running time (you also need to compile with "-lm" > because of the sqrt function). The result is 3.112373e+11. > > I'm just curious, as we get quite a variation in running times... > on an XP1000 667MHz I use, it takes 0.96 CPU seconds. On > different 433AU's, running times substantially differ, and I > cannot understand why. On an ES40 500MHz (1 CPU), running > time was 0.99 CPU seconds; why is the 667MHz machine faster > than the 500MHz one only by about 3 percent? > > Cheers, Ron Jacobson. > > Here is my masterpiece of a program: > > #include > #include > > main(ac,av) > char **av; > { > int i,j,k; double a,sum=0.0; > > for(i=0;i<300;i++) > for(j=0;j<300;j++) > for(k=0;k<300;k++){ > a=1000066.44*i+1001.99*j+0.9944*k; > sum += sqrt(a); > } > > printf("%e\n",sum); > }