Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Multi-threading issues

Author: Robert Hyatt

Date: 08:30:50 11/08/02

Go up one level in this thread


On November 08, 2002 at 04:28:45, Daniel Clausen wrote:

>Bob wrote:
>
>>For a beginner, the less you share, the fewer potential problems you have.
>
>That's also a reason why I usually tell people to use local most lists and stuff
>at the beginning, and optimize later. It just makes life much easier for the
>sake of a few NPS, which is not important as long as your branching factor is
>15. :)
>
>Sargon


Right.  But the advantages of threads become apparent later.  IE the EGTB probe
code Eugene wrote is multi-threaded.  With threads, you get one copy of the
cache
buffers and indices, and save a lot of memory.  If you use heavyweight
processes,
you take a beating on that count.

It is a balance between debugging and performance.  At first, debugging is more
important.  once you have a lot of experience, performance becomes the name of
the
game...  and threads win there...



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.