Page 1 of 2
[2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 3:43 pm
by orestlenczyk
Hi
Can you please help debug my issue? It might be connected to about 20k of logistic robots, not sure

Can you tell me if attached info is enough to determine what is causing the lag?
Re: high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 7:03 pm
by orestlenczyk
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 7:08 pm
by Loewchen
Does the issue persist when running the save in single player?
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 7:16 pm
by orestlenczyk
Just checked, in single player I have both UPS and FPS at 46
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 7:42 pm
by Loewchen
Post the screenshot and log of that session. And post a server log if you have access to it.
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 8:36 pm
by orestlenczyk
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 9:10 pm
by Loewchen
I believe this is just the server performance being the limiting factor and the save file going beyond what it can handle. I would not have expected the server to be that much slower than the client hardware though, so I'd check the servers cpu temperature.
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 9:44 pm
by orestlenczyk
fan1: 3400 RPM
fan2: 3400 RPM
CPU: +72.0°C
GPU: +59.0°C
temp3: +53.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +0.0°C
temp8: N/A
do you believe that server cpu might be a limiting factor of client fps? it is little surprising to me
server ups is even higher than client ups
server load is 2-3 per 8 cores, which is not even 50%
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 9:58 pm
by Loewchen
orestlenczyk wrote: Wed Apr 16, 2025 9:44 pm
do you believe that server cpu might be a limiting factor of client fps? it is little surprising to me
server ups is even higher than client ups
server load is 2-3 per 8 cores, which is not even 50%
Yes, the frame time is just high because it's waiting for the update which comes from the server. Try running the save in single player on the server machine if that is possible and post a screenshot of that.
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 10:33 pm
by Jap2.0
Loewchen wrote: Wed Apr 16, 2025 9:10 pm
I believe this is just the server performance being the limiting factor
The opposite, rather: this seems like a classic case of "you can barely keep up with the server so your computer is dropping frames to make sure the simulation doesn't fall behind."
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 10:51 pm
by Loewchen
Jap2.0 wrote: Wed Apr 16, 2025 10:33 pm
The opposite, rather: this seems like a classic case of "you can barely keep up with the server so your computer is dropping frames to make sure the simulation doesn't fall behind."
Not based on the screenshots, the client is ahead in updates, does not jump any frames and latency is in the single digits. Op could try to slow down the server though just to rule out a really unlucky screenshot timing.
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 11:24 pm
by Jap2.0
Loewchen wrote: Wed Apr 16, 2025 10:51 pm
Not based on the screenshots, the client is ahead in updates, does not jump any frames and latency is in the single digits. Op could try to slow down the server though just to rule out a really unlucky screenshot timing.
Oh there's a thing where if the server is running <60 UPS and the client can keep up the client displays 60 UPS instead of the actual speed the server is running at, isn't there.
You might be right, something isn't adding up in my head but I can't quite place it.
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Wed Apr 16, 2025 11:39 pm
by Jap2.0
On a laptop with a CPU very similar to the server (slightly weaker) I get about 40 FPS/UPS (30 when on battery).
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Thu Apr 17, 2025 7:24 am
by orestlenczyk
so you are telling me, that server is a bottleneck? So why factorio is not utilizing whole cpu?
> Try running the save in single player on the server machine if that is possible and post a screenshot of that.
Unfortunately that would not be possible, server does not have a gui, it is running headless factorio only
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Thu Apr 17, 2025 10:54 am
by Loewchen
orestlenczyk wrote: Thu Apr 17, 2025 7:24 am
Unfortunately that would not be possible, server does not have a gui, it is running headless factorio only
Yes, you would have to install the normal version on it.
Alternatively check if the low fps issue persist if you run the game at half speed with the command:
/c game.speed = 0.5
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Thu Apr 17, 2025 12:58 pm
by orestlenczyk
Actually I was able to narrow down the issue to 250k idle logistic bots on Fulgora. 20k of them were waiting for free roboport slots. After placing them in storage chests, FPS/UPS is 60/60 again.
But I still have doubts, how server can be the bottleneck, if load was never higher than 3 per 8 cores
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Thu Apr 17, 2025 1:12 pm
by Rseding91
orestlenczyk wrote: Thu Apr 17, 2025 12:58 pm
Actually I was able to narrow down the issue to 250k idle logistic bots on Fulgora. 20k of them were waiting for free roboport slots. After placing them in storage chests, FPS/UPS is 60/60 again.
But I still have doubts, how server can be the bottleneck, if load was never higher than 3 per 8 cores
CPU core count usage is 1 part of the entire computers ability to run programs. It's simply an easy number for the operating system to show compared to everything else that it's doing.
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Thu Apr 17, 2025 1:44 pm
by orestlenczyk
What other factors would you consider? I am working in IT for 15 years, and that would be my first case where server CPU is bottleneck and underutilized at the same time
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Thu Apr 17, 2025 2:11 pm
by orestlenczyk
Loewchen wrote: Thu Apr 17, 2025 10:54 am
orestlenczyk wrote: Thu Apr 17, 2025 7:24 am
Unfortunately that would not be possible, server does not have a gui, it is running headless factorio only
Yes, you would have to install the normal version on it.
Alternatively check if the low fps issue persist if you run the game at half speed with the command:
/c game.speed = 0.5
I have speed up the game to 2.0. FPS/UPS were 10/100, and the cpu usage 80% on main thread, and just 10% on other threads
Re: [2.0.43] high UPS, low FPS, low GPU usage
Posted: Thu Apr 17, 2025 11:46 pm
by Jap2.0
orestlenczyk wrote: Thu Apr 17, 2025 1:44 pm
What other factors would you consider? I am working in IT for 15 years, and that would be my first case where server CPU is bottleneck and underutilized at the same time
Parts of Factorio are bound by a single thread, parts are bound by memory latency and/or throughout.