[2.0.16] Turret entities have spiky UPS impact with many activating/deactivating turrets across surfaces

Bugs that are actually features.
Ylwhrt
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 25, 2024 4:24 am
Contact:

[2.0.16] Turret entities have spiky UPS impact with many activating/deactivating turrets across surfaces

Post by Ylwhrt »

turret UPS
turret UPS
11-09-2024, 18-09-08.png (81.13 KiB) Viewed 501 times
name on the tin, i have 9 ships constantly moving back and forth, with at least 4 always active, plus my nauvis turrets and gleba turrets (plus a biter jail on nauvis where biters still spawn but are instantly killed by laser turrets), the spikes happen every 5-20 seconds and its usually just 1 or 2 frames.

I have tested this across 2 machines

save attached.

EDIT:Issue still present in 2.016 experimental
Attachments
123.zip
(37.08 MiB) Downloaded 16 times
Ylwhrt
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 25, 2024 4:24 am
Contact:

Re: [2.015-2.016]Turret entities have spiky UPS impact with many activating/deactivating turrets across surfaces

Post by Ylwhrt »

yea so some more testing, i cant really seem to find some thing weird im doing that seems to be outside the norm, i tried first deleting my biter jail, then deleting biters in general on nauvis, then i deleted enemies on gleba, still no dice still having the issue, it does go away if i delete literally all force owned entites on every surface but thats less then helpful.
Ylwhrt
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 25, 2024 4:24 am
Contact:

Re: [2.015-2.016]Turret entities have spiky UPS impact with many activating/deactivating turrets across surfaces

Post by Ylwhrt »

i have narrowed it down to the ship "Rocinante" in my save, if i just delete the whole ship with commands (and just this ship, which doesn't have that many turrets or turret priorities) the UPS spikes just go away. Just trimming stuff off however i cant seem to fix it, the fact that this ship, with just gun turrets and rocket launchers causes this but my MUCH larger ship with lasers, gun turrets, railguns and rocket launchers all with different targeting priorities and even some railguns with programmatic targeting priorities doesn't makes me next to certain that there has to be a bug afoot, deleting just this ship gets rid of the stutters on 3 systems, w10 pc, w11 laptop, and a ubuntu 22.04 home media server all experience this issue
Ylwhrt
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 25, 2024 4:24 am
Contact:

Re: [2.015-2.016]Turret entities have spiky UPS impact with many activating/deactivating turrets across surfaces

Post by Ylwhrt »

ok i managed to get the spikes to go away by deleting every collector and every turret on the ship and undoing that, deleting any group of them individually doesn't work (all gun turrets but nothing else, etc) so maybe a bugged interaction with turrets and collectors in close proximity?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14909
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.16] Turret entities have spiky UPS impact with many activating/deactivating turrets across surfaces

Post by Rseding91 »

Thanks for the report however I'm not seeing anything here to work on.
If you want to get ahold of me I'm almost always on Discord.
Consumefudge
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Dec 31, 2024 3:55 pm
Contact:

Re: [2.0.16] Turret entities have spiky UPS impact with many activating/deactivating turrets across surfaces

Post by Consumefudge »

I just wanted to pop in and let OP know that they weren't the only one having this issue. Even more concerning in OP's case, the amount of turrets they have active is only a fraction of mine. viewtopic.php?f=18&t=125406

Mine seems to hit some threshold with some amount of ships moving where the turret usage just absolutely spikes to the max, doubling/tripling in update time, while active turrets is only increasing by 10-20% in that same time frame.
Post Reply

Return to “Not a bug”