What should be minimum size of the Hash?

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

What should be minimum size of the Hash?

Postby ChessKnight » 05 Feb 2009, 17:51

I use WB + polygot with 3-4-5 men (Nalimov) and Scorpio bitbase.
What could be minimum size of the hash will serve purpose of proper probing?
Suppose hash size is large or too large (>128 Mb, or >256Mb) has any impact on chess engine performance?

reg
CK
ChessKnight
 
Posts: 48
Joined: 26 Dec 2008, 06:37

Re: What should be minimum size of the Hash?

Postby Dann Corbit » 05 Feb 2009, 21:30

ChessKnight wrote:I use WB + polygot with 3-4-5 men (Nalimov) and Scorpio bitbase.
What could be minimum size of the hash will serve purpose of proper probing?
Suppose hash size is large or too large (>128 Mb, or >256Mb) has any impact on chess engine performance?

reg
CK

Are you looking for minimums and maximums or optimal sizes?

For instance, if you are doing EPD analysis and giving one second per problem, then allocation of a 1 GB hash table will make the analysis much slower and inferior to a smaller hash table. But it will not cause incorrect results.

On Windows 32 bit operating systems, 2 GB is the max possible hash table size, but under 64 bit OS you can make it as large as you like.

The optimal hash size will be a function of many paramters (including your hash aging algorithms, whether you have secondary entries, and most of all the time control given for analysis).

As a general rule of thumb, the slower the analysis time, the larger the hash table should be. Very fast blitz and lightning games should use small hash and correspondence games or multiple hour EPD analysis should use the largest possible hash.
Dann Corbit
 

Re: What should be minimum size of the Hash?

Postby ChessKnight » 06 Feb 2009, 00:54

Dann Corbit:

Thanks for informative reply.

Dann Corbit wrote:Are you looking for minimums and maximums or optimal sizes?

- You answered the both nicely.

Dann Corbit wrote:As a general rule of thumb, the slower the analysis time, the larger the hash table should be. Very fast blitz and lightning games should use small hash and correspondence games or multiple hour EPD analysis should use the largest possible hash.

-It makes sense to me.

reg
CK
ChessKnight
 
Posts: 48
Joined: 26 Dec 2008, 06:37


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 25 guests