Article View: gnu.chess
Article #4091Re: Paging while running GNU Chess
From: Nikhil Nair
Date: Fri, 23 Feb 1996 00:00
Date: Fri, 23 Feb 1996 00:00
32 lines
1882 bytes
1882 bytes
On 20 Feb 1996, Piotr Nestorow wrote: > > I'm running Linux on an 80 Mhz 486 with 8 Megs of memory. Whenever I > > try to run GNU Chess, I make it through about two moves, then my > > machine pages like crazy. I have a hard time even stopping the > > program, that's how slow my system gets. > > > > Is there anything I can tweak to improve my performance? Or does the > > program just need more memory than I have? > > > > Walt [Walt, sorry I didn't email this to you as well as posting it, but I don't have your email address.] It is perfectly possible to run gnuchess on an 8Mb system. I would suggest that you don't edit the source (though the defaults are the definitions are ttblsz or something like that in src/ttable.h and DEFETABS in src/gnuchess.h), but rather use the -C and -T command-line options (which even work for gnuan, though not documented in the manpage). The defaults are `-C 18001 -T 150001' (for msdos, -T 8001). On my Linux system, this uses just over 9Mb. From memory, `-C 6001 -T 40001' uses around 3Mb. Fiddle with these and see what results you get. I will at some point get round to updating the Linux version of gnuchess, since I'm maintaining the Debian GNU/Linux version; however, it will be AT LEAST a month before I get time to even think about this ... Hope this helps, Nikhil.
Technical Details
Message-ID:
<Pine.LNX.3.91.960223003151.3321B-100000-100000@amasis.trin.cam.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,a27dc2f089e87d91 X-Google-Attributes: gid10d71d,public From: Nikhil Nair <nn201@amasis.trin.cam.ac.uk> Subject: Re: Paging while running GNU Chess Date: 1996/02/23 Message-ID: <Pine.LNX.3.91.960223003151.3321B-100000-100000@amasis.trin.cam.ac.uk> X-Deja-AN: 140629271 x-sender: nn201@ursa.cus.cam.ac.uk content-type: TEXT/PLAIN; charset=US-ASCII organization: University of Cambridge, England mime-version: 1.0 newsgroups: gnu.chess