Page 1 of 1

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

Posted: Sat Nov 02, 2024 1:30 pm
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 541 times
Could someone help me understand what to do so it would be normal or less laggy.

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

Posted: Sat Nov 02, 2024 5:18 pm
by akay
I think Factorio might be using your CPU to render graphics instead of the GPU.

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

Posted: Sat Nov 02, 2024 5:57 pm
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 522 times

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

Posted: Sat Nov 02, 2024 8:50 pm
by akay
You should provide a log file.

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

Posted: Sun Nov 03, 2024 9:22 am
by Selucia
Those are logs from server

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

Posted: Sun Nov 03, 2024 6:54 pm
by Loewchen
But the server is running normally gameplay vise, full speed no lag?

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

Posted: Sun Nov 03, 2024 7:17 pm
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

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

Posted: Sun Nov 03, 2024 7:45 pm
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.

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

Posted: Sun Nov 03, 2024 7:56 pm
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 399 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.

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

Posted: Sun Nov 03, 2024 8:24 pm
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.