[0.15.28] Multiplayer - do pumps cause lag?

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.
Wackerstamfer
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Sat Oct 22, 2016 9:38 pm
Contact:

[0.15.28] Multiplayer - do pumps cause lag?

Post by Wackerstamfer »

Been playing railworld multiplayer with a friend and after ~75h the game rapidly grinds to a halt and becomes unplayable.

We know about the known lag causes etc and we'll lower the game speed for now. But what I was wondering... The only thing we really did was upgrading our oil base, which included pumps... massive amounts of pumps (1 pump between each pipe segment).

Is the strain of pumps on UPS/FPS that high?
How can I check what entity is the major cause?

in short, how do I debug this?

*symptoms: Freezes, no response what so ever, no messages. When it does get responsive it seems teleportation and a time-machine are suddenly researched. As I teleport back where I came from.
Patashu
Fast Inserter
Fast Inserter
Posts: 130
Joined: Mon May 08, 2017 11:57 pm
Contact:

Re: [0.15.28] Multiplayer - do pumps cause lag?

Post by Patashu »

You can use debug mode to check what is taking the most time during updates:

https://wiki.factorio.com/Debug_mode

F4
Find show_time_used_percent, turn it on

Image

Then you can disconnect different parts of your base from the power grid one by one, and verify the UPS drop from each one.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: [0.15.28] Multiplayer - do pumps cause lag?

Post by mrvn »

Wackerstamfer wrote:We know about the known lag causes etc and we'll lower the game speed for now. But what I was wondering... The only thing we really did was upgrading our oil base, which included pumps... massive amounts of pumps (1 pump between each pipe segment).
Have you actually measured the advantage of that many pumps? With the old pumps the optimal solution was a pump every 17 pipes iirc. With underground pipes that is quite some distance already. Now pumps are faster so it should be less pipes between pumps. But only one pipe seems extreme.

And hey, you are playing railworld. Where are your trains with fluid wagons?
Wackerstamfer
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Sat Oct 22, 2016 9:38 pm
Contact:

Re: [0.15.28] Multiplayer - do pumps cause lag?

Post by Wackerstamfer »

It is indeed faster with more pumps, for sure between storage tanks.

2-6-2 fluid trains are unloading at station and pumped to storage-->cracking.

but this is offtopic and should be discussed elsewhere. :ugeek:
Wackerstamfer
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Sat Oct 22, 2016 9:38 pm
Contact:

Re: [0.15.28] Multiplayer - do pumps cause lag?

Post by Wackerstamfer »

Debug mode shows me that in single player mainly entities are using up my cpu:
entity update 14.9xx/13.8xx/18.8xx / allmost equal to game update.

Not able to check with MP yet but SP shows consistent 60 FPS/UPS.

Is there a way to see what entities are more demanding? besides turning off the power?





Although this is not the place, I couldn't resist to check it out...
mrvn wrote: Have you actually measured the advantage of that many pumps?
Time to transfer 25k water for setup:
A = pump/pipe/pipe/pipe/pump --> 16s
B = pump/pipe pipe/pump/ pipe pipe/pump --> 14s
C = pump/pipe/pump/pipe/pump/pipe/pump --> 9s

no-brainer :roll:
Try it
Post Reply

Return to “Technical Help”