SOMEONE PLEASE HELP ME!!!

Discussion of computer chess matches and engine tournaments.

Moderator: Ras

User avatar
geots
Posts: 4790
Joined: Sat Mar 11, 2006 12:42 am

SOMEONE PLEASE HELP ME!!!

Post by geots »

I apologize for using uppercase in the header, but I have to get some sleep soon. Can anyone help me with MinkoChess 1.3. I had it set on 2 cpus, and it was all over the place while thinking, all the way from 1 thread to 4. I set it on 1 thread, and it jumps from 1 to 2 to 3 and back again to 1 core. Does anyone know the problem with it?


Thanks,

george
User avatar
Graham Banks
Posts: 44629
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: SOMEONE PLEASE HELP ME!!!

Post by Graham Banks »

geots wrote:I apologize for using uppercase in the header, but I have to get some sleep soon. Can anyone help me with MinkoChess 1.3. I had it set on 2 cpus, and it was all over the place while thinking, all the way from 1 thread to 4. I set it on 1 thread, and it jumps from 1 to 2 to 3 and back again to 1 core. Does anyone know the problem with it?


Thanks,

george
Haven't experienced any problems with it using 1CPU, but the behaviour you describe does happen when you use it with more than 1CPU.
Apparently, the way that some more recent engines operate using more than 1CPU, it is quite normal. Gaviota is another that you'll find does the same thing.
gbanksnz at gmail.com
User avatar
Eelco de Groot
Posts: 4671
Joined: Sun Mar 12, 2006 2:40 am
Full name:   Eelco de Groot

Re: SOMEONE PLEASE HELP ME!!!

Post by Eelco de Groot »

It maybe has to do when programs are using a separate thread for the input/output, but I have not noticed it with Stockfish have not tried that with two threads though. And it should not go back to one thread I think when set to two, at least that does not seem optimal.

Eelco
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: SOMEONE PLEASE HELP ME!!!

Post by michiguel »

Graham Banks wrote:
geots wrote:I apologize for using uppercase in the header, but I have to get some sleep soon. Can anyone help me with MinkoChess 1.3. I had it set on 2 cpus, and it was all over the place while thinking, all the way from 1 thread to 4. I set it on 1 thread, and it jumps from 1 to 2 to 3 and back again to 1 core. Does anyone know the problem with it?


Thanks,

george
Haven't experienced any problems with it using 1CPU, but the behaviour you describe does happen when you use it with more than 1CPU.
Apparently, the way that some more recent engines operate using more than 1CPU, it is quite normal. Gaviota is another that you'll find does the same thing.
Gaviota should never use more than 2 cores if it was set to use 2. It will oscillate from 1 to 2, getting closer to 2 as the thinking progresses, but it will never exceed that number. When a thread is idle, Gaviota makes it wait rather than spinning on the air doing nothing.

Miguel
PS: This thread does not belong here. I may move it later to the main forum if it grows.
PS2: Come on guys, we can be a bit more creative with the subject :-) Let's be nice with the search engine.