Hello,
I do not have a rather large factory, but occasionally the UPS drops to about 40 for several seconds. I have enabled showing path finding requests in the debug overlay, and the drop in UPS seems to correlate with a path finding request from a biter nest to one part of my factory.
I have disabled all mods (so some parts of my factory aren't working), and the save file is seconds away from an expensive path finding request, which is what the screenshot is from.
[Oxyd] [0.17.59] Intermittent UPS drop on Biter path finding
-
- Manual Inserter
- Posts: 4
- Joined: Sat Jul 27, 2019 1:48 pm
- Contact:
[Oxyd] [0.17.59] Intermittent UPS drop on Biter path finding
- Attachments
-
- LowFpsSoonNoMods.zip
- (11.68 MiB) Downloaded 73 times
-
- LowFpsPathFinding.png (862.36 KiB) Viewed 2504 times
-
- FineFps.png (915.24 KiB) Viewed 2504 times
-
- factorio-current.log
- (9.64 KiB) Downloaded 70 times
Re: [0.17.59] Intermittent UPS drop on Biter path finding
I have found that I get a near Permanente drop of 8 ups when I moved from 0.17.54 to 0.17.59. How ever I am under near constant bitter attack so maybe it's the same bug. The 8 UPS I have lost is almost exactly the same amount I gained when I moved from 0.17.43 to 0.17.54.
Re: [0.17.59] Intermittent UPS drop on Biter path finding
Oxyd will have to say for sure but I suspect it's just "how it is" because you have biters attacking. The gains in previous versions may have been due to bugs in the sleeping logic where biters would go inactive when they weren't supposed to.
If you want to get ahold of me I'm almost always on Discord.
-
- Manual Inserter
- Posts: 4
- Joined: Sat Jul 27, 2019 1:48 pm
- Contact:
Re: [0.17.59] Intermittent UPS drop on Biter path finding
Thank you for the reply. To clarify, the slowdown only really occurs from the nests on the left side of the bottom left lake. I am attacked from other positions continuously and I did not notice the same slowness when I saw path requests from other nests. It seems like this is normal/baseline game behavior (not extreme or intensive) and I have a respectable CPU, so I would expect stable FPS.
Re: [0.17.59] Intermittent UPS drop on Biter path finding
Especially because I do not have a respectable CPU and in my most recent save I have waaay more biter bases than in the screen shot, but no performance drops at all.
Re: [0.17.59] Intermittent UPS drop on Biter path finding
Re: [Oxyd] [0.17.59] Intermittent UPS drop on Biter path finding
This is because the game.map_settings.path_finder.max_steps_worked_per_tick setting is set to 10000 in your save. The default value is 100. Probably one of the mods you're using changed this value, or maybe you changed it yourself using the Lua console.
Either way, the higher the value of this setting, the bigger the UPS impact of pathfinding will be, so this is all working as expected. Try to find the mod that changed it to such a high value and ask the author to reconsider that decision.
Either way, the higher the value of this setting, the bigger the UPS impact of pathfinding will be, so this is all working as expected. Try to find the mod that changed it to such a high value and ask the author to reconsider that decision.
-
- Manual Inserter
- Posts: 4
- Joined: Sat Jul 27, 2019 1:48 pm
- Contact:
Re: [Oxyd] [0.17.59] Intermittent UPS drop on Biter path finding
Oh cool. I was thinking myself that it'd be a good idea to have a way to limit the amount of time spend in path finding per tick.
Thanks for looking in to this, and sorry it wasn't a real bug!
Thanks for looking in to this, and sorry it wasn't a real bug!