Page 3 of 6

right crafty.rc settings?

Posted: Thu Mar 04, 2010 12:11 pm
by Togga
is it ok so? for play as winboard engine under Arena.


egtb
#adaptive 750K 24M 192M 24M 48M
tbpath=c:\tb
cache=32M
ponder off
#
# (for use use with ponder on)
# mode=tournament
#
# (Allows Crafty to try to win drawn games (according to Endgame Tables))
swindle off
#
# (default)
learn 0
#
# (default)
#book random 1
#
#bookw freq 0.7
#bookw ratio 0.8
#bookw eval 0.6
#bookw learn 1
#bookw cap 0.5
#book width 4
#
#(default = book on)
book off
#
show book
log=off
#
# (Increases Crafty's MaxThreads to 2 for a dual CPU computer )
#mt=2
#
# (Make Crafty not use cpu on opponents time)
#smpnice=1
#
# (Makes crafty use a lot more time on the first 8 moves out of book)
timebook 80 8
#adaptive NPS a
hash=256M
hashp=16M
exit

Re: Crafty 23.2 released.

Posted: Thu Mar 04, 2010 12:22 pm
by Togga
this compile of 23.2 32 bit is on my computer faster than JA 23.1 32 bit compile.

Re: Crafty 23.2 released.

Posted: Thu Mar 04, 2010 12:34 pm
by mariaclara
Dr.Wael Deeb wrote:
mariaclara wrote:
Dr.Wael Deeb wrote:Thanks for the new release but I prefer to wait for JA compiles....
Dr.D
:?: JA compiles?
http://homepages.tesco.net/henry.ablett/jims.html
:D Got it.

Thanks...

:wink: :wink:

Re: Crafty 23.2 released.

Posted: Thu Mar 04, 2010 1:01 pm
by BBauer
I see another new feature when running crafty in console mode.
typing hash 199M I get
Warning-- xboard 'memory' option disabled
and when running crafty with an input file I get that message several times. I don't use xboard.

Eigenmanns EET gives

Code: Select all

Crafty23.2   2_proc  64-bit egtb: not used      60 sec
number right......................     75
total nodes searched.............. 19469126621
average search depth............. 16.4
nodes per second..................  6958453
total time........................       46:37
solving 75 positions in a minute without egtbs. This looks pretty good. Kind regards
Bernhard

Re: right crafty.rc settings?

Posted: Thu Mar 04, 2010 4:08 pm
by Jouni
And how to get analysis visible under Arena? I remember seeing analysis previously...

Jouni

Re: Crafty 23.2 released.

Posted: Thu Mar 04, 2010 4:48 pm
by Dr.Wael Deeb
mariaclara wrote:
Dr.Wael Deeb wrote:
mariaclara wrote:
Dr.Wael Deeb wrote:Thanks for the new release but I prefer to wait for JA compiles....
Dr.D
:?: JA compiles?
http://homepages.tesco.net/henry.ablett/jims.html
:D Got it.

Thanks...

:wink: :wink:
You welcome Maria :D
Dr.D

Re: Congratulations! my test

Posted: Thu Mar 04, 2010 7:28 pm
by bob
Togga wrote:after only 10 games i can clearly say that the version 23.2 is better than 23.1 :))

timecontrol 2min + 2 sec:

Crafty-23.2-win32 - Crafty_23.1_ja : 6,5/10 5-2-3 (=01==10111) 65% +108

bad: 2 games got lost:(

games soon:


question to:

Crafty-23.2 2661 3 3 40000 60% 2583 23%
Crafty-23.1 2638 3 3 40000 57% 2583 23%

what timecontrol was it?
10min + 2sec inc

I don't normally test that slowly, but we had changed the time usage/allocation code and I wanted to test at longer time controls in addition to our normal fast tests.

Re: Crafty 23.2 released.

Posted: Thu Mar 04, 2010 7:30 pm
by bob
Werner wrote:Many thanks to the Crafty team!

I have one question to Peter:
Your crafty.rc download looks like that:
mt=2
egtb
hash=384M
hashp=128M
cache=32M
ponder=off
smpnice=1
log=off
exit

Why do you use still smpnice=1? Is it still necessary?

best wishes
Werner
That is the default value, so it isn't needed, but doesn't hurt. I don't use that myself, but since real games are never ponder=off, smpnice is irrelevant anyway.

Re: Crafty 23.2 released.

Posted: Thu Mar 04, 2010 7:32 pm
by bob
Peter Skinner wrote:
bob wrote: Let me add a couple of notes...

If you use a newer xboard/winboard, crafty supports the new "cores" and "memory" GUI->engine commands. But with some exceptions.

If you want to use the winboard/xboard menu to set memory (which is combined hash + pawn hash) or number of threads, then you must _not_ use the mt=n command, nor set the hash=n or phash=n options in your .craftyrc/crafty.rc configuration file. If you specify hash sizes or max threads there, crafty will not use the winboard cores/memory commands. So make certain that if you want to use the new winboard options, you remove those lines from the crafty config file.

If you want to use the memory option from winboard/xboard, you specify the size in megabytes. You need to give some thought to this number. The regular hash table must be a power of 2. Ditto for the pawn hash. A good setting would be 288, which would be interpreted as follows:

1. Crafty finds the largest power of two value in that number (which is 256m above) and uses that for the primary hash.

2. It then subtracts 256m from the above value, and then finds the largest power of two remaining and uses that as the pawn hash size. Any extra memory is unused.

Not very elegant, but I could not think of a better solution. Probably is easier to use the .craftyrc file to set those options, which will make the xboard settings irrelevant.
I actually just realized that you _must_ set the engine parameters in Winboard no matter what. The Crafty.rc file isn't being used at all. If you try setting the Winboard parameters to nothing, it of course defaults to the last used.

That's not the case with xboard. And, in fact, unless you put the crafty.rc file in the wrong place (it should be in the -fd directory) I don't see how crafty could not use that file. It certainly does here. But that's xboard and not winboard.


I have set Winboard to use max 1024 for HASH, but have 2048 in my rc file. Winboard is controlling the hash at a max of 1024.

Either way, Winboard is controlling the settings, not Crafty at all.

I am not sure I like this. Those are supposed to be polyglot options, not options for _all_ engines, including Winboard engines.

games

Posted: Thu Mar 04, 2010 7:34 pm
by Togga
hi

i posted here 10 games of crafty 23.2 against crafty 23.1.

crafty 23.2 lost 2 games from an draw opening position.

can you explain why crafty lost? what is wrong with crafty? what can be improved?