Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: hash table size - is a power of 2 still an advantage these days?

Author: Robert Hyatt

Date: 08:28:55 09/25/03

Go up one level in this thread


On September 25, 2003 at 09:48:33, Tord Romstad wrote:

>On September 24, 2003 at 16:28:57, Robert Hyatt wrote:
>
>>I try to use _most_ of main memory for serious games, and if you have a
>>1 gig machine, I generally use something like hash=784M, hashp=40M,
>>cache=128M, and go from there...
>
>Interesting.  Is a 40M pawn hash table really useful for Crafty?  How big
>are your pawn hash entries?  My pawn hash table contains just 256 entries,
>where each entry is 128 bytes.  The last time I tried, increasing the size
>of the table gave just a very small speedup (less than 2%, if I recall
>correctly).
>
>Tord


I've never carefully tested this, but 256 entries seems _way_ small.  Just
look at how many different possible pawn positions there are.  40M might be
too big, but the memory is wasted otherwise and bigger is never worse, for
me.



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.