Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Deep Junior 8 / Junior 8 CPU Affinity Bug!

Author: Amir Ban

Date: 03:06:13 06/05/03

Go up one level in this thread


On June 04, 2003 at 22:24:59, Robert Hyatt wrote:

>On June 04, 2003 at 18:32:43, Amir Ban wrote:
>
>>On June 04, 2003 at 14:54:30, Anson T J wrote:
>>
>>>Has anyone noticed if you do engine matches with Junior 8 / Deep Junior 8, ZX,
>>>YY (any of them). If you set 1 thread per engine (on a dual machine), they share
>>>1 cpu with a net cpu usage of 50% !!
>>>
>>>Deep Fritz 7, Shredder 7 / 7.04 and all other SMP engines I know of don't have
>>>this problem.
>>>
>>>I guess the Junior 8 engines fix the affinity of the single cpu setup meaning in
>>>an engine match or tournament they share the same cpu instead of using one each.
>>>
>>
>>Didn't think of this, damn.
>>
>>
>>>Any fixes known?
>>>
>>
>>The problem should come up whenever running one DJ version against another with
>>no. of threads set to less than no. of processors. I can't think of any
>>workaround. I should get rid of processor affinity in that case.
>>
>>Amir
>
>
>What's the reason for doing this?  The O/S should handle this by itself and
>avoid flipping a single process back and forth between physical processors,
>without the program itself being involved in the decision...

Maybe. The general considerations of an o/s are not the same as of a chess
engine. On the particular o/s and time I tried it seemed worth doing.

Amir





This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.