Can someone with access to pluto (the OSX machine at RAL) please run the
attached benchmark? I don't have an account on pluto.
My new shiny 2.7GHz G5 runs it 5 times slower than my old 3GHz P4 and I'm
wondering whether this is normal.
My timings are
Apele (2.7 GHz PPC 8GB):
no opt 36 s
-O2 30
-O3 30
-O3 -faltivec 30
-O3 -faltivec -mcpu=powerpc64 24
-O3 -faltivec -mcpu=powerpc64 -m64 12 *
* This last one won't work on OSX 10.3
Lapaki (3.0 GHz P4 1GB):
No opt 16
-O2 6
-O3 6
so getting answers from another G5 would be great. (what speed is it?)
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
#include <stdio.h>
#include <stdlib.h>
#define SIZE 2E8
int main (int argc, char **argv) {
int *buf;
long int i;
int j;
buf=(int *)malloc(SIZE*sizeof(int));
for(j=0; j<10; j++) {
for(i=0;i<SIZE;i++) {
buf[i] += j;
}
}
return 0;
}
|