A few questions about Toga:
1. How come none of the rating lists use 64 bit Toga? The source is there, so it shouldn't be too hard to compile it(I do it for Linux, which is even easier than Windows). Which leads me to my next question...
2. How well does Toga take advantage of 64 bit? Anyone run any tests? Toga uses bitboards if I remember right, and so the speedup should be notable, but the lack of a 64 bit Toga in tournaments/rating lists has me wondering.
3. I know the question has been asked before because I've seen it here, but since I'm not finding in the archives what I'm looking for, has anyone implemented SMP support to Toga, and how successful was it? I remember someone saying it's been tried before(though I've yet to see it), and I know Tord said his SMP code was almost just a matter of copy/paste, but I'm wondering if anyone was working on it.
4. What are the well known deficiencies/bugs of Toga? I'm also looking for answers related to play style too. Does the search rely on more knowledge pruning(is that what you call it?) or brute force?
I have a few C++ college classes under my belt, but I want to work on something so that I don't lose what I know. I figure studying this code and trying to improve on it would be a way to go. Any information/help is appreciated.
Thanks.
Toga and 64 bit(and a few other questions)
Moderator: Ras
-
- Posts: 3196
- Joined: Fri May 26, 2006 3:00 am
- Location: WY, USA
- Full name: Michael Sherwin
Re: Toga and 64 bit(and a few other questions)
Toga a bitboard engine?
That's news to me. 


If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
Re: Toga and 64 bit(and a few other questions)
I thought it was, but I could be wrong, I haven't actually looked at it.
-
- Posts: 2851
- Joined: Wed Mar 08, 2006 10:01 pm
- Location: Irvine, CA, USA
Re: Toga and 64 bit(and a few other questions)
64 bit compiles for Toga are produced now and then. In every case I've seen they turn out to be slower that the 32 bit version.
Toga is not bit board.
Toga is not bit board.
-
- Posts: 10814
- Joined: Thu Mar 09, 2006 12:37 am
- Location: Tel-Aviv Israel
Re: Toga and 64 bit(and a few other questions)
You are clearly wrong about it.revengeska wrote:I thought it was, but I could be wrong, I haven't actually looked at it.
It is known that toga use no bitboards and you cannot get speed improvement from using 64 bits for it.
Uri
Re: Toga and 64 bit(and a few other questions)
Thanks for the clarification, Uri. I guess that's probably something that's holding the program back, I would think. Bitboards seem to be the best implementation for programs these days.Uri Blass wrote:You are clearly wrong about it.revengeska wrote:I thought it was, but I could be wrong, I haven't actually looked at it.
It is known that toga use no bitboards and you cannot get speed improvement from using 64 bits for it.
Uri
Re: Toga and 64 bit(and a few other questions)
Compiling Toga for 64 bit is certainly possible and I have done so many times for Windows and placed them on my site. The problem is that after countless hours of fiddling with the code and compile options you see less then a 5% speed up. This speed up means nothing in terms in increased strength.revengeska wrote:A few questions about Toga:
2. How well does Toga take advantage of 64 bit? Anyone run any tests? Toga uses bitboards if I remember right, and so the speedup should be notable, but the lack of a 64 bit Toga in tournaments/rating lists has me wondering.
Thanks.
Bryan
Re: Toga and 64 bit(and a few other questions)
Yeah, I've compiled it myself for Linux in 64 bit, but I hadn't really done comparison testing. You think that to take advantage of 64 bit, you'd have to perhaps rewrite the whole board representation as bitboard? That seems like quite a daunting task, and I'm wondering whether it'd require a rewrite of the search function as well. I guess I'd have to decide whether it would be worth it or not, but it's certainly a strong program despite these shortcomings.Bryan Hofmann wrote:Compiling Toga for 64 bit is certainly possible and I have done so many times for Windows and placed them on my site. The problem is that after countless hours of fiddling with the code and compile options you see less then a 5% speed up. This speed up means nothing in terms in increased strength.revengeska wrote:A few questions about Toga:
2. How well does Toga take advantage of 64 bit? Anyone run any tests? Toga uses bitboards if I remember right, and so the speedup should be notable, but the lack of a 64 bit Toga in tournaments/rating lists has me wondering.
Thanks.
Bryan
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Toga and 64 bit(and a few other questions)
Search is totally independent of how the board is represented. But it would be a rewrite of the move generation stuff, evaluation stuff, SEE stuff, anything that actually modifies the board in any way or uses it...revengeska wrote:Yeah, I've compiled it myself for Linux in 64 bit, but I hadn't really done comparison testing. You think that to take advantage of 64 bit, you'd have to perhaps rewrite the whole board representation as bitboard? That seems like quite a daunting task, and I'm wondering whether it'd require a rewrite of the search function as well. I guess I'd have to decide whether it would be worth it or not, but it's certainly a strong program despite these shortcomings.Bryan Hofmann wrote:Compiling Toga for 64 bit is certainly possible and I have done so many times for Windows and placed them on my site. The problem is that after countless hours of fiddling with the code and compile options you see less then a 5% speed up. This speed up means nothing in terms in increased strength.revengeska wrote:A few questions about Toga:
2. How well does Toga take advantage of 64 bit? Anyone run any tests? Toga uses bitboards if I remember right, and so the speedup should be notable, but the lack of a 64 bit Toga in tournaments/rating lists has me wondering.
Thanks.
Bryan
Re: Toga and 64 bit(and a few other questions)
That's pretty disappointing with all those extra registers. Did you try the Intel 64-bits compiler as well?Bryan Hofmann wrote:Compiling Toga for 64 bit is certainly possible and I have done so many times for Windows and placed them on my site. The problem is that after countless hours of fiddling with the code and compile options you see less then a 5% speed up. This speed up means nothing in terms in increased strength.revengeska wrote:A few questions about Toga:
2. How well does Toga take advantage of 64 bit? Anyone run any tests? Toga uses bitboards if I remember right, and so the speedup should be notable, but the lack of a 64 bit Toga in tournaments/rating lists has me wondering.
Thanks.
Bryan
Ed