Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chess Master 9000

Author: Jim Bond

Date: 11:41:38 04/28/03

Go up one level in this thread


On April 27, 2003 at 23:43:18, Brian Kostick wrote:

>On April 27, 2003 at 17:14:57, Jim Bond wrote:
>
>>On April 27, 2003 at 16:48:35, Brian Kostick wrote:
>>
>>>On April 27, 2003 at 14:07:24, Jim Bond wrote:
>>>
>>>>Hi all,
>>>>
>>>>1) Can CM9000 use ending game table base at all in ChessBase interface?
>>>>
>>>>2) I found that CM9000 does not "listen" to the hash command from CB interface.
>>>>Is setting the hash size in wb2uci.eng like:
>>>>
>>>>  HashCommand=cm_parm tts=67108864, ttu=8
>>>>
>>>>the only way?
>>>>
>>>>Thanks,
>>>>Jim
>>>
>>>
>>>I use this setting:
>>>HashCommand=cm_parm tts=%i004096
>>>Visible=Ponder,Hash,Logfile,Extras
>>>
>>>If I am going to change TheKing's hash size I first load another engine, say for
>>>example Fritz. This allows TheKing process to terminate. Then I reload TheKing
>>>with my new hash size (from the Fritz GUI). Just a thought, BK
>>
>>Aha!  So does that mean in your parameter:
>>
>>   tts=%i004096
>>
>>the %i means to pick up hash size from the CB interface and the 004096 means the
>>default is 4 Megs?
>>
>>Thanks,
>>Jim
>
>
>From the wb2uci documentation:
>
>HashCommand
>Command to give for setting the hash. The hash value is given as mega byte. For
>the hash value to not be added to the end of this string you can use %i to
>define where in the string the value should be added. The string could content
>escape characters (\n, \f \x1a etc.).
>
>Default=none
>
>Ex.
>HashCommand=set hash
>HashCommand=hash %iM
>HashCommand=hashvalue %i
>HashCommand=cm_parm tts=%i000000
>
>I guess I got %i004096 with a wb2uci download somewhere or read it someplace. I
>am not sure of the implications of the trailing 004096. I suggested loading
>another engine between hash changes to TheKing from memory use observations I
>made with a program called TaskInfo.
>
>Regards,
>BK

Thank BK,

Actually I got this to work last night:

    HashCommand=cm_parm tts=%i000000

This means to substitude %1 with the "meg number" from CB's engine parameter
dialog box.  So if you set the parameter to 64 Megs, the line will become:

   HashCommand=cm_parm tts=64000000

The nice thing is that it gets effective immediately when you click OK and you
don't have to switch to another engine and switch back.  You can verify this in
the engine pane and notice your infinite analysis will change as to change your
CB's meg number.  And the analysis would be the same when you hard code it to
64000000 and when you soft code it and change the meg number to 64.  Note that
if you hard code it, you would have to do the engine switch trick when you edit
the file.

Jim






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.