[0.18.31] FPS/UPS Drop of 18.30 Savegame (wave defense)

This subforum contains all the issues which we already resolved.
Alt3Rn4te
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jun 10, 2020 3:12 pm
Contact:

[0.18.31] FPS/UPS Drop of 18.30 Savegame (wave defense)

Post by Alt3Rn4te »

Hello there,

Issue on version 0.18.31.

I am facing huge FPS/UPS drops in this savegame, created yesterday out of version 18.30.
I downgraded back to 18.30 and it's running fine again, around 60 FPS/UPS.
Going back up to version 18.31 it's causing my FPS/UPS to drop instantly to ~0.4.

Specs:
AMD Ryzen 5 2600
nVidia GeForce 1660
16 GB RAM
SSD
Win10 Pro

Hope this helps.
Regards.
Attachments
MULTI.zip
fine in 18.30 - unplayable in 18.31
(23.97 MiB) Downloaded 142 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3026
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: 18.31 FPS/UPS Drop of 18.30 Savegame

Post by boskid »

There is huge load near Lua doing pathfinder requests. Klonan says it is should fix itself after config migration finishes and so it is not a bug.
Klonan wrote:ups will improve after 30 seconds or so
its just a config changed migration to make sure the map is valid
For now i will move this to Not a bug, but because for me it migrates already like 15 minutes or more, i will ask him to look at this just in case.

-- edit:
It will stay in bug reports because this is really too slow.
Alt3Rn4te
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jun 10, 2020 3:12 pm
Contact:

Re: [0.18.31] FPS/UPS Drop of 18.30 Savegame (wave defense)

Post by Alt3Rn4te »

Sadly it's not catching itself up after 30 seconds.

As I mentioned, on 18.30 it is really running well. It has to be something within the patch.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3026
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.31] FPS/UPS Drop of 18.30 Savegame (wave defense)

Post by boskid »

Well, issue is with script within save file itself, running that save file in 0.18.31 has the same effect as running in 0.18.30 with any extra mod enabled: will run configuration changed routine that is doing a lot of pathfinder requests.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5284
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.18.31] FPS/UPS Drop of 18.30 Savegame (wave defense)

Post by Klonan »

Thanks for the report,

I added some rate limiting to the path requests, so it will prevent the massive script time usage spent on pathing calls when the pathfinder is busy.

Here is a save game with the updated script:
MULTI.zip
(20.53 MiB) Downloaded 166 times
Please let me know if it works alright
Alt3Rn4te
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jun 10, 2020 3:12 pm
Contact:

Re: [0.18.31] FPS/UPS Drop of 18.30 Savegame (wave defense)

Post by Alt3Rn4te »

Hello there,


it is working fine right now within 18.31 on the same machine.


Edit: We even get attacked again after ~150 Days of silence.

Thnaks guys!
Post Reply

Return to “Resolved Problems and Bugs”