Is there a reasonable number of pawn hash entries?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Is there a reasonable number of pawn hash entries?

Post by Daniel Shawul »

On the other hand the eval hash table seem to benefit from table sizes that don't fit in cache. So it is better to make that one as large as possible at least for my case. I haven't tried to do multiple probes on eval cache (could do as many as 8 now) but it could be slower anyway.

Code: Select all


eht 131072 X 8 = 1.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             11302581    10.01    1129354        0        0
              8579006    10.06     852529        0        0
              9461160    10.02     943756        0        0
              8462623    10.07     840296        0        0
              9070314    10.07     900905        0        0
eht 262144 X 8 = 2.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             12170249    10.02    1214474        0        0
              9139824    10.07     907719        0        0
             10205033    10.08    1012605        0        0
              9010540    10.03     898538        0        0
              9549341    10.06     948861        0        0
eht 524288 X 8 = 4.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             12069183    10.08    1197102        0        0
              9421721    10.05     937204        0        0
             10305004    10.01    1029676        0        0
              9386986    10.05     933842        0        0
              9677800    10.03     964596        0        0
eht 1048576 X 8 = 8.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             12290810    10.05    1222844        0        0
              9658184    10.02     964083        0        0
             10083317    10.05    1003814        0        0
              9443193    10.07     937941        0        0
              9601357    10.03     957454        0        0
eht 2097152 X 8 = 16.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             12133155    10.08    1204044        0        0
              9805887    10.15     966002        0        0
             10405001    10.07    1033369        0        0
              9568498    10.04     953227        0        0
              9652816    10.04     961244        0        0
eht 4194304 X 8 = 32.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             11828739    10.03    1178748        0        0
              9826144    10.11     971538        0        0
             10405001    10.04    1036148        0        0
              9588020    10.00     958802        0        0
              9634780    10.02     961267        0        0
eht 8388608 X 8 = 64.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             11581301    10.06    1151451        0        0
              9712524    10.08     963161        0        0
             10188976    10.05    1014232        0        0
              9510707    10.06     945774        0        0
              9465668    10.02     944300        0        0
eht 16777216 X 8 = 128.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             11973523    10.03    1193176        0        0
              9726373    10.09     963579        0        0
             10205033    10.09    1011701        0        0
              9500346    10.05     945778        0        0
              9423519    10.01     941222        0        0