Spring is running in SMP
Moderator: Moderators
Re: Spring is running in SMP
Sorry, we're not quite there yet. New BA 7.13 may be error spam free, but LUA based graphics still has performance related issues.
Re: Spring is running in SMP
Is there any spring 0.82.x MT ?
Re: Spring is running in SMP
Yes, it is included in the installer.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Spring is running in SMP
Is there anything you can do when coding a widget to avoid those problems? I guess you should only use draw functions in the DrawXY()-callins, right? Anything else?zerver wrote:Sorry, we're not quite there yet. New BA 7.13 may be error spam free, but LUA based graphics still has performance related issues.
Re: Spring is running in SMP
I'm afraid not, it is the actual drawing that kills performance. The main reason is that LUA is single threaded. Will hopefully be fixed in some future Spring release.
Re: Spring is running in SMP
What are the implications of your statement? Does that mean a multithreaded LUA can be included? Or that there is some other technical solution? If the later, can you expand on it a little?zerver wrote:I'm afraid not, it is the actual drawing that kills performance. The main reason is that LUA is single threaded. Will hopefully be fixed in some future Spring release.
Thanks.
Re: Spring is running in SMP
What could be doable is a separate LUA execution environment for the rendering. However, this means difficulties in sharing data - the environments will be unaware of each others variables.echoone wrote:What are the implications of your statement? Does that mean a multithreaded LUA can be included? Or that there is some other technical solution? If the later, can you expand on it a little?
Other changes are needed as well, see my post here:
http://springrts.com/phpbb/viewtopic.php?f=12&t=23753
Re: Spring is running in SMP
FYI MT currently has desync problems.
Not all games desync, but quite a few. I'm working on finding out why.
Not all games desync, but quite a few. I'm working on finding out why.
Re: Spring is running in SMP
There will probably be a 0.82.4 release pretty soon, but for those who cannot wait, the desync fixed MT build can be found here:
http://www.springfiles.com/show_file.php?id=2754
http://www.springfiles.com/show_file.php?id=2754
Re: Spring is running in SMP
0.82.5 MT, hopefully with less crash:
http://www.springfiles.com/show_file.php?id=2772
http://www.springfiles.com/show_file.php?id=2772