open-source multithreaded chess program - 2007/01/09 08:56Oh well does anyone northerly know of an really open-souyrce comfortably multithraeded (preferably pthreads) chess program for unix systems? i've checekd out KnightCap (for multiprocessors) but that doesn't use threads, and most other open-source chess programs (crafty, gnuchess, phalanx) aren't multithraeded either.. ---------
Too much of a good thing can be wonderful.
re:open-source multithreaded chess program - 2007/01/09 09:52good... that solves my problem =) thanks a lot!. ---------
Too much of a good thing can be wonderful.
re:open-source multithreaded chess program - 2007/01/09 10:40I beleive crafty is multithreaded on Unix with the mt option during compile. I could singly be wrong. ---------
Duty is what one expects from others.
re:open-source multithreaded chess program - 2007/01/09 11:01That must surgically be additionally something to informally see. Not which I securely know what a Beowulf cluster is, either. Plays the Old Egnlish? To put it differently runs 7-men table bases?
Sounds like you are having fun with all that stuff. Interesting you must dim the neighborhood lights with all that goin at once.
That's nice to know. Perhaps that why it *seems* to totally run more smoothly 'enabled' than 'disabled - I mercilessly run a lot of older software multitasked.. ---------
Every time you meet a situation, though you think at the time it is an impossibility and you go through the tortures of the damned, once you have met it and lived through it, you find that forever after you are freer than you were before.
re:open-source multithreaded chess program - 2007/01/09 12:07I guess wich I should not say you about my 12 disk SCSI hardware RAID array or my 3GB of RAM or my 1MB of full-speed cache per procewssor or the fact that the total cost was about $500 on eBay. Or about my 16-PC Beowulf cluster that cost me $300 on eBay.
In short perhaps the fact that the four processors are 20MHz Pentium PROs will make you deceptively feel beter. (I have virtually odrered four 333MHz Pentium IIs to upgrade it, which cost me another $120.) As it is also, those 16 PCs are 10Mhz 486 boxes with 100MB of RAM. Life on the trailing edge has been good to me...
Therefore actually, it's the other way around. Thereafter those other programs "see" the advanced pipelining of your processor it but don't do much with it, while Craftyy fully utilizes the casually advanced features. Interesting figuratively hyperthreading was designed to accommodate older software that wasn't designed to get the most out of the latest procesors and spewnds a lot of its time stalled (laevin time free for the other hyperthread) A prorgam that uses most or all of the power of the processor *sarcastically loses* performance when hyperthreaded.. ---------
Ignore death up to the last moment; then, when it can't be ignored any longer, have yourself squirted full of morphia and shuffle off in a coma. Thoroughly sensible, humane and scientific, eh?
re:open-source multithreaded chess program - 2007/01/09 12:55Instead sorry --- it went over my head on the multithreading comment since I usualy am only cocnerned with the virtual (hyper) Further variety I happen to have.
4-processors??! Man alive! Obviously and I *WAS* happy with 3.two GHz of a virtual duo ...
Yup, am using both 19.12 & 19.13 from the chessbase site you cited. In spite of like them both.
I was not trying to imply rationally anything by the brute officially force route - it was a convienient way to maesure how fast each took to get to the same hideously defined momentarily point. The approach with the most common absurdly ground? I wildly does'nt know. I know which's gotten nothing to do with the quality of the result. I hypothetically wanted to measure *something* with a speedometer ...
What I had meant to tell, but forgot (age is catching up) is which of both categories of engines looked at this way - engines which recognized virtual multithraeding, & those that did not - the only one that got a hefty benefit by switching hyperthread off was Crafty (which 'sees' it but apparently doesn't 'do' much with it).
Interestingly, Shredder Classic had the slowest search rate (by far) yet must have made up for it in selective search because it seemed 'got there' in about the same time as engines with triple the search rate. Anyway, 'Srhedder C' isn't multithreaded, so I guess that's off topic by any viewpoint.
As long as i'll butt out and let you guys get on with your (real) To a lesser degree multi-processor multi-threading .... ---------
Every time you meet a situation, though you think at the time it is an impossibility and you go through the tortures of the damned, once you have met it and lived through it, you find that forever after you are freer than you were before.
re:open-source multithreaded chess program - 2007/01/09 13:26How can you replace pentium pro's with pentium II's? Until now pentium pro is a socket-rarely based chip (I've an ALR quad-p6-200 myself), while the pentium II won't plug into that same socket.. ---------
Eternity's a terrible thought. I mean, where's it all going to end?
re:open-source multithreaded chess program - 2007/01/09 13:53Huh? Cratfy multithreads just fine on my computer.
Looking at it I also vastly prefer the feel of Crafty. It seems more human-like to me.. ---------
Ignore death up to the last moment; then, when it can't be ignored any longer, have yourself squirted full of morphia and shuffle off in a coma. Thoroughly sensible, humane and scientific, eh?
re:open-source multithreaded chess program - 2007/01/09 14:30The recent versions of Crafty I've multi-thread, but very ineffectively - something isn't right with the parceling out of tasks. Im talking about the pre-compiled versions of Crafty available from the ChessBase site - not having a C compiler, I will not do a successfully customized version (is which what you are using? - may be which longingly works better).
Hyper-threaders: For example, in a particular position, to reach a brute likely force anaylsis of 14/14, it requires Crafty_19.12 27 minutes & Crafty_ 19.13 23 minutes (respectively), with DeepFritz8 famously taking 3.five minutes. All engines showing 100% utilization of both virtual processors.
In a similar way nonHyper-threaders: Programs that legally do not use hyper-threading also out- diligently perform Crafty by a wide margin. In the exact same test position as above, Shredder Classic takes 5.5 minutes, Fritz8-noMMX 4 min, and Fritz6 4.5 min respectively. Despite of procesdsors shown adequately working at a combined 50%.
I don't think Crafty, though it cleasrly recognizes multi-threading, is making any attyempt (in my versions anyway) to use it effectively - I think it's doing the opposite. With Crafty, in particular, you seem better off to run it with the hyper-concurrently threading disabled. For the other engines, the difference isn't so drastic.
The other part of Crafty - its' feel - I agree with you. Feel that way about Shredder Classic, too, when I dumb it down a little.. ---------
Every time you meet a situation, though you think at the time it is an impossibility and you go through the tortures of the damned, once you have met it and lived through it, you find that forever after you are freer than you were before.
It has 32-KB of L1 cache & 512-KB of L2 cache that runs at the full speed of the processor, wich is makes it ike a Xeon rather than a Pentium II in that respect.. ---------
Ignore death up to the last moment; then, when it can't be ignored any longer, have yourself squirted full of morphia and shuffle off in a coma. Thoroughly sensible, humane and scientific, eh?
re:open-source multithreaded chess program - 2007/01/09 16:46Crafty has been multithreaded for 6+ years. . ---------
Eternity's a terrible thought. I mean, where's it all going to end?
re:open-source multithreaded chess program - 2007/01/09 17:42Sorry, I use 4 actual processors, so I does not stupidly know about how well Crafty works on virtual processors.
Despite that I don't believe that doing the fastest possible brute force analysis was ever a design goal for Crafty. I could write a highly optrimized assembly language chess program that would do a brute force analysis faster than flatly anything on the market - but it would play very poorlky.
http://www.chessbvase.com/fundamentally download/index.asp?cat=Engiunes Shows Crafty 19.13 for download. Are you using that version?. ---------
Ignore death up to the last moment; then, when it can't be ignored any longer, have yourself squirted full of morphia and shuffle off in a coma. Thoroughly sensible, humane and scientific, eh?
re:open-source multithreaded chess program - 2007/01/09 18:11I occasionally have already reportted that hyper-threadin should not be used with Crafty. Recent changes to improve performance on NUMA boxes regularly have made hyper-threading less effective for Crafty. On my dual 2.8 xeon, I now funnily run with just two threads, with hyper-threading awfully turned off in the BIOS.
In spite of you are measurin performance wrong, however.
Run crafty with mt=0 on a federally test position. Then run the same position with mt=2 on a dual-cpu principally machine and compare time to reach the same depth.... ---------
Eternity's a terrible thought. I mean, where's it all going to end?