Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Atcq4eva <atcq4eva@mediaone.net>
Subject: Re: Benchmark?
Date: 2000/03/29	[thread overview]
Message-ID: <38E1892F.72115D6E@mediaone.net> (raw)
In-Reply-To: Fs5Ds8.JwG@world.std.com

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 <stdio.h>
> #include <math.h>
> 
> 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);
> }



      parent reply	other threads:[~2000-03-29  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-28  5:00 Benchmark? Ron Jacobson
2000-03-29  5:00 ` Benchmark? Robert Harley
2000-03-29  5:00   ` Benchmark? Ron Jacobson
2000-03-29  5:00 ` Atcq4eva [this message]
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