Dorky 4.1 64-bit - always single-threaded?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Dorky 4.1 64-bit - always single-threaded?

Post by SzG » Fri Jun 17, 2011 5:52 pm

I tried values of 1, 2 and 3 for n_cpus but task manager always displayed 25% CPU usage.
True, the problem with false pondering has gone but I now have the feeling that 4.0 also might have played on only 1 core because I don't remember ever seeing 50% with task manager.

Environment: Intel Q6600, 64-bit Vista
Gabor Szots

CCRL testing group

mmcknight
Posts: 36
Joined: Sun Apr 03, 2011 8:12 pm

Re: Dorky 4.1 64-bit - always single-threaded?

Post by mmcknight » Fri Jun 17, 2011 5:55 pm

Hi Gabor,

The value set in .ini file for n_cpus will be overridden by the winboard 'cores' command. Is your winboard also configured for > 1 core?

Matt

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: Dorky 4.1 64-bit - always single-threaded?

Post by SzG » Fri Jun 17, 2011 6:50 pm

mmcknight wrote:Hi Gabor,

The value set in .ini file for n_cpus will be overridden by the winboard 'cores' command. Is your winboard also configured for > 1 core?

Matt
Hi Matt,

I don't know. This was under Arena. I'm going to try to find out how it is under WB.

Gabor
Gabor Szots

CCRL testing group

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: Dorky 4.1 64-bit - always single-threaded?

Post by SzG » Fri Jun 17, 2011 7:24 pm

Hmm, apparently I don't know how to issue a cores command under WB. Under engine options I find max. nr. of CPU's, this is set to 2. When in analysis mode, I press <Alt><1> to issue the command cores=2 but task manager still reports 25%.

Terrible feeling, I've lost almost all my WB knowledge.
Gabor Szots

CCRL testing group

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: Dorky 4.1 64-bit - always single-threaded?

Post by SzG » Fri Jun 17, 2011 8:26 pm

I tried it from the command line and it told me it used 2 cores and in fact tsk manager confirmed that by showing 50%.

I don't know how Arena spoils that, maybe some init string has to be given?
Gabor Szots

CCRL testing group

mmcknight
Posts: 36
Joined: Sun Apr 03, 2011 8:12 pm

Re: Dorky 4.1 64-bit - always single-threaded?

Post by mmcknight » Fri Jun 17, 2011 9:09 pm

Gabor I am not familiar with Arena. If you could send me a .debug file of your arena->dorky interface maybe I could figure out what is happening.

Thanks,
Matt

User avatar
hgm
Posts: 22274
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Dorky 4.1 64-bit - always single-threaded?

Post by hgm » Fri Jun 17, 2011 9:15 pm

SzG wrote:Hmm, apparently I don't know how to issue a cores command under WB. Under engine options I find max. nr. of CPU's, this is set to 2. When in analysis mode, I press <Alt><1> to issue the command cores=2 but task manager still reports 25%.
The "Max nr of CPUs" in the Options -> Common Engine... menu dialog should do it. If not, make a winboard.debug file from the engine startup, and post it here. Then I might be able to see what is wrong.

The command should be "cores 2", btw, without equal sign.

tmokonen
Posts: 901
Joined: Sun Mar 12, 2006 5:46 pm
Location: Vancouver

Re: Dorky 4.1 64-bit - always single-threaded?

Post by tmokonen » Sat Jun 18, 2011 2:41 am

Hi Gabor. If you are using Arena 3.0, go to Engines->Manage in the main menu (or use the F11 shortcut key). In the Engine Management window, there is a Winboard tab, with a Max. CPUs option. Try setting that option to the number of cores that you have, and see if that works.

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: Dorky 4.1 64-bit - always single-threaded?

Post by SzG » Sat Jun 18, 2011 5:00 am

hgm wrote:
SzG wrote:Hmm, apparently I don't know how to issue a cores command under WB. Under engine options I find max. nr. of CPU's, this is set to 2. When in analysis mode, I press <Alt><1> to issue the command cores=2 but task manager still reports 25%.
The "Max nr of CPUs" in the Options -> Common Engine... menu dialog should do it. If not, make a winboard.debug file from the engine startup, and post it here. Then I might be able to see what is wrong.

The command should be "cores 2", btw, without equal sign.
Here is the debug file. Note that I issued cores 2 during analysis but I can't see it appear in the debug.

Code: Select all

