deMan TB Path and Cache

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

deMan TB Path and Cache

Post by Matthias Gemuh »

My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: deMan TB Path and Cache

Post by lucasart »

Matthias Gemuh wrote:Hi Ronald,

see http://74.220.23.57/forum/viewtopic.php?t=49768

Matthias.
I don't think anything is written in stone yet, but in Ronald's version of Stockfish with syzygy TB probing:

Code: Select all

option name Probe Syzygybases type spin default 6 min 0 max 6
option name Syzygybases Path type string default 
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
User avatar
Houdini
Posts: 1471
Joined: Tue Mar 16, 2010 12:00 am

Re: deMan TB Path and Cache

Post by Houdini »

For Houdini I've used a single "SyzygyPath" parameter.

There is no real need for the second parameter that Ronald added in his Stockfish implementation, Houdini will simply use the tablebases it finds in the SyzygyPath.
User avatar
rvida
Posts: 481
Joined: Thu Apr 16, 2009 12:00 pm
Location: Slovakia, EU

Re: deMan TB Path and Cache

Post by rvida »

Matthias Gemuh wrote:Hi Ronald,

see http://74.220.23.57/forum/viewtopic.php?t=49768

Matthias.
I like this tech very much. In my tests with Critter the WDL probing was so blazing fast that I am even tempted to eventually get rid of GTB's (but this is undecided yet).

I have no meaningful objection about prepending 'syzygy' to the paramater name. But a more pedantic incarnation of myself would prefer an adequate three-letter-acronym (like the original RTB) :).
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: deMan TB Path and Cache

Post by Matthias Gemuh »

Ronald says "Syzygybases Path" is standard for path. No cache.

That is what ChessGUI will expect from engines.

BTW, I hate that space in the string ! I would have prefered "SyzygyPath".


Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: deMan TB Path and Cache

Post by lucasart »

Indeed, "SyzygyPath" is better than "Syzygybases Path": prettier and consistent with other TBs. Houdini dev uses this already, all we need is make a trivial change in SF (but it's Ronald's fork so it's up to him to make the change).

Also, as pointed out by Robert, the option "Probe Syzygybases" (min0 max 6 default 6) can be removed. It is intended as a speed optimization: if you only have 5-men, you should not attempt to probe when there are 6 pieces. The initialization phase of the syzygy base can simply detect the value based omn the files present in SyzygyPath.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: deMan TB Path and Cache

Post by Matthias Gemuh »

Hi Ronald,

the consensus seems to be that "SyzygyPath" is better than "Syzygybases Path".

Would you consider switching to "SyzygyPath" to make engine and GUI programmers happy ? :wink:


Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
syzygy
Posts: 5557
Joined: Tue Feb 28, 2012 11:56 pm

Re: deMan TB Path and Cache

Post by syzygy »

Matthias Gemuh wrote:Hi Ronald,

the consensus seems to be that "SyzygyPath" is better than "Syzygybases Path".

Would you consider switching to "SyzygyPath" to make engine and GUI programmers happy ? :wink:
Fine with me :)

Actually I don't like spaces in the middle of such names, but it seemed consistent with other Stockfish UCI variables.

Any proposal for "Probe Syzygybases"?
It is certainly possible to remove this, but it may be useful as a way of disabling probing without having to change the path, or of limiting probing to 5-piece tables (e.g. for comparison purposes).
jpqy
Posts: 550
Joined: Thu Apr 24, 2008 9:31 am
Location: Belgium

Re: deMan TB Path and Cache

Post by jpqy »

I use RTB = Ronald TableBases

Easy and simple to remember!

JP.
syzygy
Posts: 5557
Joined: Tue Feb 28, 2012 11:56 pm

Re: deMan TB Path and Cache

Post by syzygy »

jpqy wrote:I use RTB = Ronald TableBases

Easy and simple to remember!
But the R stands for Regular (chess).
I have .atbw/.atbz and .stbw/.stbz files for atomic and suicide.