Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: some questions about computer chess programs

Author: Christophe Theron

Date: 02:21:58 04/04/98

Go up one level in this thread


On April 03, 1998 at 16:25:39, Amir Ban wrote:

>On April 03, 1998 at 13:51:14, Christophe Theron wrote:
>
>
>>
>>Well... Anyway, how do you manage large hash tables with a BC3.1 DOS
>>program? In the 16 bits version of Chess Tiger I tried to use EMS and
>>XMS, but calling the memory drivers to swap pages or bring back a chunk
>>of memory was so slow I had to give up and use only 150Kb of
>>conventional DOS memory plus 64Kb of EMS (without swapping pages).
>>
>
>I don't. 400-500KB of hash space can go a long way, and if you don't
>believe me, get Genius 3.0.

I have it, and I believe you. Under W95 Genius gets only 384Kb hash
tables and it seems happy with them. And anyway I only play blitz games,
so I don't think Genius is starving.

But with Tiger I see an improvement as hash tables grow. A reasonnable
hash table size for my program seems to be around 4Mb. With more it is
better, but not that much, and with less it begins to slow down
dangerously.

I love BC 3.1, but I had to break off with it because I couldn't get all
the memory I needed.



>>Another problem with BC3.1: my IDE crashes often when I compile or try
>>to launch my program (page exception fault). It happens only when your
>>project reaches a considerable size, and when you use compiler
>>optimizations. Therefore I have to use Windows when working under BC3.1.
>>This way, I can close the DOS box and restart BC3.1 in another one. When
>>compiling Chess Tiger, BC crashes every 2 compilations.
>>
>>Do you have the same problem? I asked here and there several times, and
>>nobody seems to have the problem. Maybe their project is too small, or
>>they don't use optimizations, or my copy of the compiler is corrupted?
>>
>
>I don't know if this problem exists because I use makefiles and
>command-lines. The IDE is only for editting. Under Windows, some of the
>point of using the IDE is lost. I find it more convenient to work in
>several windows, where to compile I run make from a DOS box, to debug
>you run TD in a separate window, and so on. Under Windows 95, TD
>sometimes crashes. I don't know why.

Too bad you are using makefiles... So I'll never know if somebody else
has the problem, and how to avoid it. I was dreaming of a patch for
BC3.1 IDE, but I have never found it.

Thanks anyway for sharing your experience.


    Christophe



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.