Original Post — Direct link

My friend and I have a world we've been playing on for close to 500 hours (some of that is AFK time, but a lot of it is actual play time). We've reached space in Space Exploration, but just barely. Our world isn't anywhere close to what I'd call "crazy" in comparison to what I've seen online.

Unfortunately, the world has become unplayably slow on my dedicated server. I actually just upgraded server hardware, from an old Dell PowerEdge to a somewhat newer Fujitsu rack server. Specs are 2x Xeon 2.6 GHz processors, 32 logical cores total. 128 GB RAM (1600 MHz DDR3 server memory, I know it's a bit slow). When we run the map on the server, the game feels like it's running at about 25 UPS. Trains take *forever* to accelerate, and you can see each individual sprite frame as they rotate around curves. The latency is super low: 4 ticks, and the game actually says "60/60" for FPS/UPS.

If I save the map and run it in singleplayer on my gaming rig (5 GHz i7-8086K, 2070 Super, 16 GB DDR4), it usually says around 54/54, and feels *incredibly* fluid and smooth compared to the server.

Here's a video of singleplayer (video is 30fps, but you can clearly see the train is at nearly full acceleration at 50+ UPS): https://streamable.com/dldxy

And here's a video of the server: https://streamable.com/4y01i . It looks like it's being played back in slow motion, but that's realtime.

Why is the dedicated server so much worse (yet it shows 60?)? Is there a way to tell what part of our world is causing the most UPS drop? The only large number in the timing debug was "Entity" at around 9ms (rest were all below 1), but 9ms shouldn't cause a UPS drop given that anything under 16.67 is still 60 UPS.

External link →
almost 4 years ago - /u/Klonan - Direct link

Your client is running at 60UPS, but the server isn't.

A 2.6 GHz Xeon with 1600Mhz memory is not very well suited to running Factorio, you would be better with a lower core count processor with higher clocks (like your home PC).