View topic - spring-multithreaded


All times are UTC + 1 hour


Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: spring-multithreaded
PostPosted: 26 Dec 2011, 22:52 
User avatar

Joined: 07 Feb 2005, 21:30
Location: Cheese factory
Purely out of curiosity, has anyone measured a performance increase with mt? If you could also write your CPU that would be helpful.
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 26 Dec 2011, 23:12 
User avatar

Joined: 30 Nov 2008, 04:31
Location: the flow
Isn't mt completely broken as of 85?
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 27 Dec 2011, 01:03 
User avatar

Joined: 09 Jul 2010, 18:53
dont think there is a performance increase maybe a decrease but framerates stay high
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 27 Dec 2011, 14:35 
Zero-K Developer
User avatar

Joined: 14 Mar 2007, 03:44
Location: Fillydelphia
This was from a ZK CAI 1v1 on Red Comet, Spring 84.0.
CPU: Intel Core 2 Duo 1.86 GHz
Image

I got somewhat better MT performance by turning threaded optimization on in the nVidia control panel, but it also caused very frequent crashes.
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 27 Dec 2011, 17:45 
User avatar

Joined: 09 Jul 2010, 18:53
how did you make the graph?
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 28 Dec 2011, 02:09 
User avatar

Joined: 01 Aug 2011, 18:06
I don't have any specific measurements or graphs, but I can say that MT provides an inexplicably huge performance gain for me. I just wrapped up a two hour game against 3 RAI's and one E323AI (all allied) with well over 400 units per team (unit cap at 1000 for each team) and my framerate never dropped below 30FPS! :shock: This is with almost all of the graphical options turned on (except antialiasing, adv sky, & dynamic water). 8) Singlethreaded FPS under similar conditions would have been in the single digits after the first half hour on my system.

85.0 would deadlock on me, but I think zerver's commit yesterday fixed it because I haven't had any trouble today using the latest source from GIT.

Four Core AMD Phenom II 955
NVIDIA GeForce GTS 250 w/ Closed Driver Version 280.13
Ubuntu 11.10 w/ Unity 3D
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 28 Dec 2011, 14:45 
User avatar

Joined: 28 Jul 2010, 15:20
Location: Lyon - FRANCE
Anarchid wrote:
Isn't mt completely broken as of 85?
+1
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 28 Dec 2011, 17:30 
Spring Developer

Joined: 16 Dec 2006, 20:59
The performance depends very much on the graphics driver I think. My specific ATI driver drops significantly in FPS when glShareLists is enabled. It can be disabled with MultiThreadShareLists=0, but with the side effect that some LUA stuff may fail.

That graph is nice btw... for zero-k I would not be surprised if there still is some tweaking needed to make it run fast. I will do some profiling there.
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 28 Dec 2011, 18:00 
Zero-K Developer
User avatar

Joined: 14 Mar 2007, 03:44
Location: Fillydelphia
That would be much appreciated, zerver.

dcore221 wrote:
how did you make the graph?

This widget (based on this widget). Log FPS and gameframe at regular intervals, write to file, open as comma-separated values in MS Excel.
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 31 Dec 2011, 00:02 
User avatar

Joined: 14 Jan 2009, 14:20
before 0.83 (mostly 0.82) MT (4cores)was allowing me to play ffa with +150kE eco with mor than 20 fps (all setting low, 1680*1050), while ST gave me ~ 2 fps...otally unplayable

MT is just a necessity for my computer and ffa

i5 quad 750
4Go RAM
ATI 4890

PS: I barely play spring anymore cause no more MT
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 31 Dec 2011, 16:55 
User avatar

Joined: 01 Aug 2011, 18:06
FabriceFABS wrote:
Anarchid wrote:
Isn't mt completely broken as of 85?
+1
albator wrote:
PS: I barely play spring anymore cause no more MT
I'm not saying that you guys don't have totally valid issues, but I just want to note that 85.0 MT has been the least buggy and best running version of spring I've used so far on my setup...

Four Core AMD Phenom II 955
NVIDIA GeForce GTS 250 w/ Closed Driver Version 280.13
Ubuntu 11.10 w/ Unity 3D
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 31 Dec 2011, 17:53 
Spring Developer

Joined: 16 Dec 2006, 20:59
askuhn wrote:
I'm not saying that you guys don't have totally valid issues, but I just want to note that 85.0 MT has been the least buggy and best running version of spring I've used so far on my setup...

Thanks for the flowers, but Alba is totally correct in that MT is broken. It works for single player, but will crash/deadlock/desync in multiplayer, especially when there is anyone using mid-game join.

I did not break it, but should have tested more real games before release. Sorry on behalf of the dev team. If there is no official MT fix release within a week, I will make one myself and post it somewhere.
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 31 Dec 2011, 19:28 

Joined: 27 Nov 2011, 10:38
MT worked very well for me until 84. In that version I get deadlocks at about 20-40 minutes BA gameplay. (I only play BA)
And the 85 MT wont even start for me.

Phenom 840 3.2 Ghz x 4 cores
8 GiBs ddr3
Radeon 5770

With the MT version the FPS is always good. But at big games like 20 players on DSD after more then one hour, depending on the unit count, the Sim Thread can't keep up and I start to lag behind. (But with good fps :D)
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 01 Jan 2012, 00:34 
User avatar

Joined: 01 Aug 2011, 18:06
zerver wrote:
Thanks for the flowers, but Alba is totally correct in that MT is broken. It works for single player, but will crash/deadlock/desync in multiplayer, especially when there is anyone using mid-game join.
Yeah, I was just trying to lighten things up a bit. Didn't want you all to be too hard on yourselves. :wink:
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 10 Jan 2012, 18:48 
User avatar

Joined: 14 Jan 2009, 14:20
zerver wrote:

If there is no official MT fix release within a week, I will make one myself and post it somewhere.


Any ETA ? :p
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 11 Jan 2012, 15:39 
Spring Developer

Joined: 16 Dec 2006, 20:59
I will make it tonight unless jK (whom is working on the official 85.1) says he will release that this week.
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 13 Jan 2012, 00:19 
Spring Developer

Joined: 16 Dec 2006, 20:59
http://springfiles.com/spring/game-inst ... executable
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 13 Jan 2012, 01:15 
User avatar

Joined: 14 Jan 2009, 14:20
Code:
The page you requested does not exist. A search for downloadmain resulted in this page.
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 13 Jan 2012, 01:34 
Spring Developer

Joined: 16 Dec 2006, 20:59
The download fails for you?

This is the whole installer, but you only want to pick the exe from that
http://springrts.com/dl/buildbot/defaul ... 951972.exe
Top
 Offline Profile  
 
 Post subject: Re: spring-multithreaded
PostPosted: 13 Jan 2012, 02:04 
User avatar

Joined: 14 Jan 2009, 14:20
zerver wrote:
The download fails for you?


indeed.

Aswome ! that works great, like it use to !
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Site layout created by Roflcopter et al.