recognized 'normal' (-1&#41; as variant normal
recognized 'normal' (-1&#41; as variant normal
WinBoard hgmaster-20110610 + Dorky_41-x64
Reset&#40;1, 0&#41; from gameMode 0
recognized 'normal' (-1&#41; as variant normal
GameEnds&#40;0, &#40;null&#41;, 2&#41;
shuffleOpenings = 0
TC string = '&#58;40/155'
mps=40 tc=155000 inc=0
TC string = '&#58;40/155'
mps=40 tc=155000 inc=0
StartChildProcess &#40;dir="C&#58;\Sakk\WB-engines\Dorky") Dorky_41-x64.exe
nice engine proc to 10
577 >first &#58; xboard
protover 2
577 <first &#58; EGTB cache memory = 32M bytes.
577 <first &#58; error reading book file!
577 <first &#58; non-fatal i/o error
593 <first &#58; 
593 <first &#58; Dorky Chess v4.1 &#40;2 cpus&#41;
593 <first &#58; by Matthew McKnight
593 <first &#58; 
593 <first &#58; W> 
593 <first &#58; feature draw=1 setboard=1 analyze=1 ping=1 reuse=1 time=1 playother=1 sigint=0 sigterm=0 smp=1 ics=1 name=1 egt="nalimov" myname="Dorky 4.1" done=1
593 >first &#58; accepted draw
593 >first &#58; accepted setboard
593 >first &#58; accepted analyze
593 >first &#58; accepted ping
593 >first &#58; accepted reuse
593 >first &#58; accepted time
593 >first &#58; accepted playother
593 >first &#58; accepted sigint
593 >first &#58; accepted sigterm
593 >first &#58; accepted smp
593 >first &#58; accepted ics
593 >first &#58; accepted name
593 >first &#58; accepted egt
593 >first &#58; accepted myname
593 >first &#58; accepted done
640 >first &#58; egtpath nalimov C&#58;\Sakk\TB
640 >first &#58; cores 2
640 >first &#58; new
random
640 >first &#58; ics -
640 >first &#58; level 40 2&#58;35 0
640 >first &#58; post
640 >first &#58; hard
640 >first &#58; easy
640 >first &#58; ping 1
640 <first &#58; initializing egtb
640 <first &#58; EGTB already initialized
640 <first &#58; using 2 cpus
640 <first &#58; pong 1
6739 >first &#58; force
6739 >first &#58; analyze
6739 <first &#58; Analyzing... use 'exit' to stop.
6755 <first &#58; starting thread 1
6755 <first &#58; System is SMP
6755 <first &#58; done
6895 <first &#58; 10 6 14 229959 d4 d5 Bg5 f6&#40;HT&#41; Bf4&#40;HT&#41;
7067 <first &#58; 11 5 31 514193 d4 d5 e3 Nf6&#40;HT&#41; Nf3&#40;HT&#41;
7441 <first &#58; 12 5 68 1179122 d4 d5 Bg5 f6&#40;HT&#41; Bf4&#40;HT&#41; Bf5&#40;HT&#41; e3&#40;HT&#41;
8424 <first &#58; 12 10 166 2956032 e4 e6 d4 Nc6 Nf3&#40;HT&#41;
9703 <first &#58; 13 14 294 5317391 e4 e6 d4 d5 e5 Ne7 Nf3 Nd7 Bd2 Nf5 Bd3 c5 dxc5 Bxc5
10764 >first &#58; .
10780 <first &#58; stat01&#58; 402 7413164 14 20 0 a8a8
12776 >first &#58; .
12776 <first &#58; 14 18 602 11179654 e4 e6 Nf3 Nc6 d4 d5 e5 a6 Nc3 Be7 Bf4 g5 Be3 Nb4
12808 <first &#58; stat01&#58; 605 11214194 14 20 0 a8a8
14789 >first &#58; .
14789 <first &#58; stat01&#58; 803 14994804 15 20 0 a8a8
16801 >first &#58; .
16817 <first &#58; stat01&#58; 1006 18992439 15 20 0 a8a8
18595 <first &#58; 15 16 1184 22363104 e4 e6 Nf3 Be7 d4 Nf6 Nc3 O-O Bd3 Nc6
18814 >first &#58; .
18829 <first &#58; stat01&#58; 1207 22793469 15 20 0 a8a8
20826 >first &#58; .
20826 <first &#58; stat01&#58; 1407 26681865 16 20 0 a8a8
22838 >first &#58; .
22838 <first &#58; stat01&#58; 1608 30613965 16 20 0 a8a8
24851 >first &#58; .
24866 <first &#58; stat01&#58; 1811 34742670 16 20 0 a8a8
26863 >first &#58; .
26879 <first &#58; stat01&#58; 2012 38674770 16 20 0 a8a8
28876 >first &#58; .
28876 <first &#58; stat01&#58; 2212 42672405 16 20 0 a8a8
30888 >first &#58; .
30919 <first &#58; stat01&#58; 2416 46473435 16 20 0 a8a8
31153 <first &#58; 16 18 2439 46959277 e4 e6 Nf3 Nc6
32900 >first &#58; .
32900 <first &#58; stat01&#58; 2614 50471070 16 20 0 a8a8
34913 >first &#58; .
34944 <first &#58; stat01&#58; 2818 54479529 17 20 0 a8a8
36925 >first &#58; .
36925 <first &#58; stat01&#58; 3017 58346094 17 20 0 a8a8
38938 >first &#58; .
38938 <first &#58; stat01&#58; 3218 62278194 17 20 0 a8a8
40950 >first &#58; .
40950 <first &#58; stat01&#58; 3419 66406899 17 20 0 a8a8
GameEnds&#40;28, xboard exit, 2&#41;
41309 >first &#58; exit
41309 >first &#58; quit
Gabor Szots

CCRL testing group

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: Dorky 4.1 64-bit - always single-threaded?

Post by SzG » Sat Jun 18, 2011 5:03 am

tmokonen wrote:Hi Gabor. If you are using Arena 3.0, go to Engines->Manage in the main menu (or use the F11 shortcut key). In the Engine Management window, there is a Winboard tab, with a Max. CPUs option. Try setting that option to the number of cores that you have, and see if that works.
Hi Tony,

I use version 2.0.6 where there is no Winboard tab, nor maxCPU option anywhere.
Gabor Szots

CCRL testing group

Post Reply