Page 1 of 1

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

Posted: Wed Jun 10, 2020 3:21 pm
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.

Re: 18.31 FPS/UPS Drop of 18.30 Savegame

Posted: Wed Jun 10, 2020 4:15 pm
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.

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

Posted: Wed Jun 10, 2020 5:11 pm
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.

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

Posted: Wed Jun 10, 2020 5:15 pm
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.

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

Posted: Wed Jun 10, 2020 7:30 pm
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

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

Posted: Thu Jun 11, 2020 2:50 pm
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!