Article View: gnu.chess
Article #109Re: Hash file is generated too large
From: Urban Koistinen
Date: Sun, 30 Aug 1992 14:52
Date: Sun, 30 Aug 1992 14:52
34 lines
1948 bytes
1948 bytes
In article <1992Aug26.115928.3124@Informatik.TU-Muenchen.DE> schoett@informatik.tu-muenchen.de (Oliver Schoett) writes: ->I tried generating the hash file with gnuchess -c 22, as suggested in ->the man page. This is supposed to make a 4 MB hash file, but instead ->it wrote approx. 16 MB until the file system filled up. Did I do ->something wrong, or is this a bug? (This is patchlevel 56 on SunOS You did something wrong :-) Try gnuchess -c 10 first to see how big the file gets. ->4.1.1, compiled with gcc 2.2.2, CFLAGS= -O2 -funroll-loops ->-traditional-cpp # gnu cc 2.00 on SunOS.) "-c 22" should create a hash file with 2^22 POSITIONS. POSITION > Byte For 5.0 I think file sizes should be in bytes if convenient. Maybe the fast transposition table size should too. It depend on the cost of % v & (mod versus and). -> ->Another question: is there a way for the user to choose a different ->book file than the (library) file name that has been compiled in? Try using "ln -s defined-bookfile real-bookfile" :-) See "man ln" for details. -> -> ->Oliver Schoett Inst. f. Informatik (H2), Technische Univ. M"unchen -> Postfach 20 24 20, 8000 M"unchen 2, Germany ->schoett@informatik.tu-muenchen.de phone +49 89 2105-2399 fax -8207 -- Urban Koistinen - md85-epi@nada.kth.se
Technical Details
Message-ID:
<1992Aug30.145219.28961@kth.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!viusys!alembic!mdsol1!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!zrz.tu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!kth.se!alv.nada.kth.se!md85-epiShow Full Headers
Complete Article Headers
Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!sparky!uunet!viusys!alembic!mdsol1!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!zrz.tu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!kth.se!alv.nada.kth.se!md85-epi From: md85-epi@alv.nada.kth.se (Urban Koistinen) Subject: Re: Hash file is generated too large Message-ID: <1992Aug30.145219.28961@kth.se> Sender: usenet@kth.se (Usenet) Nntp-Posting-Host: alv.nada.kth.se Organization: Royal Institute of Technology, Stockholm, Sweden Date: Sun, 30 Aug 1992 14:52:19 GMT Lines: 34