Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: win Crafty Hash Tables

Author: Robert Hyatt

Date: 19:26:03 11/10/97

Go up one level in this thread


On November 10, 1997 at 22:17:56, Jack Leverette wrote:

>Dear CCC/RH:
>
>I run wcrafty.exe (not wcraftyt) on Win95 950a, 32meg EDO ram,
>Cyrix 150+.   I use a crafty.rc file to initialize the exe.
>
>What would you say the best figures are for hash and hashp ?
>I know hashp should be .25 x hash (appx) but I can't seem
>to fudge the numbers to get crafty to set the numbers I'd like.
>
>I cant seem to get hashp to be 4meg, for ex.  Its always 2m or 5m.
>I'd think 8m/2m or 12m/3m would be good, but I cant work
>the .rc file to realize such numbers.

hash is a power of 2.  hashp is also, but each entry is 20 bytes, which
leads to the odd sizes you see.  IE 2mb is not possible for hashp, but
2.5
mb is.  or 5 or 10, etc...

it is the number of entries that must be a integral power of 2.  hash
entries are 16 bytes which works out as you saw, but hashp has 20 byte
entries which breaks your approach.

In general, there is no real need for hashp to be 1/4 the size of hash.
I
use hash=24M and hashp=5M on ICC all the time.  For longer games I
generally
use hash=96M and hashp=10M, but I am not sure that the bigger hashp
makes much
difference.  Watch the pawn hash statistic.  If it is 99%, making hashp
bigger
will *not make it any faster...

>
>Any tips appreciated.
>
>Yrs,
>AceyMan



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.