Tablebase suggestion

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

Moderator: Ras

syzygy
Posts: 5942
Joined: Tue Feb 28, 2012 11:56 pm

Re: Tablebase suggestion

Post by syzygy »

Kirill Kryukov wrote: Fri Jan 30, 2026 1:43 am
syzygy wrote: Fri Jan 23, 2026 10:42 amMaybe you could also try to calculate the number of positions in a single 8-piece tablebase (say KRBPvKRNP) and calculate the time you need to evaluate each position for say 10ms. Let's have 1000 CPUs working on them in parallel. How long does it take?
Hi. This caught my attention. The KRBPvKRNP endgame has precisely 64,513,180,757,427 unique legal positions, which makes it only 59-th largest 8-piece endgame. The largest one is KRBNPvKBN with 87,076,702,767,652 unique legal positions. Of course this is the lower bound, the number of positions that will be indexed with a particular indexing method will be still larger. Hope it helps a little. :-)
Hi Kirill, I noticed that your NULP numbers for individual endgames are not all equal to mine.
For example, for KQRvKQR you have counted 3,239,241,501 legal positions.
However, I am counting 3,211,734,620 legal positions.

In general, we seem to get the same number for 4v2 tables but not for 3v3 tables.
For example, for KQNNvKQ we both count 3,766,253,475 legal positions.
syzygy
Posts: 5942
Joined: Tue Feb 28, 2012 11:56 pm

Re: Tablebase suggestion

Post by syzygy »

syzygy wrote: Sun Mar 08, 2026 1:02 am
Kirill Kryukov wrote: Fri Jan 30, 2026 1:43 am
syzygy wrote: Fri Jan 23, 2026 10:42 amMaybe you could also try to calculate the number of positions in a single 8-piece tablebase (say KRBPvKRNP) and calculate the time you need to evaluate each position for say 10ms. Let's have 1000 CPUs working on them in parallel. How long does it take?
Hi. This caught my attention. The KRBPvKRNP endgame has precisely 64,513,180,757,427 unique legal positions, which makes it only 59-th largest 8-piece endgame. The largest one is KRBNPvKBN with 87,076,702,767,652 unique legal positions. Of course this is the lower bound, the number of positions that will be indexed with a particular indexing method will be still larger. Hope it helps a little. :-)
Hi Kirill, I noticed that your NULP numbers for individual endgames are not all equal to mine.
For example, for KQRvKQR you have counted 3,239,241,501 legal positions.
However, I am counting 3,211,734,620 legal positions.

In general, we seem to get the same number for 4v2 tables but not for 3v3 tables.
For example, for KQNNvKQ we both count 3,766,253,475 legal positions.
Ah, it's probably just the positions with castling rights that you are counting!
(So nothing to do with 4v2 vs 3v3.)