Enormous CPU usage

Enormous CPU usage

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
User avatar
PtaQ
Posts: 186
Joined: 15 Sep 2009, 10:40

Enormous CPU usage

Post by PtaQ »

Any ideas why my cpu fails like some antique shit? It started happening with no reason and now I cant play any bigger games because of this issue. My CPU is: Intel Core quad Q6600 2.40 GHz x4
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Enormous CPU usage

Post by zerver »

overheating?
User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: Enormous CPU usage

Post by SpliFF »

windows? ( heh, heh! couldn't resist :wink: )
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Enormous CPU usage

Post by hoijui »

in case you want any half way usable answers, you have to get much more specific ;-)
you know.. when does it happen, your settings (and don't say you did not change anything, just give setting ok?), ... you know.. think about, think-think about it!
KinetiX
Posts: 8
Joined: 19 Dec 2005, 04:15

Re: Enormous CPU usage

Post by KinetiX »

Hi guys, I'm experiencing the same problem. It's only happened since I upgraded to the newest spring engine and lobby today. I'm on Linux (ubuntu) and since I couldn't find any other way to install, I compiled both from source -Spring 0.81.1.3 and SpringLobby 0.63.

When playing a game, everything starts out fine, but CPU usage gradually climbs until about the 16 minute mark or so it becomes unplayable and by the 20 minute mark it's like 1 frame every few seconds.

I have an athlon 64 x 2 4200+, which obviously isn't a dream machine, but before the spring upgrade it was fine.

Any ideas?

Cheers
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Enormous CPU usage

Post by imbaczek »

post infologs, and in case you have ati graphics, disable reflective/refractive water.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Enormous CPU usage

Post by Auswaschbar »

Also, press alt+b ingame (when it is slow) and observe what is taking most of the cpu time, then report back please.
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: Enormous CPU usage

Post by slogic »

I noticed event on previous version that water rendering (i use dynamic water settings) takes too much (about 14-20%) even if it is not visible in my viewport.
KinetiX
Posts: 8
Joined: 19 Dec 2005, 04:15

Re: Enormous CPU usage

Post by KinetiX »

Hi all, thanks for your replies - I've attached the infolog from my latest game, which like usual started to become unplayable before 20 mins, so I had to unload my units to an ally.

I pressed alt-b, and the 3 biggest CPU users were 'simulation' followed by the 2 'draw' ones.

I'm using an NVidia card, and also on very low settings to try and get a smooth game. ie. no shadows, basic water etc.

Any ideas?

Cheers
Attachments
infolog.txt
(39.3 KiB) Downloaded 19 times
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: Enormous CPU usage

Post by slogic »

As i see that man connected with an older version:

Code: Select all

[      0] Connection attempt from Vrekrer
[      0]  -> Version: 0.81.0.0
and constantly caused desyncs.
User avatar
[mft]Rrrr
Posts: 26
Joined: 12 Oct 2008, 23:10

Re: Enormous CPU usage

Post by [mft]Rrrr »

KinetiX
Posts: 8
Joined: 19 Dec 2005, 04:15

Re: Enormous CPU usage

Post by KinetiX »

After trying a few more times, the thing which is eating up the CPU mid game for me is resoundingly 'Sim Time'. Does anyone know what that is, or have any ideas to reduce its impact?

Thanks in advance
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Enormous CPU usage

Post by zerver »

Sim time makes all objects in the game behave like they should.
FYI, changing game or graphics settings will _not_ help reduce the Sim Time.
KinetiX
Posts: 8
Joined: 19 Dec 2005, 04:15

Re: Enormous CPU usage

Post by KinetiX »

So basically, if the sim time is going nuts there's nothing I can do? Just a bug in the new version of spring?
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Enormous CPU usage

Post by zerver »

Correct. But it does not hurt to try a clean reinstall, disable all widgets, and perhaps install the multithreaded Spring version. Also check if the problem is the same with all mods (use an older version of the mod).
KinetiX
Posts: 8
Joined: 19 Dec 2005, 04:15

Re: Enormous CPU usage

Post by KinetiX »

Hi, thanks for your advice.

SpringLobby was also giving me bad CPU problems, so I changed to qtLobby which is fine. So even though Spring has the same sim-time eating problem which it had before, I can now play games at least without CPU-lagging out completely.
unimatrix
Posts: 18
Joined: 14 Feb 2010, 14:54

Re: Enormous CPU usage

Post by unimatrix »

I can confirm this. SpringLobby is a horrible abomination that should not be presented to the public.

qtlobby is unbelievably better, even on Gnome
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Enormous CPU usage

Post by BrainDamage »

KinetiX wrote:SpringLobby was also giving me bad CPU problems
certain linux distros ( most notably ubuntu ) ship a bugged openal that causes this, both SpringLobby and Spring uses it, so both are equally affected, just for a lobby it's more easily noticeable to eat 100% cpu than Spring ...
if you want to rage, blame on the distro/package maintainers
Post Reply

Return to “Help & Bugs”