Stockfish version with hash saving capability

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
User avatar
Zerbinati
Posts: 61
Joined: Mon Aug 18, 2014 5:12 pm
Location: Trento (Italy)

Re: Stockfish version with hash saving capability

Post by Zerbinati » Wed Aug 02, 2017 7:39 am

Pull Request is close from Marco Costalba

User avatar
cdani
Posts: 2104
Joined: Sat Jan 18, 2014 9:24 am
Location: Andorra
Contact:

Re: Stockfish version with hash saving capability

Post by cdani » Wed Aug 02, 2017 7:53 am

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 9:55 am
Location: Russia

Re: Stockfish version with hash saving capability

Post by Chess762 » Wed Aug 02, 2017 8:04 am

cdani wrote: From time to time I will publish an updated version of Stockfish with these features.
It will be excellent!

Rodolfo Leoni
Posts: 544
Joined: Tue Jun 06, 2017 2:49 pm
Location: Italy

Re: Stockfish version with hash saving capability

Post by Rodolfo Leoni » Wed Aug 02, 2017 8:33 am

Zerbinati wrote:Pull Request is close from Marco Costalba
Thanks for your contribution, anyway. :)
F.S.I. Chess Teacher

retep1
Posts: 42
Joined: Sun Aug 07, 2016 3:24 pm

Re: Stockfish version with hash saving capability

Post by retep1 » Wed Aug 02, 2017 10:02 am

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: 544
Joined: Tue Jun 06, 2017 2:49 pm
Location: Italy

Re: Stockfish version with hash saving capability

Post by Rodolfo Leoni » Wed Aug 02, 2017 10:07 am

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: 5667
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Stockfish version with hash saving capability

Post by zullil » Wed Aug 02, 2017 10:15 am

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: 544
Joined: Tue Jun 06, 2017 2:49 pm
Location: Italy

Re: Stockfish version with hash saving capability

Post by Rodolfo Leoni » Wed Aug 02, 2017 10:22 am

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: 5667
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Stockfish version with hash saving capability

Post by zullil » Wed Aug 02, 2017 10:36 am

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: 5667
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Stockfish version with hash saving capability

Post by zullil » Wed Aug 02, 2017 10:41 am

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.

Post Reply