Crafty-22.9 is available

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

Moderator: Ras

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

Re: Crafty-22.9 is available

Post by zullil »

Dann Corbit wrote:The new crafty seems to be somewhat faster than older versions in terms of NPS.
Only by about 1%, at least based on the following (admittedly scant) data:

Code: Select all

Crafty v22.8 (1 cpus)

White(1): bench
Running benchmark. . .
......
Total nodes: 111671982
Raw nodes per second: 2147538
Total elapsed time: 52.21

Crafty v22.9 (1 cpus)

White(1): bench
Running benchmark. . .
......
Total nodes: 114972412
Raw nodes per second: 2169290
Total elapsed time: 53.16
Perhaps Bob Hyatt can quantify the improvement more accurately.
User avatar
Werner
Posts: 2995
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Crafty-22.9 is available - other link?

Post by Werner »

Dann Corbit wrote:Until Jim comes along and makes a faster one, here is a build with a 64 bit binary in it:
http://cap.connx.com/chess-engines/new- ... fty229.zip
Hi,
is there any other link for download the .exe?
I get 100byte per second - and then download stopps.
best
Werner
Dann Corbit
Posts: 12792
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Crafty-22.9 is available

Post by Dann Corbit »

On my machine it is 3% faster for bench, and I am comparing it to an Intel build which usually clobbers my build (by anywhere from 10-30%).

C:\chess\winboard\crafty>crafty-22.9
EPD Kit revision date: 1996.04.21
found computer opening book file [./bookc.bin].

Initializing multiple threads.
System is SMP, not NUMA.
hash table memory = 192M bytes.
pawn hash table memory = 8M bytes.
EGTB cache memory = 32M bytes.
ERROR "drawscore=0 " is unknown rc-file option
choose from book moves randomly (using weights.)
choose from 5 best moves.
book learning enabled
result learning enabled
resign after 5 consecutive moves with score < -9.
EGTB access enabled
using tbpath=c:\chess\winboard\Nalimov;c:\arena\engines\nalimov;
6 piece tablebase files found
72095kb of RAM used for TB indices and decompression tables
max threads set to 4

Crafty v22.9 (4 cpus)

White(1): bench
Running benchmark. . .
......
Total nodes: 132210433
Raw nodes per second: 12019130
Total elapsed time: 11.82
White(1): quit

C:\chess\winboard\crafty>crafty-22.8-win64.exe
EPD Kit revision date: 1996.04.21
found computer opening book file [./bookc.bin].

Initializing multiple threads.
System is SMP, not NUMA.
hash table memory = 192M bytes.
pawn hash table memory = 8M bytes.
EGTB cache memory = 32M bytes.
ERROR "drawscore=0 " is unknown rc-file option
choose from book moves randomly (using weights.)
choose from 5 best moves.
book learning enabled
result learning enabled
resign after 5 consecutive moves with score < -9.
EGTB access enabled
using tbpath=c:\chess\winboard\Nalimov;c:\arena\engines\nalimov;
6 piece tablebase files found
72127kb of RAM used for TB indices and decompression tables
max threads set to 4

Crafty v22.8 (4 cpus)

White(1): bench
Running benchmark. . .
......
Total nodes: 128172256
Raw nodes per second: 11652023
Total elapsed time: 11.45
White(1):
User avatar
Werner
Posts: 2995
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Crafty-22.9 is available - other link?

Post by Werner »

Werner wrote:
Dann Corbit wrote:Until Jim comes along and makes a faster one, here is a build with a 64 bit binary in it:
http://cap.connx.com/chess-engines/new- ... fty229.zip
Hi,
is there any other link for download the .exe?
I get 100byte per second - and then download stopps.
best
Werner
Thanks Dann for the email!
Werner
User avatar
Jim Ablett
Posts: 2303
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Crafty-22.9 is available - other link?

Post by Jim Ablett »

