Perft 25

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
Ajedrecista
Posts: 2176
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Correction of an error.

Post by Ajedrecista »

Hello again:
Ajedrecista wrote:Hello:

Maximum ply for JetChess is 32... and I wanted to count the number of unique positions. Of course the result is 172,018,607 but the time of calculation is big enough: 4091.172 s (1:08:11.172).

[d]8/k7/3p4/p2P1p2/P2P1P2/8/8/K7 w - - 0 1

Hash = 1024 MB (really 1280 MB), counting with four steps for not overflow the hash:

Code: Select all

8/k7/3p4/p2P1p2/P2P1P2/8/8/K7 w - - 0 1

Count  0:      43003600
Count  1:      43007209
Count  2:      43000527
Count  3:      43007271

Positions:    172018607

172,018,607 (positions after 32 half moves).

Time: 4091.172 s (1:08:11.172).
The count was run in an Intel i5-760 at 2.8 GHz. This time the speed was more than eight times slower; IMHO JetChess suffers calculating big counts of unique positions if the hardware is not faster enough... but it finally succeeds!

Regards from Spain.

Ajedrecista.
The speed was not more than eight times slower: I divided the times of calculation (this ratio was ~ 8.16, over eight indeed), but the speed was around 3.66 times slower. Just an error that I have realized now.

Regards from Spain.

Ajedrecista.