🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #1977

What should be the default hashtable size be for GNU chess ?

#1977
From: Simon Waters
Date: Mon, 08 Oct 2001 16:44
41 lines
2684 bytes
One question raised by a user of GNU chess 5.02 was;

"Why did you make the hash table so large?"

The answer is that it plays better chess at slower time controls
if the hash tables utilises more memory. All the developers
being fanatical computer users all had lots of memory to waste
on playing chess.

If you don't have enough memory, or always play at fast time
controls (less than about 5 minute blitz), GNU chess will play
below par with the default HASHTABLE size (On current home
PC's). On some it will be exceedingly slow to start.

I did some quick testing with 5.02, and found that relatively
small hash tables are normally as good or better at fast time
controls (It takes time, given the current methods of handling
hash tables, to update them every move).

I am tempted to reduce the HASHSLOT size to a very low value
suitable for smaller, slower computers, or blitz chess, on the
grounds that it is easier for a knowledgable user to beef it up,
than a less knowledgable one to reduce it to something that
works on older PC's.

I'm assuming that most of GNU chess opponents who play slow time
controls will either be interested enough to tune it up, or get
beaten most of the time anyway and won't notice the difference
(Except it is faster to surf along side).

 Opinions sought.

	Simon

PS: The command to change the hash table sizes when GNU chess is
running is "hashsize".

-- 
Are you using the Internet to best effect ? www.eighth-layer.com
Tel: +44(0)1395 232769      ICQ: 116952768
Moderated discussion of teleworking at news:uk.business.telework
Technical Details
Message-ID: <3BC1D7EB.634B0923@wretched.demon.co.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!wretched.demon.co.uk!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,d8e634657d37b3eb,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 2001-10-08 09:46:01 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!wretched.demon.co.uk!not-for-mail
From: Simon Waters <Simon@wretched.demon.co.uk>
Newsgroups: gnu.chess
Subject: What should be the default hashtable size be for GNU chess ?
Date: Mon, 08 Oct 2001 17:44:27 +0100
Organization: Eighth Layer Limited
Message-ID: <3BC1D7EB.634B0923@wretched.demon.co.uk>
NNTP-Posting-Host: wretched.demon.co.uk
X-NNTP-Posting-Host: wretched.demon.co.uk:193.237.109.203
X-Trace: news.demon.co.uk 1002559515 nnrp-12:12923 NO-IDENT wretched.demon.co.uk:193.237.109.203
X-Complaints-To: abuse@demon.net
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.19 i686)
X-Accept-Language: en-GB, en-US, en
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 41