ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is there a reasonable number of pawn hash entries?
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Daniel Shawul



Joined: 14 Mar 2006
Posts: 2187
Location: Ethiopia

PostPost subject: Re: Is there a reasonable number of pawn hash entries?    Posted: Thu Jul 12, 2012 2:41 am Reply to topic Reply with quote

I did a test on 5 bratko kopec positions for 20 secs each. There is almost no improvement from additional pawn hash entries. The smallest number of entries I tried was 32k ~ 0.8MB and it is so far the best. Look at the nps figure for each of the positions below. Ofcourse the result will depend on time control used. I think smaller pawn hash table is good idea as most of it can reside in cache.
Code:


pht 32768 X 24 = 0.8 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             21620882    15.70    1377213        0        0
             18107168    15.31    1182315        0        0
             20899027    16.97    1231890        0        0
             18887991    16.00    1180794        0        0
             23305020    20.04    1162925        0        0
pht 65536 X 24 = 1.5 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             21620882    15.59    1386754        0        0
             18107168    16.09    1125437        0        0
             20899027    17.50    1193889        0        0
             18887991    16.13    1170912        0        0
             23105001    20.03    1153692        0        0
pht 131072 X 24 = 3.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             21620882    16.04    1347935        0        0
             18107168    15.49    1169185        0        0
             20899027    17.16    1217892        0        0
             18887991    16.15    1169752        0        0
             23005001    20.00    1150077        0        0
pht 262144 X 24 = 6.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             21620882    15.79    1369190        0        0
             18107168    15.30    1183475        0        0
             20899027    16.96    1231963        0        0
             18887991    15.99    1181090        0        0
             23005001    20.01    1149732        0        0
pht 524288 X 24 = 12.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             21620882    15.70    1377213        0        0
             18107168    15.33    1181005        0        0
             20899027    17.00    1229643        0        0
             18887991    16.00    1180499        0        0
             23105001    20.08    1150819        0        0
pht 1048576 X 24 = 24.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             21620882    15.70    1376950        0        0
             18107168    15.32    1181544        0        0
             20899027    16.99    1230150        0        0
             18887991    16.17    1167944        0        0
             23105001    20.08    1150647        0        0
pht 2097152 X 24 = 48.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             21620882    15.96    1354776        0        0
             18107168    15.49    1169260        0        0
             20899027    17.19    1215483        0        0
             18887991    16.16    1168522        0        0
             22305008    20.09    1110364        0        0
pht 4194304 X 24 = 96.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             21620882    15.87    1362717        0        0
             18107168    15.47    1170318        0        0
             20899027    17.22    1214001        0        0
             18887991    16.17    1168088        0        0
             23105001    20.08    1150418        0        0
pht 8388608 X 24 = 192.0 MB

                Nodes     Time      NPS      splits     bad
                =====     ====      ===      ======     ===
             21620882    16.16    1338339        0        0
             18107168    15.48    1169713        0        0
             20899027    17.20    1215201        0        0
             18887991    16.17    1167871        0        0
             23005001    20.01    1149502        0        0

_________________
https://sites.google.com/site/dshawul/
https://github.com/dshawul
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Subject Author Date/Time
Is there a reasonable number of pawn hash entries? Fermin Serrano Tue Jul 10, 2012 9:24 pm
      Re: Is there a reasonable number of pawn hash entries? Robert Hyatt Tue Jul 10, 2012 11:20 pm
            Re: Is there a reasonable number of pawn hash entries? Lucas Braesch Fri Jul 13, 2012 4:08 am
                  Re: Is there a reasonable number of pawn hash entries? Vincent Diepeveen Sat Jul 14, 2012 9:54 am
      Re: Is there a reasonable number of pawn hash entries? Vincent Diepeveen Tue Jul 10, 2012 11:49 pm
      Re: Is there a reasonable number of pawn hash entries? Daniel Shawul Thu Jul 12, 2012 2:41 am
            Re: Is there a reasonable number of pawn hash entries? Fermin Serrano Mon Jul 16, 2012 12:03 pm
                  Re: Is there a reasonable number of pawn hash entries? Lucas Braesch Mon Jul 16, 2012 1:06 pm
                        Re: Is there a reasonable number of pawn hash entries? Fermin Serrano Mon Jul 16, 2012 1:47 pm
                  Re: Is there a reasonable number of pawn hash entries? Daniel Shawul Tue Jul 17, 2012 11:18 am
      Re: Is there a reasonable number of pawn hash entries? Marcel van Kervinck Sat Jul 14, 2012 10:46 am
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads