[A17] When the stockpile is full, a lag occurs. (poor performance)

Started by East, June 02, 2017, 10:22:18 PM

Previous topic - Next topic

East

1.
10 After the man has ordered the transport of all the stones (more than 900) of 'all map'

2.
When the stockpile is full, a lag occurs.
And as we increased the stockpile further, the lag disappeared.

3.
I think this is one of the causes of lag in late game.
Please check this out for a later game lag reduction.
If only the addition of stockpile can be solved, then you may be able to reduce the lag by improving the algorithm.
I guess there is a lot of pets, and if the animal haul is trained, this problem will get worse.

4. video
https://youtu.be/LLArTNgPcXE

5. save
https://www.dropbox.com/s/p0392tx16n3cf88/2.zip?dl=0

Trylobyte

I've noticed this as well.  It's somewhat hard to reproduce unless the colony is already fairly large and has a lot going on, but when it happens it's extremely noticeable - My colony was going from smooth running to stuttering and stalling several times a second when my dumping stockpile got full.

I'd offer my savegame, but unlike the OP's mine uses mods.  I was debating whether or not to post because of this, but hey, looks like it's not just me.

ReZpawner

This may very well be the problem we've all been looking for. Hope Tynan and Ison checks this out.

ison

There was a bug which made pawns scan all things even if they've already found a good target. It should now be much faster. Please see if the lag is gone once A18 is out. Thanks for reporting.