Late game slowdown, entity update

Bugs that are actually features.
wjdp
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Apr 16, 2017 5:28 pm
Contact:

Late game slowdown, entity update

Post by wjdp »

I've got a slowdown with a high entity update count (~50). I'm playing with the aircraft mod, the slowdown started after annoying many biters. Depending on where I am the UPS is between 10 and 20.

Image
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5410
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Late game slowdown, entity update

Post by Klonan »

Thanks for the report,

However this isn't really a bug, you are making the game do a lot of work by aggro-ing many biters, so a slow in game performance is quite expected
wjdp
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Apr 16, 2017 5:28 pm
Contact:

Re: Late game slowdown, entity update

Post by wjdp »

After a bit of searching I found the following command to remove all mobile enemies: `/c game.forces["enemy"].kill_all_units()`. After running this i'm back up to 60 UPS.
wjdp
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Apr 16, 2017 5:28 pm
Contact:

Re: Late game slowdown, entity update

Post by wjdp »

Klonan wrote:Thanks for the report,

However this isn't really a bug, you are making the game do a lot of work by aggro-ing many biters, so a slow in game performance is quite expected
Wasn't 100% sure if this counted, feel free to WONTFIX. As mentioned after killing all biters performance is restored.

What I wonder if if simulating all the biters at distance is the best course of action in this case. After a number of active biters reaches a limit should it idle/destroy them? Apologies, I've not read much about how the game handles far away entities.
Post Reply

Return to “Not a bug”