* Benchmark?
@ 2000-03-28 5:00 Ron Jacobson
2000-03-29 5:00 ` Benchmark? Atcq4eva
2000-03-29 5:00 ` Benchmark? Robert Harley
0 siblings, 2 replies; 4+ messages in thread
From: Ron Jacobson @ 2000-03-28 5:00 UTC (permalink / raw)
[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);
}
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Benchmark?
2000-03-28 5:00 Benchmark? Ron Jacobson
@ 2000-03-29 5:00 ` Atcq4eva
2000-03-29 5:00 ` Benchmark? Robert Harley
1 sibling, 0 replies; 4+ messages in thread
From: Atcq4eva @ 2000-03-29 5:00 UTC (permalink / raw)
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);
> }
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Benchmark?
2000-03-28 5:00 Benchmark? Ron Jacobson
2000-03-29 5:00 ` Benchmark? Atcq4eva
@ 2000-03-29 5:00 ` Robert Harley
2000-03-29 5:00 ` Benchmark? Ron Jacobson
1 sibling, 1 reply; 4+ messages in thread
From: Robert Harley @ 2000-03-29 5:00 UTC (permalink / raw)
rjac@world.std.com (Ron Jacobson) writes:
> 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
Here are times on two 500 MHz machines. The first is a DS20 and the
second is an XP1000:
bea: cc.alt -O5 -arch ev6 -fast -lm bla.c -o bla
bea: time ./bla
3.112373e+11
0.870u 0.001s 0:00.87 100.0% 0+1k 0+0io 0pf+0w
bea: time ./bla
3.112373e+11
0.867u 0.003s 0:00.87 98.8% 0+1k 0+0io 0pf+0w
bea: time ./bla
3.112373e+11
0.868u 0.001s 0:00.87 98.8% 0+1k 0+0io 0pf+0w
bea: time ./bla
3.112373e+11
0.868u 0.001s 0:00.87 98.8% 0+1k 0+0io 0pf+0w
rie: time ./bla
3.112373e+11
0.869u 0.001s 0:00.87 98.8% 0+1k 0+0io 0pf+0w
rie: time ./bla
3.112373e+11
0.871u 0.001s 0:00.87 100.0% 0+1k 0+0io 0pf+0w
rie: time ./bla
3.112373e+11
0.881u 0.001s 0:00.88 100.0% 0+1k 0+0io 0pf+0w
rie: time ./bla
3.112373e+11
0.869u 0.002s 0:00.87 98.8% 0+1k 0+0io 0pf+0w
Bye,
Rob.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Benchmark?
2000-03-29 5:00 ` Benchmark? Robert Harley
@ 2000-03-29 5:00 ` Ron Jacobson
0 siblings, 0 replies; 4+ messages in thread
From: Ron Jacobson @ 2000-03-29 5:00 UTC (permalink / raw)
Robert Harley <harley@corton.inria.fr> writes:
> Here are times on two 500 MHz machines. The first is a
> DS20 and the second is an XP1000:
>
> bea: cc.alt -O5 -arch ev6 -fast -lm bla.c -o bla
>
> bea: time ./bla
> 3.112373e+11
> 0.870u 0.001s 0:00.87 100.0% 0+1k 0+0io 0pf+0w
[List of similar running times deleted]
Thanks for checking this out. I compiled as you did (I was
not even aware of the "cc.alt" option), and ran the
program again on my 667 MHz XP1000. It did improve the
running time as compared to my previous "cc -fast -arch ev6",
but I was disappointed to get running times which hover around
0.875u - that is, ever-so-slightly *slower* than your 500 MHz
XP1000 :-(.
Best, Ron Jacobson.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-03-29 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-28 5:00 Benchmark? Ron Jacobson
2000-03-29 5:00 ` Benchmark? Atcq4eva
2000-03-29 5:00 ` Benchmark? Robert Harley
2000-03-29 5:00 ` Benchmark? Ron Jacobson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox