bob OK, I was correct. A change to thread.c was lost in the melee before the last CCT event. I will have a new 22.0 source up in 5 minutes or so, should fix this not terminating the threads properly problem, and also will have smpnice=1 as the default...
BTW when you download this version, please delete _all_ old .c and .h files. A couple of .c files are no longer needed in this new version and can cause some confusion if you try to use them with an old Makefile...
peter wrote:Thanks a lot, with this compile x64 runs fine on chessbase GUI and dual core.
But how can I be sure both cores are active? Crafty shows about 1300 to 1500kN/s
regards
Peter.
click on the task bar at the bottom of the screen and then click on task manager and then performance (I think) to see if it thinks both cpus are running.
NPS should double with 2 cores over 1.
Indeed it seems to me, only one core is working. What can I do?
Many thanks
Peter
bob OK, I was correct. A change to thread.c was lost in the melee before the last CCT event. I will have a new 22.0 source up in 5 minutes or so, should fix this not terminating the threads properly problem, and also will have smpnice=1 as the default...
BTW when you download this version, please delete _all_ old .c and .h files. A couple of .c files are no longer needed in this new version and can cause some confusion if you try to use them with an old Makefile...
Hi Jim, hi Bob,
thanks for the new versions and compiles!
Crafty 22.0 SMP is now running correct 2CPU eng-eng matches with ponder off. But..
watched inside Areana: after each move Crafty is unloaded from memory and when its turn loaded new!
Now I know what it means: do not make 1-0 games with this version:
The game is lost after the first move
edited:
that means: under Chessbase using wb2uci the engine is unloaded after first move and the game is over...
When using both the 32-bit version and the 64-bit version with the Wb2Uci adapter in Chessbase GUI, I can't make Crafty get the proper amount of Hash (always just 10 MB) nor can I make it use more than one thread.
This is the .rc file:
egtb
tbpath=h:\
# adaptive 750K 24M 192M 24M 48M
tbpath=h:\
cache=32M
ponder off
mode=tournament
swindle on # (Allows Crafty to try to win drawn games (according to Endgame Tables))
learn off
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
book off
show book
computer
log=off
mt=4 #(Increases Crafty's MaxThreads to 2 for a dual CPU computer - disables smp)
smpmt=4 #(Increases Crafty's MaxThreads to 2 for a dual CPU computer - using smp dual-core/2+ cpus)
smpnice=1 #(Make Crafty not use cpu on opponents time)
timebook 80 8
#adaptive NPS a
hash=512M
hashp=16M
exit
Hi Martin,
this is my wb2uci.eng:
[ENGINE]
Name=Crafty 22.0 x64 2CPU
Author=Robert Hyatt
Filename=Wb2UCI.exe
[OPTIONS]
Program=crafty_x64.exe mt=2
InitString=resign 0
WhiteScore=true
TerminateHard=true
InitTime=5
Visible=Ponder,Hash,Extras,Logfile,Computer
tbpath=j:\tbs
and this my .rc file:
egtb
hash=512M
hashp=32M
log=off
tbpath=j:\tbs
cache=16M
mode=tournament
swindle off # (Allows Crafty to try to win drawn games (according to Endgame Tables))
mt=2 #(Increases Crafty's MaxThreads to 2 for a dual CPU computer)
timebook 80 8
#adaptive NPS a
smpnice=0
Here it´s using more than 400 MB in memory and both CPUs. The engine is ponderering and does not unload. You can make eng-eng matches on a dual only against a single engine with that configuration.
peter wrote:Thanks a lot, with this compile x64 runs fine on chessbase GUI and dual core.
But how can I be sure both cores are active? Crafty shows about 1300 to 1500kN/s
regards
Peter.
click on the task bar at the bottom of the screen and then click on task manager and then performance (I think) to see if it thinks both cpus are running.
NPS should double with 2 cores over 1.
Indeed it seems to me, only one core is working. What can I do?
Many thanks
Peter
Do you have "mt=2" in your crafty.rc file? without that, crafty will only use one CPU...
Werner wrote:Hi Jim, hi Bob,
thanks for the new versions and compiles!
Crafty 22.0 SMP is now running correct 2CPU eng-eng matches with ponder off. But..
watched inside Areana: after each move Crafty is unloaded from memory and when its turn loaded new!
Now I know what it means: do not make 1-0 games with this version:
The game is lost after the first move
edited:
that means: under Chessbase using wb2uci the engine is unloaded after first move and the game is over...
regards
Sounds strange, I should be able to stop one process when I want without the GUI thinking the whole thing stops. It works fine under xboard/winboard however...