dual core question

dual core question

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

do you have dual core?

yes
41
61%
no
26
39%
 
Total votes: 67

User avatar
cyclerboy
Posts: 156
Joined: 04 May 2005, 06:38

dual core question

Post by cyclerboy »

with more and more people getting new computers dual core processors are getting more common. i just got mhy new laptop (cor 2 duo, 2 gb ram, nvidia 8700m gt 756 mb ram) but i can only run spring at about 30 fps on low settings not in battle. i know the graphics card can run spring on ful no problem but since its dual core the processor just cant cut it. is there any chance there would ever be dual core support or is there a way to get better perfomance from it?
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Turn off threaded optimization for the graphics card and set core affinity to single. I can get upwards of 220 FPS on a Core Duo with 7600 Go with those settings.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Post by Auswaschbar »

30 fps is way too low for your PC. Vsync limits my framerate to 100fps with c2d and nvidia 8500.

btw Spring already is multithreaded if you host a game
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

The distribution of the load makes the threading somewhat pointless, as the server thread just shunts traffic around.

You dont need ot set affinity to a single core, just turn off threaded optimization for spring.exe, although that may just be an intel thing, I dont know if AMD users have to set affinity.
User avatar
Lindir The Green
Posts: 815
Joined: 04 May 2005, 15:09

Post by Lindir The Green »

How do you set affinity?

Well, it doesn't really matter; I get around 40 FPS with reasonably high settings and a reasonable amount of units.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

goto task manager and right click on the spring.exe process.
User avatar
Muzic
Posts: 950
Joined: 09 Aug 2006, 07:08

Post by Muzic »

Nvidia help.

Right Click on Desktop>Properties>Settings>advanced>XXXCARD>Performance and Quality Settings>Threaded Optimaztion>Off
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: dual core question

Post by zwzsg »

cyclerboy wrote:but i can only run spring at about 30 fps on low settings
Isn't 30 FPS the period of the update loop that is hard coded at 33ms and won't change no matter how powerful your computer is because the code is coded with a fixed duration and can not handle infinitesimal changes between infinitesimal times, but do not worry, the graphical FPS on the other hand can be much higher than 30 FPS, though you will still see the same thing during each 33ms, just at a different angle?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

The simulations runs at 30 ticks per game second.

The actual rendering of the simulation is different though.
CautionToTheWind
Posts: 272
Joined: 30 May 2006, 17:06

Post by CautionToTheWind »

What about linux?
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

CautionToTheWind wrote:What about linux?
I don't have a nvidia card, but isn't there a control panel in linux as well?

eg: terminal command: nvidia-settings

I think remember reading about it on the ubuntu forums.
CautionToTheWind
Posts: 272
Joined: 30 May 2006, 17:06

Post by CautionToTheWind »

The linux control panel does not mention threaded optimization. As such, i get half the FPS on linux than i get on windows. :/
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Post by Auswaschbar »

threaded optimization doesnt hurt spring's performance on linux since I get more fps than on windows
User avatar
rcdraco
Posts: 781
Joined: 22 Nov 2006, 02:50

duh

Post by rcdraco »

Linux runs less crap = less load = better for stuff.
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Post by Comp1337 »

We need a sticky of the threaded optimization thing. Really.
CautionToTheWind
Posts: 272
Joined: 30 May 2006, 17:06

Post by CautionToTheWind »

Auswaschbar wrote:threaded optimization doesnt hurt spring's performance on linux since I get more fps than on windows
Then do you have any idea why i should get much worse performance in linux?
Vaalk
Posts: 1
Joined: 01 Aug 2007, 23:20

Post by Vaalk »

Does anyone know how to disable Threaded Optimization in Vista?
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Post by malric »

CautionToTheWind wrote:
Auswaschbar wrote:threaded optimization doesnt hurt spring's performance on linux since I get more fps than on windows
Then do you have any idea why i should get much worse performance in linux?
What graphics card/drivers do you have ?
User avatar
iamacup
Posts: 987
Joined: 26 Jun 2006, 20:43

Post by iamacup »

yessss, and im getting quad core for the lulz.
hammydude
Posts: 49
Joined: 26 Jun 2006, 20:59

Post by hammydude »

MOTR + 9000

this should replace MOTR #1 as MOTR #1 was finally solved....
Post Reply

Return to “General Discussion”