Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Nalimov tablebase question

Author: Landon Rabern

Date: 20:23:32 04/23/01

Go up one level in this thread


On April 23, 2001 at 23:15:06, Robert Hyatt wrote:

>On April 23, 2001 at 22:09:07, Landon Rabern wrote:
>
>>On April 23, 2001 at 22:03:54, Landon Rabern wrote:
>>
>>>On April 23, 2001 at 22:03:32, Landon Rabern wrote:
>>>
>>>>How much RAM should the tablesbases use up?  I have the cache size set to 2 MB,
>>>>but it is using more like 27 MB.
>>>>
>>>> EGTB=IInitializeTb(EGTB_PATH);
>>>> printf("EGTB: %d",EGTB);
>>>> if(EGTB!=0)
>>>> {
>>>>void *EGTB_cache=malloc(CACHE_SIZE);
>>>>	 FTbSetCacheSize(EGTB_cache,CACHE_SIZE);
>>>> }
>>
>>Wow, that was odd, must have hit submit on accident and tehn it went crazy.
>>
>>But, anyway I can use all 5 man tables and they work fine, but they use up 27
>>MB.  Is this right?  I can take out the code that allocates the memory for the
>>egtb_cache and it uses a couple less MB but stil like 25, so the memory must be
>>being used somewhere in the call to IInitializeTb.
>>
>>Thanks,
>>
>>Landon W. Rabern
>
>You are seeing the decompression indices grow because you are using compressed
>tablebases...  That is a pretty normal size...
>
>Only way to shrink it is to use uncompressed TB's, but then they will probably
>be slower when you probe them unless you have real fast disks...

Wait, so is the memory supposed to get freed up or stay in use all the time?
Because it was staying in use.





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.