[0.15.2] High CPU use on Linux

Bugs that are actually features.
Post Reply
mjibson
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jun 28, 2016 12:21 am
Contact:

[0.15.2] High CPU use on Linux

Post by mjibson »

Running Debian with graphics drivers from nvidia. CPU stays at 800% while in a game. Works fine under Windows on the same machine. 0.14.23 has a similar problem, but limited CPU use to 600%, and is a bit more playable. 0.15 is too slow to play well. GTX 980, i7-5930K.

Loewchen
Global Moderator
Global Moderator
Posts: 8283
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.2] High CPU use on Linux

Post by Loewchen »

Read Performance Issues section in FAQ, provide requested info and the save.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.2] High CPU use on Linux

Post by Rseding91 »

That sounds like a configuration/OS issue on your end. Factorio doesn't even launch enough threads to consume that % of CPU.

Additionally we experience no such issues when running any version on Linux internally.
If you want to get ahold of me I'm almost always on Discord.

seanparsons
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Apr 27, 2017 7:18 am
Contact:

Re: [0.15.2] High CPU use on Linux

Post by seanparsons »

I'm seeing something similar to this, but it's X that is spiking high on a single core. I saw it happen once on 0.15.1, but now I'm on 0.15.2 it seems to be happening near constantly. Never had any issues like this in the 200+ hours I've played in the last month on 0.14.x.

What seems odd is that the game thinks the FPS is fine and dandy, but when this really kicks in I'll be looking at maybe 1FPS.

SQLek
Inserter
Inserter
Posts: 45
Joined: Tue Jun 28, 2016 10:23 am
Contact:

Re: [0.15.2] High CPU use on Linux

Post by SQLek »

Seems like I/O waiting state. How much free ram You have? Can You capture result of "top -bn 1" when misbehavior occur?

mjibson
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jun 28, 2016 12:21 am
Contact:

Re: [0.15.2] High CPU use on Linux

Post by mjibson »

> Read Performance Issues section in FAQ

I don't see a section named "performance issues" or anything similar in the FAQ.

> That sounds like a configuration/OS issue on your end.

Can you suggest some ways to determine this? I'm not sure what configuration I've changed to cause this.

> How much free ram You have? Can You capture result of "top -bn 1" when misbehavior occur?

32G of ram.

Code: Select all

top - 17:16:47 up  5:02,  5 users,  load average: 4.59, 1.56, 0.79
Tasks: 297 total,   1 running, 296 sleeping,   0 stopped,   0 zombie
%Cpu(s):  6.1 us,  1.2 sy,  0.0 ni, 92.4 id,  0.1 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem : 32874836 total, 20836860 free,  7294540 used,  4743436 buff/cache
KiB Swap: 25057276 total, 25057276 free,        0 used. 24838428 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 7774 mjibson   20   0 3672204 1.565g  84468 S 833.3  5.0   4:29.28 factorio
This happens immediately after loading a map.

seanparsons
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Apr 27, 2017 7:18 am
Contact:

Re: [0.15.2] High CPU use on Linux

Post by seanparsons »

The only thing that I find a bit weird is that X is hitting 80% CPU usage on the main menu immediately after starting the game. Which _really_ shouldn't be pushing things hard at all.

Post Reply

Return to “Not a bug”