Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Hash question

Author: Robert Hyatt

Date: 06:35:18 08/15/01

Go up one level in this thread


On August 15, 2001 at 03:05:50, pavel wrote:

>Is there any stats as to how much hash a program actually needs during a game?
>sometime I give chess programs 200mb of hash, and I have seen others using
>400+mb of hash, but I wonder does it really need that much memory?
>whats a reasonable size to deal with?
>
>
>tnx
>
>pavs...



For normal programs, take the NPS, multiply by the time per move you intend
to use, and you need at _least_ that many hash entries to avoid lots of lost
information.  You will need to know the size of a hash entry as you have to
multiply the above number by that to get the number of bytes you need.

Crafty needs maybe 1/4 that much (or even less) as it doesn't hash the q-search
nodes which greatly reduces demands on the hash table.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.