[2.0.13] CPU is 100-200-250% usage on linux headless server

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Selucia
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Nov 02, 2024 1:20 pm
Contact:

[2.0.13] CPU is 100-200-250% usage on linux headless server

Post by Selucia »

I installed dedicated server on linux with the processor - AMD EPYC 7282 16-core and it's using all 100 and way above CPU for a game that just started
11-02-2024, 15-25-03.png
11-02-2024, 15-25-03.png (10.97 KiB) Viewed 530 times
Could someone help me understand what to do so it would be normal or less laggy.
akay
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Oct 31, 2024 1:56 pm
Contact:

Re: [2.0.13] CPU is 100-200-250% usage on linux

Post by akay »

I think Factorio might be using your CPU to render graphics instead of the GPU.
Selucia
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Nov 02, 2024 1:20 pm
Contact:

Re: [2.0.13] CPU is 100-200-250% usage on linux

Post by Selucia »

akay wrote: Sat Nov 02, 2024 5:18 pm I think Factorio might be using your CPU to render graphics instead of the GPU.
I saw that post but I'm not exactly a linux user myself, I do not know what to do with that
11-02-2024, 19-57-32.png
11-02-2024, 19-57-32.png (14.22 KiB) Viewed 511 times
akay
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Oct 31, 2024 1:56 pm
Contact:

Re: [2.0.13] CPU is 100-200-250% usage on linux

Post by akay »

You should provide a log file.
Selucia
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Nov 02, 2024 1:20 pm
Contact:

Re: [2.0.13] CPU is 100-200-250% usage on linux

Post by Selucia »

Those are logs from server
Attachments
factorio-current.log
(19.02 KiB) Downloaded 20 times
factorio-previous.log
(25.27 KiB) Downloaded 21 times
Loewchen
Global Moderator
Global Moderator
Posts: 9638
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.13] CPU is 100-200-250% usage on linux

Post by Loewchen »

But the server is running normally gameplay vise, full speed no lag?
Selucia
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Nov 02, 2024 1:20 pm
Contact:

Re: [2.0.13] CPU is 100-200-250% usage on linux

Post by Selucia »

Loewchen wrote: Sun Nov 03, 2024 6:54 pm But the server is running normally gameplay vise, full speed no lag?
It's depends on the %CPU load and what I do in game.
It laggs hugely when I shoot for example. Like a lag spike, sometimes I'm just standing still and it goes into 200% CPU and start freezing the game that is slows down quite a lot
Loewchen
Global Moderator
Global Moderator
Posts: 9638
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.13] CPU is 100-200-250% usage on linux headless server

Post by Loewchen »

I don't even know what it means to be above "100 %CPU"? That it's turboing? Generally those low power server cpus are after low power mobile chips the worst to run factorio on, but for a new game I would not expect gameplay impact for a while. Lag when shooting might just be caused by leaving latency hiding.
Selucia
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Nov 02, 2024 1:20 pm
Contact:

Re: [2.0.13] CPU is 100-200-250% usage on linux headless server

Post by Selucia »

Loewchen wrote: Sun Nov 03, 2024 7:45 pm I don't even know what it means to be above "100 %CPU"? That it's turboing? Generally those low power server cpus are after low power mobile chips the worst to run factorio on, but for a new game I would not expect gameplay impact for a while. Lag when shooting might just be caused by leaving latency hiding.
I use AMD EPYC 7282 16-core processor, I don't think it's low power mobile chip.
Like I shown previously in screenshots: here's "top" command in linux which shows usage of processes.
11-03-2024, 21-53-13.png
11-03-2024, 21-53-13.png (9.65 KiB) Viewed 388 times
And, like I said earlier too, in my previous post, sometimes I could stand and do nothing, just looking at belts in the middle of my base, not moving, not shooting, nothing - CPU load goes above 200% and game feels like its 10 FPS and it looks like it as well. You run with lag, you see belts with lag - everything is lagging.
Loewchen
Global Moderator
Global Moderator
Posts: 9638
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.13] CPU is 100-200-250% usage on linux headless server

Post by Loewchen »

Selucia wrote: Sun Nov 03, 2024 7:56 pm I could stand and do nothing, just looking at belts in the middle of my base, not moving, not shooting, nothing - CPU load goes above 200% and game feels like its 10 FPS and it looks like it as well. You run with lag, you see belts with lag - everything is lagging.
It really should not run like this, I'd start by looking at cpu temperatures and frequencies at time of the issues.
Post Reply

Return to “Technical Help”