🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5402

Re: gnuchess takes 7 MEGS!!!!!!

#5402
From: Chua Kong Sian
Date: Fri, 10 Sep 1993 03:38
28 lines
1665 bytes
Stephen Collyer (stephen@dogmatix.inmos.co.uk) wrote:
: In article <26l67g$oc0@tribune.usask.ca>, Henry_Choy@engr.usask.ca (Henry Choy) writes:
: |> It's Big It's Heavy It's Wood!
: |> 
: |> Gnuchess 4.0 pl62 from prep.ai.mit.edu uses 7700K of RAM on a
: |> Decstation 5000/120. Is there a way to reduce the memory usage
: |> to at least half?
: |> 

: I have the same problem under Linux - gnuchess 4.0 uses about 8 Meg, and, boy,
: does my Linux box with 8 Meg thrash. The previous version of gnuchess I've got
: uses much less memory - I'd be interested in knowing what it's doing with it.

: Steve Collyer.

Most of the memory is being used for the hash table and the static cache
table.  You can change these values in gnuchess.h (vtblsz && ETABLE) and
recompile again.

Alternatively, you can start gnuchess with the -T option to specify the
size of the hash table.

gnuchess -T 14 will use a hashtable of 2^14.

The size of the static cache cannot be change during runtime.


Kong Sian
Technical Details
Message-ID: <26osr0$mb9@nuscc.nus.sg>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!newsserver.technet.sg!nuscc.nus.sg!nsrccks
References: <26l67g$oc0@tribune.usask.ca> <1993Sep9.120334.24005@titan.inmos.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,1640f22f98bec07e
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1993-09-09 21:36:56 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!newsserver.technet.sg!nuscc.nus.sg!nsrccks
From: nsrccks@leonis.nus.sg (Chua Kong Sian)
Newsgroups: gnu.chess
Subject: Re: gnuchess takes 7 MEGS!!!!!!
Date: 10 Sep 1993 03:38:08 GMT
Organization: National University of Singapore
Lines: 29
Message-ID: <26osr0$mb9@nuscc.nus.sg>
References: <26l67g$oc0@tribune.usask.ca> <1993Sep9.120334.24005@titan.inmos.co.uk>
NNTP-Posting-Host: leonis.nus.sg
X-Newsreader: TIN [version 1.2 PL0]