about parallel search in toga
Posted: 16 Jun 2007, 23:12
I have problems to post in the chess computer club because of changing the server but I read claims by tord that it can be easy to implement parallel search in toga simply by copy and paste parts of glaurung and I simply do not understand how people think that it is possible to do it so fast.
Toga has global variables and I understood from Dann corbit that in order to use parallel search you need to get rid of parallel variables.
I do not know a way to do something like that in few hours and in case that it is possible to do it then I would like to get step by step instructions how to do it.
Here are the posts from CCC:
from the chess computer club
http://216.25.93.108/forum/viewtopic.ph ... 6&start=10
"mjlef wrote:
Doesn't the Fruit/Tgoa license state anything derived from that code must be released in source code format? Has this been done? A parallel Toga would be very interesting to play with.
I am not sure if it has been done, but it would be very easy to do. You could just cut and paste Glaurung's parallel search code into Fruit/Toga and make a few minor changes to make it work with the different data structures. I guesstimate that it should take about 3-10 hours of work, depending on how familiar you are with the inner workings of Fruit.
Tord"
later:
Zach Wegner:
I implemented SMP in Toga a while back, but for some reason I was never able to get a real speedup. For some reason the stop/split ratio was always around 25% and seemed to grow when search time increased. This is different than my own engine which rarely gets more than a few % using the same split logic. If any developers are interested in trying to fix it, I'll be happy to send them the code.
Toga has global variables and I understood from Dann corbit that in order to use parallel search you need to get rid of parallel variables.
I do not know a way to do something like that in few hours and in case that it is possible to do it then I would like to get step by step instructions how to do it.
Here are the posts from CCC:
from the chess computer club
http://216.25.93.108/forum/viewtopic.ph ... 6&start=10
"mjlef wrote:
Doesn't the Fruit/Tgoa license state anything derived from that code must be released in source code format? Has this been done? A parallel Toga would be very interesting to play with.
I am not sure if it has been done, but it would be very easy to do. You could just cut and paste Glaurung's parallel search code into Fruit/Toga and make a few minor changes to make it work with the different data structures. I guesstimate that it should take about 3-10 hours of work, depending on how familiar you are with the inner workings of Fruit.
Tord"
later:
Zach Wegner:
I implemented SMP in Toga a while back, but for some reason I was never able to get a real speedup. For some reason the stop/split ratio was always around 25% and seemed to grow when search time increased. This is different than my own engine which rarely gets more than a few % using the same split logic. If any developers are interested in trying to fix it, I'll be happy to send them the code.