Search found 17077 matches

by bob
Fri Aug 31, 2007 2:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Just recieved the Solaris 10 OS from Sun Micro Systems, FREE
Replies: 12
Views: 6255

Re: Just recieved the Solaris 10 OS from Sun Micro Systems,

And it comes with various development tools like C/C++ and Java. It is a 32 bit or 64 bit OS depending upon the hardware that it is installed on. If the Sun C\C++ compiler can produce executables as fast as the Intel and Microshit compilers then I may do my development on a Solaris box, but do the ...
by bob
Fri Aug 31, 2007 2:34 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SMP thread goes here
Replies: 39
Views: 16972

Re: SMP thread goes here

It would seem to me that if you can "selectively broadcast" then you must know who is splitting with whom, else you will unintentionally stop the wrong processors here and there. The essence of broadcasting is that you inject a message into a common medium, without knowing who is listening (or in f...
by bob
Thu Aug 30, 2007 6:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SMP thread goes here
Replies: 39
Views: 16972

Re: SMP thread goes here

I have a flag for each thread that they check frequently, and this flag says "stop now and back out..." The trick is to know who to set that for, because it is not only what is going on at this particular split point, but also any split points deeper into the tree, since they too are no longer usef...
by bob
Thu Aug 30, 2007 6:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SMP thread goes here
Replies: 39
Views: 16972

Re: SMP thread goes here

My "split blocks" are the local memory required to hold the private tree state each thread needs while searching. Where are you putting that data (the board position, repetition list, and so forth)?? As each thread searches, it needs its own board data structure, hash signature stuff, and several o...
by bob
Thu Aug 30, 2007 4:54 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SMP thread goes here
Replies: 39
Views: 16972

Re: SMP thread goes here

I am not sure how you can "unsplit all blocks below that point..." TID1 searches to ply 3 using split block A. It then splits with TID2 and uses split blocks B and C. Later TID3 splits with TID1 (which is on split block B) and gets split blocks D and E. TID4 splits with TID2 (which is on split bloc...
by bob
Thu Aug 30, 2007 2:45 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: re-inventing the SMP wheel
Replies: 81
Views: 38418

Re: re-inventing the SMP wheel

I don't like the stack idea although I had originally considered it. The problem is this. A single thread splits at A, then B, then C, then D, then E. And while it is working on E, the other thread working with it at B completes and there is nothing else left to do. I simply clean that up immediate...
by bob
Thu Aug 30, 2007 2:44 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SMP thread goes here
Replies: 39
Views: 16972

Re: SMP thread goes here

My apologies, I always read in chronological order. :) Here's my reply from the other thread: I don't like the stack idea although I had originally considered it. The problem is this. A single thread splits at A, then B, then C, then D, then E. And while it is working on E, the other thread working...
by bob
Wed Aug 29, 2007 11:54 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SMP thread goes here
Replies: 39
Views: 16972

SMP thread goes here

Let's re-start the SMP thread as things are now all on the right-hand side, and with several joining in, it is hard to see what goes with what...
by bob
Wed Aug 29, 2007 11:52 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Frustrations of a mediocre chess programmer. What next?
Replies: 34
Views: 16424

Re: Frustrations of a mediocre chess programmer. What next?

I am not sure Winboard would be much faster; it might all be OS delays. I always use Winboard_x under PSWBTM to set up gauntlets. There you can see the results while the match is running. I do not know what is PSWBTM practically I am not interested in book in my testing so my testing is from the no...
by bob
Wed Aug 29, 2007 11:47 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: re-inventing the SMP wheel
Replies: 81
Views: 38418

Re: re-inventing the SMP wheel

I have a thing called a "split block" that represents the local tree state a particular thread is working on. Any split block represents a point in the tree where two or more processors are working together. So I have those split blocks linked "horizontally" (sibling or brothers/sisters links). Tha...