Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A question about Deep Junior and Crafty

Author: Dann Corbit

Date: 15:53:35 03/07/00

Go up one level in this thread


On March 07, 2000 at 18:30:42, Robert Hyatt wrote:
>On March 07, 2000 at 15:21:19, Dann Corbit wrote:
>
>>On March 07, 2000 at 15:04:26, Dikmen wrote:
>>
>>>Hello everybody
>>>
>>>I have a 8 cpu server at work.I want to test Deep Junior and Crafty on it.
>>>
>>>But I have a question.Can anybody tell how many cpus does this prgrams support.
>>>
>>>Does they work under 8 cpus or they are limited to 4 cpus?
>>
>>Don't know for sure about Deep Junior, but crafty needs to be compiled for 8
>>CPU's or more.  The CraftySMP at my ftp site is compiled for up to 256 CPU's
>
>Not exactly, unless you changed MAX_BLOCKS in chess.h.  This algorithm requires
>at _least_ one split block per cpu.  For 4 cpus, I use 64 for MAX_BLOCKS.  I
>would suggest at least 1024 for 256 cpus and that is probably low.  The problem
>is that a block gets used to split the tree, and copied to clone blocks for
>each thread.  And this happens recursively, which means many such blocks are
>needed.  With CPUS> 64 there is no way to get them busy as no split blocks will
>be available..
How about:
...
#define     EGTB_CACHE_DEFAULT (1024*1024)
#define     MAXPLY            65
#if defined (SMP)
#define MAX_BLOCKS          4096
#else
#define MAX_BLOCKS            64
#endif
#define MAX_TC_NODES      300000
...



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.