Cfish 9 is OUT!

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

supersharp77
Posts: 1242
Joined: Sat Jul 05, 2014 7:54 am
Location: Southwest USA

Re: Cfish 9 w32-w64 is out....

Post by supersharp77 »

zullil wrote:and it's 15% faster than SF 9 (your mileage may vary)! And that's just for one thread. Even better with many threads on NUMA systems.

https://github.com/syzygy1/Cfish

Looks like you'll need to compile for yourself.

Hoping Mohammed returns to provide us with Asmfish 9 ...
Cfish 9 w32-w64 is out!! Time for new Stockfish Testing!!

http://www63.zippyshare.com/v/Hp4NMnqc/file.html
Jesse Gersenson
Posts: 593
Joined: Sat Aug 20, 2011 9:43 am

Re: Cfish 9 w32-w64 is out....

Post by Jesse Gersenson »

This command works to build SF9 and fails to build Cfish 9
~$ make -j3 build ARCH=x86-32

What's the correct command to make a 32-bit linux bin?

Changing the default values, and then running the above command, is a usable workaround:

Code: Select all

optimize = yes
debug = no
sanitize = no
bits = 32
prefetch = no
popcnt = no
sse = no
pext = no
syzygy
Posts: 5557
Joined: Tue Feb 28, 2012 11:56 pm

Re: Cfish 9 w32-w64 is out....

Post by syzygy »

Jesse Gersenson wrote:This command works to build SF9 and fails to build Cfish 9
~$ make -j3 build ARCH=x86-32

What's the correct command to make a 32-bit linux bin?
You're right, there are some problems with the Makefile.
I think I have fixed them now.

(You may still have to add numa=no if your system is Linux and does not have a 32-bit libnuma installed.)
Jesse Gersenson
Posts: 593
Joined: Sat Aug 20, 2011 9:43 am

Re: Cfish 9 w32-w64 is out....

Post by Jesse Gersenson »

syzygy wrote:I think I have fixed them now.
Thanks Ronald.

I confirm this works:
~$ make -j3 build ARCH=x86-32 numa=no
Jesse Gersenson
Posts: 593
Joined: Sat Aug 20, 2011 9:43 am

Re: Cfish 9 w32-w64 is out....

Post by Jesse Gersenson »

machine: Pentium I - 150mhz
test: ./engine bench 1 1 8

sf9 - 25386 ms - 252970 nodes - 9964 n/s
cf9 - 20924 ms - 241189 nodes - 11528 n/s
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: Cfish 9 is OUT!

Post by mcostalba »

syzygy wrote:
modolief wrote:How was the rusftish source created? Is it generated from the C++ source, or is it hand built?
Hand built, while learning Rust.

I noticed yesterday there is something wrong with time management (it moves immediately). And although the default bench is identical, benches to a higher depth have a different node count. So I have still some bugs to fix.
Amazing attempt!

You ported SF code to C, Rust, now what else? May be go language...

Anyhow very nice code, I gave a quick glance at it...now, after 2 full ports, you know SF code better than anybody else :-)
Vinvin
Posts: 5228
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Cfish 9 w32-w64 is out....

Post by Vinvin »

Jesse Gersenson wrote:machine: Pentium I - 150mhz
test: ./engine bench 1 1 8

sf9 - 25386 ms - 252970 nodes - 9964 n/s
cf9 - 20924 ms - 241189 nodes - 11528 n/s

I love this ! 8-) 8-) 8-)
Melancholy rules :wink:
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Cfish 9 is OUT!

Post by zullil »

mcostalba wrote:
syzygy wrote:
modolief wrote:How was the rusftish source created? Is it generated from the C++ source, or is it hand built?
Hand built, while learning Rust.

I noticed yesterday there is something wrong with time management (it moves immediately). And although the default bench is identical, benches to a higher depth have a different node count. So I have still some bugs to fix.
Amazing attempt!

You ported SF code to C, Rust, now what else? May be go language...

Anyhow very nice code, I gave a quick glance at it...now, after 2 full ports, you know SF code better than anybody else :-)
Maybe, but Mohammed can render it in assembly language. He must know the code really well too. :wink:
syzygy
Posts: 5557
Joined: Tue Feb 28, 2012 11:56 pm

Re: Cfish 9 is OUT!

Post by syzygy »

mcostalba wrote:
syzygy wrote:
modolief wrote:How was the rusftish source created? Is it generated from the C++ source, or is it hand built?
Hand built, while learning Rust.

I noticed yesterday there is something wrong with time management (it moves immediately). And although the default bench is identical, benches to a higher depth have a different node count. So I have still some bugs to fix.
Amazing attempt!

You ported SF code to C, Rust, now what else? May be go language...

Anyhow very nice code, I gave a quick glance at it...now, after 2 full ports, you know SF code better than anybody else :-)
Thanks!

The idea of Gofish has crossed my mind, but I hope I can withstand the temptation :-)