Hello, for the past few months we've been trying to debug what is the cause of our fps dips, as they occur exactly every 20-30 seconds, and results in nearly 30-40 fps being consumed by it.
We've been able to identify that it is CLE as the CELoop takes 25 seconds to complete, as well as disabling it removes the dips.
Here is a visualization of the dips during peak hours.
This specific server has a very high entity count (AU1)
Most of these entities are in cargo of storage, not parentless.
The exception are base objects, which make up a small % of the entity count
We spawn these with flag ECE_NOLIFETIME, and delete them with our own method (proven to have no effect on this)
In my mind this would make CLE do less work when looping through them.
I've tried looking into a solution with the tools provided, but class CEApi is extremely limited, and I honestly just don't really know the extent at how the CLE works, if it's still looping through items in cargo, or if the base objects could be ignored by CLE by some way.
Any info would be greatly appreciated, thanks.
Also as Dan pointed out by matching our CE Logs to Grafana timestamps, you can see our logs say
16:22:16.504 players: 59, loot: 191108, infected: 190, animals: 48
191108 is an accurate ItemBase count for that server, so I guess the problem just stands that it's looping through all items, many of which are items that do not require any updating as theyre sitting in cargo. I should mention while we're on that topic also, that we have Food Decay and Temperature updating of items disabled.