Werner wrote:
Dann Corbit wrote:Until Jim comes along and makes a faster one, here is a build with a 64 bit binary in it:
http://cap.connx.com/chess-engines/new- ... fty229.zip
Hi,
is there any other link for download the .exe?
I get 100byte per second - and then download stopps.
best
Werner
Hi Werner,

Here's a mirror link to Dann's x64 compile (mine will be along later) >

http://www.mediafire.com/?mju53mtzymj

Jim.
gerold
Posts: 10121
Joined: Thu Mar 09, 2006 12:57 am
Location: van buren,missouri

Re: Crafty-22.9 is available - other link?

Post by gerold »

Jim Ablett wrote:
Werner wrote:
Dann Corbit wrote:Until Jim comes along and makes a faster one, here is a build with a 64 bit binary in it:
http://cap.connx.com/chess-engines/new- ... fty229.zip
Hi,
is there any other link for download the .exe?
I get 100byte per second - and then download stopps.
best
Werner
Hi Werner,

Here's a mirror link to Dann's x64 compile (mine will be along later) >

http://www.mediafire.com/?mju53mtzymj

Jim.
Will you be compile one for winboard to be used in
Arena on Vista OS.

Thanks,

Gerold.
Vinvin
Posts: 5298
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Crafty-22.9 is available

Post by Vinvin »

bob wrote:
Dann Corbit wrote:The new crafty seems to be somewhat faster than older versions in terms of NPS.

I saw up to 15M NPS in opening positions.
That's 7.5% of Deep Blue.
:shock:
run it on a dual-chip I7.

:)
So .. what's the speed on such a box ?? :-)
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Crafty-22.9 is available

Post by zullil »

Dann Corbit wrote:On my machine it is 3% faster for bench, and I am comparing it to an Intel build which usually clobbers my build (by anywhere from 10-30%).
Interesting. I used the same compiler version and the same compiler options for both 22.8 and 22.9:

Code: Select all

darwin:
	$(MAKE) target=FreeBSD \
		CC=icc CXX=icpc \
		CFLAGS='$(CFLAGS) -ipo -mdynamic-no-pic -O2 -no-prec-div -static -m64' \
		CXFLAGS=$(CFLAGS) \
		LDFLAGS=$(LDFLAGS) \
		LIBS='-lpthread -lstdc++' \
		opt='$(opt) -DCPUS=2 -DINLINE64 \
                   -DBOOKDIR="/Users/Louis/Documents/Chess/Crafty/Books" \
                   -DLOGDIR="./Logs" \
                   -DTBDIR="/Users/Louis/Documents/Chess/Crafty/TB" ' \
		crafty-make

User avatar
Jim Ablett
Posts: 2303
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Crafty-22.9 is available - other link?

Post by Jim Ablett »

gerold wrote:
Jim Ablett wrote:
Werner wrote:
Dann Corbit wrote:Until Jim comes along and makes a faster one, here is a build with a 64 bit binary in it:
http://cap.connx.com/chess-engines/new- ... fty229.zip
Hi,
is there any other link for download the .exe?
I get 100byte per second - and then download stopps.
best
Werner
Hi Werner,

Here's a mirror link to Dann's x64 compile (mine will be along later) >

http://www.mediafire.com/?mju53mtzymj

Jim.
Will you be compile one for winboard to be used in
Arena on Vista OS.

Thanks,

Gerold.
Hi Gerold,

I'm just re-compiling to incorporate draw offer bugfix. New compiles along
shortly.

Jim.
jarkkop
Posts: 198
Joined: Thu Mar 09, 2006 2:44 am
Location: Helsinki, Finland

Re: Crafty-22.9 is available

Post by jarkkop »

crafty has started to use c++ features in variable declarations?

iterate.c

if (iteration_depth > 3) {
time_used = ReadClock() - start_time;
int time_left = time_limit - time_used;
int prev_ply = ReadClock() - prev_time;