restrict spring to run on one core in linux

restrict spring to run on one core in linux

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
IM back!
Posts: 6
Joined: 27 Apr 2008, 18:17

restrict spring to run on one core in linux

Post by IM back! »

Hello all,

how do you restrict spring to run on one core in linux? because after 10 minuets of playing spring suddenly gets really slow (<1 fps) even when I'm far away from any rendered units.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: restrict spring to run on one core in linux

Post by LordMatt »

Spring is a single threaded application, so it only uses one core by default.
IM back!
Posts: 6
Joined: 27 Apr 2008, 18:17

Re: restrict spring to run on one core in linux

Post by IM back! »

then why is it suddenly getting so slow?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: restrict spring to run on one core in linux

Post by LordMatt »

Is something else competing for CPU? You should give details about your system and OS setup.
IM back!
Posts: 6
Joined: 27 Apr 2008, 18:17

Re: restrict spring to run on one core in linux

Post by IM back! »

kubuntu 8.10 kde 3
AMD 5200 2x
nvidia 7200gs :roll:
kde,spring all running on one x server
no other stuff running
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: restrict spring to run on one core in linux

Post by Forboding Angel »

7200gs? Ouch, that's gotta hurt.
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: restrict spring to run on one core in linux

Post by slogic »

IM back! wrote:...(<1 fps) even when I'm far away from any rendered units.
I think it is a bug in Spring, because in the middle of the game with 3 AIs having HD3850 i zoomed camera to near floor & framerate did not changed at all rating at ~43 FPS!
IM back!
Posts: 6
Joined: 27 Apr 2008, 18:17

Re: restrict spring to run on one core in linux

Post by IM back! »

that's what I would think as well but it hapens suddenly i mean its 40 fps one second and 1 the next
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: restrict spring to run on one core in linux

Post by aegis »

what mod?
IM back!
Posts: 6
Joined: 27 Apr 2008, 18:17

Re: restrict spring to run on one core in linux

Post by IM back! »

all iv tryed: BA, EE, spring 1944
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: restrict spring to run on one core in linux

Post by jK »

try to increase your swap? (spring eats your ram)
IM back!
Posts: 6
Joined: 27 Apr 2008, 18:17

Re: restrict spring to run on one core in linux

Post by IM back! »

that would hard, because id have to resize a partition. Iv got 2GB of ram and 1GB of swap. ill try monitoring my ram while playing a spring game and then report back.
Post Reply

Return to “Help & Bugs”