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?
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.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%
Loewchen wrote: Wed Apr 16, 2025 9:10 pm I believe this is just the server performance being the limiting factor
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.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."
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.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.
Yes, you would have to install the normal version on it.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
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.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
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 threadsLoewchen wrote: Thu Apr 17, 2025 10:54 amYes, you would have to install the normal version on it.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
Alternatively check if the low fps issue persist if you run the game at half speed with the command: /c game.speed = 0.5
Parts of Factorio are bound by a single thread, parts are bound by memory latency and/or throughout.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