Stockfish version with hash saving capability

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

Moderators: hgm, Rebel, chrisw

Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: Stockfish version with hash saving capability

Post by Rodolfo Leoni »

cdani wrote:Someone has a move parser that works for Stockfish?
bm Rf6
To translate Rf6 to Move.
Thanks
Hi Daniel, forgive my ignorance, but...
Isn't easier to use the section of Stockfish PA GTB code concerning the "importepd" console command? Apart from little differences as hash entries size, that could work, I guess.
(Hiding...)
:oops:
F.S.I. Chess Teacher
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Stockfish version with hash saving capability

Post by cdani »

Rodolfo Leoni wrote:
cdani wrote:Someone has a move parser that works for Stockfish?
bm Rf6
To translate Rf6 to Move.
Thanks
Hi Daniel, forgive my ignorance, but...
Isn't easier to use the section of Stockfish PA GTB code concerning the "importepd" console command? Apart from little differences as hash entries size, that could work, I guess.
(Hiding...)
:oops:
In this case was my ignorance :-)
Thanks! I will review it.
Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: Stockfish version with hash saving capability

Post by Rodolfo Leoni »

cdani wrote:
Rodolfo Leoni wrote:
cdani wrote:Someone has a move parser that works for Stockfish?
bm Rf6
To translate Rf6 to Move.
Thanks
Hi Daniel, forgive my ignorance, but...
Isn't easier to use the section of Stockfish PA GTB code concerning the "importepd" console command? Apart from little differences as hash entries size, that could work, I guess.
(Hiding...)
:oops:
In this case was my ignorance :-)
Thanks! I will review it.
:D
F.S.I. Chess Teacher
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Stockfish version with hash saving capability

Post by cdani »

Done:

www.andscacs.com/downloads/stockfish_x6 ... vehash.zip

It has a new option
option name LoadEpdToHash type button

First you set
HashFile
to an epd file and then press this new button.

It does what is supposed to do, but I don't know if this influences Stockfish search a lot, as I have not tried.
I hope is useful to someone.
Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: Stockfish version with hash saving capability

Post by Rodolfo Leoni »

cdani wrote:Done:

www.andscacs.com/downloads/stockfish_x6 ... vehash.zip

It has a new option
option name LoadEpdToHash type button

First you set
HashFile
to an epd file and then press this new button.

It does what is supposed to do, but I don't know if this influences Stockfish search a lot, as I have not tried.
I hope is useful to someone.
Thanks! Read only entries?

(I haven't an epd archive, so I hope Dann will report about how it works.)
F.S.I. Chess Teacher
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Stockfish version with hash saving capability

Post by cdani »

Rodolfo Leoni wrote: Thanks! Read only entries?
I will try to add this when someone tells that this version that I have done is useful :-)
Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: Stockfish version with hash saving capability

Post by Rodolfo Leoni »

cdani wrote:
Rodolfo Leoni wrote: Thanks! Read only entries?
I will try to add this when someone tells that this version that I have done is useful :-)
I think I can build a little software to convert engine pgn games to an epd file. It'll include ce, cd, and bm so it can be imported. Maybe I'll be ready to run a test tomorrow. :)

In case it works fine, I guess it'll be very useful. One could run a theme match and convert it --> epd --> hash.
F.S.I. Chess Teacher
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Stockfish version with hash saving capability

Post by peter »

Hi Rodolfo!

Till we have something like SF PA-GTB again, I'd be happy already, if there was some "Merge Hash"- option again.

One could not only save and reload old hash but you could keep new hash and mix it with old one, which would bei useful for two longer lines you want to judge in comparison without always losing the one backward- entries against the other ones.
:idea:
Peter.
Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: Stockfish version with hash saving capability

Post by Rodolfo Leoni »

peter wrote:Hi Rodolfo!

Till we have something like SF PA-GTB again, I'd be happy already, if there was some "Merge Hash"- option again.

One could not only save and reload old hash but you could keep new hash and mix it with old one, which would bei useful for two longer lines you want to judge in comparison without always losing the one backward- entries against the other ones.
:idea:
Hi Peter. :)

I guess Daniel could easily add the option if he has time to do it. I'd be really interested to it. I'm playing a corr tourn with the use of 2 GBs hash per opponent and it's a torture to wait for loading it every time I need to run an analysis. Maybe with that solution I could start with a little hash.
F.S.I. Chess Teacher
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Stockfish version with hash saving capability

Post by peter »

The time for saving and loading is not the problem.
The problem is, you have always new OR old hash, principally it's the same with overwriting by ongoing analysis you must deal with anyhow.

Only being able to merge new and old hash would help with that
Peter.