|
|
Parameter
|
Recommended Value
|
|
Hash=0 or 1
|
1 (you should never use 0 for normal play unless testing purposes)
|
|
Evalhash=0 or 1
|
1 (you should never use 0 for normal play unless testing purposes)
|
|
Hashsize=h [x y z]
|
hash size in bytes (or Kilobytes if the figure is immediately followed by K or Megabytes if the figure
is
immediately followed by M).
Recommended:
Give only one value. It will be used as the total hash size and be automatically distributed
among the different hashtables used. Example:
Hashsize 14M
will allocate in total 14 Mb for all 4 hash tables with the distribution best fit for Terra.
Otherwise you have to enter all 4 values:
Hashsize 7M 4M 2M 700K
will allocate 7 Mb for the main hash table, 4 Mb for hash table2, 2M for hash table3 and 700 Kb for
hash table4.
|
The same with commands:
|
Command
|
Recommended Value
|
|
Hash on/off
|
on
|
|
Evalhash on/off
|
on
|
|
Hashsize h [x y z]
|
see above.
|
A few more words about how to control the size of hash tables in Terra
The hash table size is no longer constrained to some fixed values. More is better in any time control and on any machine. There is just one important issue to deal with. If the total size for hash tables, EGTB cashe and internal tables exceeds what is available on your machine Windows will start to swap memory with the hard disk and this is a disaster for a chess program! You will notice how the Nodes/second figure becomes lower because the programs time will be occupied by waiting for Windows reading and writing memory to and from the harddisk. If you notice the harddisk working heavily this is probably the reason.
There is no reason trying to be as close to the limits as possible, the gain is very small. Better to keep a fairly good marginal up to what you think is the maximum available RAM. Don't forget that Windows and other programs also occupies quite a lot of RAM.
Please give your comments in WinBoard Forum or email me. This document was updated 2004-08-02.