Processor usage

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Roland Chastain
Posts: 640
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Processor usage

Post by Roland Chastain »

Hello!

Sorry for my poor English. While I was running a tournament with Cute Chess (under Windows), I let opened the task manager, and I could notice very important difference in the usage that each engine makes of the processor. For example, Glaurung 2.2 sometimes uses more than 90% of the processor power! :shock:

I wonder where that difference comes from. For the memory, I can understand that each program allocates a different amount. But for the processor, I don't know how it happens that an engine uses more processor power than another. Where does it come from?

Other question, is it fair play, when an engine uses three times more power than the opponent?

Thank you.
Qui trop embrasse mal étreint.
Ras
Posts: 2487
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Processor usage

Post by Ras »

If an engine supports multiple threads, it can use multiple cores of the processor. If you don't give a configuration command to the engine, it will use whatever it thinks should be a good default, and that can well be "use all cores".
Rasmus Althoff
https://www.ct800.net
User avatar
Roland Chastain
Posts: 640
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Re: Processor usage

Post by Roland Chastain »

@Ras

Thank you for your answer.
Qui trop embrasse mal étreint.