Page 1 of 2

dual core question

Posted: 26 Jul 2007, 20:55
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?

Posted: 26 Jul 2007, 21:01
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.

Posted: 26 Jul 2007, 21:06
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

Posted: 26 Jul 2007, 21:19
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.

Posted: 27 Jul 2007, 02:43
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.

Posted: 27 Jul 2007, 02:44
by AF
goto task manager and right click on the spring.exe process.

Posted: 27 Jul 2007, 05:44
by Muzic
Nvidia help.

Right Click on Desktop>Properties>Settings>advanced>XXXCARD>Performance and Quality Settings>Threaded Optimaztion>Off

Re: dual core question

Posted: 27 Jul 2007, 14:44
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?

Posted: 27 Jul 2007, 16:58
by AF
The simulations runs at 30 ticks per game second.

The actual rendering of the simulation is different though.

Posted: 27 Jul 2007, 22:58
by CautionToTheWind
What about linux?

Posted: 28 Jul 2007, 00:01
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.

Posted: 28 Jul 2007, 12:10
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. :/

Posted: 28 Jul 2007, 15:10
by Auswaschbar
threaded optimization doesnt hurt spring's performance on linux since I get more fps than on windows

duh

Posted: 29 Jul 2007, 10:53
by rcdraco
Linux runs less crap = less load = better for stuff.

Posted: 29 Jul 2007, 11:51
by Comp1337
We need a sticky of the threaded optimization thing. Really.

Posted: 29 Jul 2007, 13:40
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?

Posted: 01 Aug 2007, 23:24
by Vaalk
Does anyone know how to disable Threaded Optimization in Vista?

Posted: 02 Aug 2007, 01:35
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 ?

Posted: 02 Aug 2007, 04:25
by iamacup
yessss, and im getting quad core for the lulz.

Posted: 02 Aug 2007, 06:02
by hammydude
MOTR + 9000

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