Stockfish version with hash saving capability

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

Moderators: hgm, Rebel, chrisw

User avatar
Zerbinati
Posts: 122
Joined: Mon Aug 18, 2014 7:12 pm
Location: Trento (Italy)

Re: Stockfish version with hash saving capability

Post by Zerbinati »

Pull Request is close from Marco Costalba
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 »

Zerbinati wrote:Pull Request is close from Marco Costalba
From time to time I will publish an updated version of Stockfish with these features. Or maybe some known derivative will include it.
Chess762
Posts: 4
Joined: Fri Jul 28, 2017 11:55 am
Location: Russia

Re: Stockfish version with hash saving capability

Post by Chess762 »

cdani wrote: From time to time I will publish an updated version of Stockfish with these features.
It will be excellent!
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 »

Zerbinati wrote:Pull Request is close from Marco Costalba
Thanks for your contribution, anyway. :)
F.S.I. Chess Teacher
retep1
Posts: 44
Joined: Sun Aug 07, 2016 5:24 pm

Re: Stockfish version with hash saving capability

Post by retep1 »

Is asmfish with option TTF-file one of the derivates with hash saving capability?
https://github.com/lantonov/asmFish/tre ... es/Windows
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 »

retep1 wrote:Is asmfish with option TTF-file one of the derivates with hash saving capability?
https://github.com/lantonov/asmFish/tre ... es/Windows
I tried it less than one minute. AsmFishW resets its hashes every time you make a move. I never tried to save/load them because I think a hash which only keeps its contents until a move is made is rather useless for game analysis. They are "non-persistent" hashes. :)
F.S.I. Chess Teacher
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Stockfish version with hash saving capability

Post by zullil »

Rodolfo Leoni wrote:
retep1 wrote:Is asmfish with option TTF-file one of the derivates with hash saving capability?
https://github.com/lantonov/asmFish/tre ... es/Windows
I tried it less than one minute. AsmFishW resets its hashes every time you make a move.
What? Are you using a GUI? Without looking at the code, I can't say what would trigger hash clearing in asmFish, but what you've claimed doesn't make sense to me.
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 »

zullil wrote:
Rodolfo Leoni wrote:
retep1 wrote:Is asmfish with option TTF-file one of the derivates with hash saving capability?
https://github.com/lantonov/asmFish/tre ... es/Windows
I tried it less than one minute. AsmFishW resets its hashes every time you make a move.
What? Are you using a GUI? Without looking at the code, I can't say what would trigger hash clearing in asmFish, but what you've claimed doesn't make sense to me.
Of course I use a Gui... Don't ask me to use an engine in console mode! :)

Arena Gui. Click "Analyze" and it's in infinite analysis. You'll see hashfull % raising to 99%, sometimes 100%. Then try making a move. Hashes start from 0%.

Then, try Stockfish "Savehash" version by Daniel. Uci option "Never clear hash" checked on. Click "Analyze" until hashfull is 99% (or 100%). Then try making a move and you'll see there's been no hash reset.

I hope this makes some senses....
F.S.I. Chess Teacher
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Stockfish version with hash saving capability

Post by zullil »

Rodolfo Leoni wrote:
zullil wrote:
Rodolfo Leoni wrote:
retep1 wrote:Is asmfish with option TTF-file one of the derivates with hash saving capability?
https://github.com/lantonov/asmFish/tre ... es/Windows
I tried it less than one minute. AsmFishW resets its hashes every time you make a move.
What? Are you using a GUI? Without looking at the code, I can't say what would trigger hash clearing in asmFish, but what you've claimed doesn't make sense to me.
Of course I use a Gui... Don't ask me to use an engine in console mode! :)

Arena Gui. Click "Analyze" and it's in infinite analysis. You'll see hashfull % raising to 99%, sometimes 100%. Then try making a move. Hashes start from 0%.

Then, try Stockfish "Savehash" version by Daniel. Uci option "Never clear hash" checked on. Click "Analyze" until hashfull is 99% (or 100%). Then try making a move and you'll see there's been no hash reset.

I hope this makes some senses....
I have no idea what UCI commands Arena sends to an engine when you "make a move", but, in any case, that would be an issue with the GUI, not with the engine.

And doesn't hashful simply report (approximately) the amount of hash utilized by the current search? So, of course, it starts at 0, but that doesn't mean the hash was cleared at the start of the search.
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Stockfish version with hash saving capability

Post by zullil »

retep1 wrote:Is asmfish with option TTF-file one of the derivates with hash saving capability?
https://github.com/lantonov/asmFish/tre ... es/Windows
Yes. it is.