Cfish 9 is OUT!

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
supersharp77
Posts: 766
Joined: Sat Jul 05, 2014 5:54 am
Location: Southwest USA

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

Post by supersharp77 » Mon Feb 05, 2018 6:32 am

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: 575
Joined: Sat Aug 20, 2011 7:43 am
Contact:

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

Post by Jesse Gersenson » Sun Feb 18, 2018 3:03 pm

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: 4458
Joined: Tue Feb 28, 2012 10:56 pm

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

Post by syzygy » Sun Feb 18, 2018 4:05 pm

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: 575
Joined: Sat Aug 20, 2011 7:43 am
Contact:

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

Post by Jesse Gersenson » Sun Feb 18, 2018 10:18 pm

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: 575
Joined: Sat Aug 20, 2011 7:43 am
Contact:

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

Post by Jesse Gersenson » Mon Feb 19, 2018 10:07 am

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 7:17 pm

Re: Cfish 9 is OUT!

Post by mcostalba » Mon Feb 19, 2018 11:54 am

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: 4395
Joined: Thu Mar 09, 2006 8:40 am
Full name: Vincent Lejeune

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

Post by Vinvin » Mon Feb 19, 2018 12:50 pm

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: 5684
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Cfish 9 is OUT!

Post by zullil » Mon Feb 19, 2018 2:40 pm

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: 4458
Joined: Tue Feb 28, 2012 10:56 pm

Re: Cfish 9 is OUT!

Post by syzygy » Mon Feb 19, 2018 7:04 pm

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 :-)

Post Reply