rail signals cause huge lags

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.
Post Reply
zggz
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Thu Dec 07, 2017 6:40 pm
Contact:

rail signals cause huge lags

Post by zggz »

Every time when i place rain signal (or rail chain signal) game freeze for about 1 sec. I need thousands of them and it is ruin my game.


It is not depends when i place it manually or with bots.
It happen even when rail don't connected to main rail network
I already have about 40k of them at base
more signals at base make more lags when i place it
no mods affect on this
game version 1.1.109

save with base mod only
6x14 for report.zip
(69.98 MiB) Downloaded 18 times

fix it please.

Loewchen
Global Moderator
Global Moderator
Posts: 8885
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: rail signals cause huge lags

Post by Loewchen »

You have hundreds of trains without path making them all repath on any network change.

zggz
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Thu Dec 07, 2017 6:40 pm
Contact:

Re: rail signals cause huge lags

Post by zggz »

6x14.zip
(74.22 MiB) Downloaded 16 times
Save with all mods that i use. All trains have a path but problem still here.

Bilka
Factorio Staff
Factorio Staff
Posts: 3299
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: rail signals cause huge lags

Post by Bilka »

Congrats on building a rail network that stresses the train pathfinder. I would recommend not to do that. Try having less alternative paths for each train to take. E.g. less than 3 lanes per direction and/or don't use a rail grid.



The debug info is from the show-train-no-path-details option. The steps number should ideally be a lot lower, the default threshold for a "slow path found" is 10000. It is so high due to the high amount of possible alternative paths.

There may be some optimisation for this in 2.0.
Attachments
2024-07-17 09-42-05.mp4
(4.25 MiB) Downloaded 20 times
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

zggz
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Thu Dec 07, 2017 6:40 pm
Contact:

Re: rail signals cause huge lags

Post by zggz »

thank you!

i will plan another design for my base :)

Post Reply

Return to “Technical Help”