[1.1.110] Train pathing taking a long time / Causing 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.
User avatar
Locane
Fast Inserter
Fast Inserter
Posts: 124
Joined: Fri Jan 04, 2019 8:46 am
Contact:

[1.1.110] Train pathing taking a long time / Causing lag?

Post by Locane »

I've never built a train block base before; this is my first time. I'm finding it to be in general not worth it - there's too many problems with stopped trains, fuel issues, intersection problems, one signal is missing, etc.

The save we have is SE + K2, and I've got a massive train network of intersections with all-left-turns to help prevent train lockups; just recently it started taking a really long time to calculate train pathing for some reason - this happens intermittently:

Image

The total Trains value reaches 10-11 sometimes, then falls back down to 1 / 1.2 and is fine for awhile, then spikes again. This is a dedicated server hosted at Bisect.

I have a ton of trains and a ton of track, but I'm not sure what changed all of a sudden to cause this much lag?

Save:
https://drive.google.com/file/d/186KPnV ... sp=sharing
User avatar
Locane
Fast Inserter
Fast Inserter
Posts: 124
Joined: Fri Jan 04, 2019 8:46 am
Contact:

Re: [1.1.110] Train pathing taking a long time / Causing lag?

Post by Locane »

Server stats:
Image
User avatar
Locane
Fast Inserter
Fast Inserter
Posts: 124
Joined: Fri Jan 04, 2019 8:46 am
Contact:

Re: [1.1.110] Train pathing taking a long time / Causing lag?

Post by Locane »

I think I found the problem, and I think this might be a bug involved with how trains decide which stop to go to - I have a train sitting at one stop set to "Inactivity 5" which is constantly refreshing because it's getting single ore globs, and another station is set to max train 1, and this train is flickering between the choices for it.

I'm not totally sure what's causing this, but reviewing all my copper stops and limiting them to 1 train makes it more clear where a train should go, and that helped a lot.

https://www.youtube.com/watch?v=W5x5w0Ncmyw
User avatar
Nosferatu
Filter Inserter
Filter Inserter
Posts: 251
Joined: Fri Jan 20, 2017 4:48 pm
Contact:

Re: [1.1.110] Train pathing taking a long time / Causing lag?

Post by Nosferatu »

Don't disable stations. Disabling causes all trains enroute to instantly stop and repath.
Set them to max trains zero instead.
Post Reply

Return to “Technical Help”