[0.10.2][slpwnd] FPS drop when trains launched 30 -> 19

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
erikem
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Thu Jun 12, 2014 8:40 am
Contact:

[0.10.2][slpwnd] FPS drop when trains launched 30 -> 19

Post by erikem » Sat Jun 28, 2014 4:37 pm

In the save file https://dl.dropboxusercontent.com/u/164 ... ect_05.zip I have on average FPS 30 until trains are lauched.

My FPS when trains are stopped:
Image

When I launch the trains (I think 7 in total) by addin missing rails path near the player FPS gradually goes down to an average of 19 and then stay in between 18.0 and 19.7

My FPS ~30 seconds after I have laucnhed trains (connected rails):
Image

Quite surprising that such small amount of trains on a pretty simple rail network would cause so much lag.

PC specs: https://dl.dropboxusercontent.com/u/164 ... 20Spec.txt

All game options designed to increase FPS are turned on.

theit8514
Inserter
Inserter
Posts: 45
Joined: Sun Apr 20, 2014 2:11 am
Contact:

Re: [0.10.2] FPS drop when trains launched 30 -> 19

Post by theit8514 » Mon Jun 30, 2014 3:15 am

Probably the best idea to include the numbers on the left hand side in debug. It shows what the ticks are being spent on and can be used for diagnostics.

User avatar
erikem
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Thu Jun 12, 2014 8:40 am
Contact:

Re: [0.10.2] FPS drop when trains launched 30 -> 19

Post by erikem » Mon Jun 30, 2014 3:34 pm

No problem if that helps =)
Image
Image

slpwnd
Factorio Staff
Factorio Staff
Posts: 1836
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.10.2][slpwnd] FPS drop when trains launched 30 -> 19

Post by slpwnd » Wed Jul 09, 2014 3:53 pm

Thanks for a good report. There were essentially 3 problems causing this:
1) inefficiency in train movement collision check mechanism
2) too much smoke from the locomotive
3) inefficiency in smoke movement mechanism

So we have tweaked all three of them for 0.10.3 and the problem is now much less serious. There will be further improvements in the future when we have a better smoke animation (so there can be less of it for instance).

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users