Page 1 of 4

Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 8:27 pm
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 ...

Re: Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 8:41 pm
by Nordlandia
What to do with makefile in order to compile it?

Re: Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 8:50 pm
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.

Re: Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 8:58 pm
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

Re: Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 9:01 pm
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.

Re: Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 9:16 pm
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

Re: Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 9:21 pm
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.

Re: Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 9:33 pm
by Jouni
Also SF9 bmi is 10% faster than Cfish bmi. Some other benefits :) ? I tested in corei5 and windows.

Re: Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 9:40 pm
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?

Re: Cfish 9 is OUT!

Posted: Wed Jan 31, 2018 9:43 pm
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".