[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] Pattern Matcher



OK, I fixed the bug... here are the results for a 1.6GHz Opteron in 64 bit
mode Linux:
gcc3.2.3 -O2:     1825 Kpos/sec
Java 5.0 -server:  1236  Kpos/sec

So the Java version is 32% slower in this case (or the C version is 47%
faster).

-Yonik

> I tried this on a Opteron in 64 bit mode (RH Linux EL 3), but I get a
> segfault.
> It looks like the C code isn't 64 bit clean...
>
> I also tried it on a 2.8GHz Xeon running RedHat EL 3.0:
> gcc3.2.3 -O2:     1257.7 Kpos/sec
> Java 5.0 -server:  1132.4 Kpos/sec
>
> So in this quick test, the java version is 10% slower.
>
> -Yonik
>
> ----- Original Message ----- 
> From: "John Tromp" <John.Tromp@xxxxxxxxxxxxxxxxx>
> To: "computer-go" <computer-go@xxxxxxxxxxxxxxxxx>
> Sent: Tuesday, November 09, 2004 8:38 AM
> Subject: Re: [computer-go] Pattern Matcher
>
>
> > PS: it does seem C compilers have improved lately:
> >      gcc -O gets
> >        95994066 pos / 46619 msec = 2059.1 Kpos/sec
> >      while IBMJava2-142 gets
> >        95994066 pos / 72105 msec = 1331.3 Kpos/sec
> >      on solving the position 4443333 on my AMD Athlon(tm) XP 2700+
> machine.
> >      So, C is almost 55% faster. More than the 25% gap I noticed a few
> years
> >      back, but nothing like the "more than 200% gap" Vincent would have
> you
> >      believe.

_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/