Cfish 9 is OUT!

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

Moderators: hgm, Rebel, chrisw

zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Cfish 9 is OUT!

Post by zullil »

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 ...
User avatar
Nordlandia
Posts: 2821
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Cfish 9 is OUT!

Post by Nordlandia »

What to do with makefile in order to compile it?
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 »

Nordlandia wrote:What to do with makefile in order to compile it?
Assuming you have a compiler and (the utility named) make installed (and have some idea what you're doing :wink:)

Type

make help

and read about the options.
syzygy
Posts: 5557
Joined: Tue Feb 28, 2012 11:56 pm

Re: Cfish 9 is OUT!

Post by syzygy »

zullil wrote:Looks like you'll need to compile for yourself.
No longer!

https://github.com/syzygy1/Cfish/releases/tag/cfish_9

No binaries yet for Rustfish 9 :)
https://github.com/syzygy1/Rustfish/rel ... rustfish_9
User avatar
Eelco de Groot
Posts: 4561
Joined: Sun Mar 12, 2006 2:40 am
Full name:   

Re: Cfish 9 is OUT!

Post by Eelco de Groot »

zullil wrote:
Nordlandia wrote:What to do with makefile in order to compile it?
Assuming you have a compiler and (the utility named) make installed (and have some idea what you're doing :wink:)

Type

make help

and read about the options.
It compiled with the original makefile without problem for TDM-GCC directly out of the 'box' Here is a BMI2 Windows compile. Ah, I see Ronald has provided his own compiles now.
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
Andre
Posts: 98
Joined: Thu Jul 23, 2009 5:40 am

Re: Cfish 9 is OUT!

Post by Andre »

Do you know if we can build one for MacOS?
I just tried running "make build ARCH=x86-64-modern" (like I do for the master Stockfish) but I'm getting:

<...>
In file included from benchmark.c:30:
In file included from ./settings.h:4:
./numa.h:7:10: error: 'numa.h' file not found with <angled> include; use "quotes" instead
#include <numa.h>
^~~~~~~~
"numa.h"
1 error generated.
make[1]: *** [benchmark.o] Error 1
make: *** [build] Error 2

I see there's a Linux binary so I was hoping we could get one for MacOS
Thomas Zipproth
Posts: 59
Joined: Sat Jan 01, 2011 5:33 pm

Re: Cfish 9 is OUT!

Post by Thomas Zipproth »

I compared the speed of cfish_9_x64_modern_windows.exe
provided in
https://github.com/syzygy1/Cfish/releases/tag/cfish_9

with the speed of stockfish_9_x64_popcnt.exe
provided in my contribution candidates for the official Stockfish release:
www.zipproth.de/Brainfish/SF9_Windows.zip

Surprisingly, the Stockfish compile seems to be clearly faster.
I never did this comparison till now and expected CFish to be faster, perhaps someone can cross check this.
Jouni
Posts: 3281
Joined: Wed Mar 08, 2006 8:15 pm

Re: Cfish 9 is OUT!

Post by Jouni »

Also SF9 bmi is 10% faster than Cfish bmi. Some other benefits :) ? I tested in corei5 and windows.
Last edited by Jouni on Wed Jan 31, 2018 10:44 pm, edited 2 times in total.
Jouni
syzygy
Posts: 5557
Joined: Tue Feb 28, 2012 11:56 pm

Re: Cfish 9 is OUT!

Post by syzygy »

Thomas Zipproth wrote:I compared the speed of cfish_9_x64_modern_windows.exe
provided in
https://github.com/syzygy1/Cfish/releases/tag/cfish_9

with the speed of stockfish_9_x64_popcnt.exe
provided in my contribution candidates for the official Stockfish release:
www.zipproth.de/Brainfish/SF9_Windows.zip

Surprisingly, the Stockfish compile seems to be clearly faster.
I never did this comparison till now and expected CFish to be faster, perhaps someone can cross check this.
On Linux/Wine on my Sandy Bridge i7-3930K, the Cfish binary is faster.

On Linux/Wine on my Kaby Lake i7-7560U laptop, Cfish is again faster. Same for the bmi2 versions.

How are you measuring? Default bench?
syzygy
Posts: 5557
Joined: Tue Feb 28, 2012 11:56 pm

Re: Cfish 9 is OUT!

Post by syzygy »

Andre wrote:Do you know if we can build one for MacOS?
I just tried running "make build ARCH=x86-64-modern" (like I do for the master Stockfish) but I'm getting:
You could try "make build ARCH=x86-64-modern numa=no".