Loading...
  OR  Zero-K Name:    Password:   

CPU 100%ing

7 posts, 774 views
Post comment
Filter:    Player:  
sort
10 years ago
My quad core CPU is 100%ing on all cores when running the game. Curiously, I'm told that Spring v91 doesn't use more than one core. The number of units on screen doesn't matter, it 100%s from game start to game end.

infolog - http://hastebin.com/omijomoyih.xml

No one responded to this in #sy.

Linux, Debian Testing, ZKL.

Please help.
Thank you.
+0 / -0


10 years ago
This may be naive, but according to the infolog you are actually using "Spring 91.0 (OMP)", that is, Spring 91.0 using Open Multi-Processing (a multiprocessing library).

Why this is the engine version you have, I don't know. It does look like it is supposed to use multiple cores, though the lack of efficiency with which it does so is worrying.
+2 / -0
10 years ago
Hey, Shadowfury333.

That's rather interesting. I'm not sure where I acquired this Spring from (whether from a multiplayer game or the (32bit) Linux static build linked on the ZK download page).

I just tried playing with the static build provided (renamed the '91.0' folder in ~/.spring/engine , made a new one and pasted the contents of the archive there). Problem persists...
+0 / -0
Hi, I know a place where they kept all Spring version, look here: http://springrts.com/dl/buildbot/default/master/91.0/
(but I didn't check whether its OMP version or not :(
+0 / -0
10 years ago
My processor - an i3 2100 - has always run at 100% when playing spring games on linux (Xubuntu 14.04 at the moment). To my knowledge it is because linux builds of spring have OMP, which uses as much processing power as is available. I think it is possible to compile spring without OMP so it will only use 1 core.
+0 / -0


10 years ago
This is a known bug with engine 91.0. OMP is the default build for Linux as built by Spring build system.

You should join the Upgrade Party and petition for upgrading ZK to a current engine, which is "merely" five major versions ahead of 91.0.

(And soon might become six versions when 97.0 is released).

Alternatively, you can spend your days helping find any remaining 96+ bugs in the Bleeding Edge host.
+7 / -0
10 years ago
...
Oh lawd.
xponen - Thanks, will check o.o
TheSponge - Yeah, I'm afraid that if I stick to 91, I might have to do the compile dance after all. :)
Anarchid - Ah, that sounds great; bleeding edge, here we come. n_n
+0 / -0