Lagg when biter entity count > 10K or so

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
johnny0021
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Aug 22, 2020 7:40 am
Contact:

Lagg when biter entity count > 10K or so

Post by johnny0021 »

So I'm renting a server where the CPU util is max 20% (during spike" and ram is only at 5% usage.
This is running an OARC + K2 mod, so the generated chunk number is a bit higher then vanilla.

Everything is fine until the biters start to be generated in masses, and reaches around 10K count.
After that, with the utilization of hardware remaining the same-ish, we start to get laggs, spikes, and just becoming unplayable.

We tested and console-killed all bugs on generated chunks, and that fixed it. When regenerated the unused chunks, bites came back, lagg came back.

My question is really, what can you do about something like this? Hardware is definitely keeping up on both server and peer ends.
Definitely not played without bitters.

Are you running a server? how do you do it?

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

Re: Lagg when biter entity count > 10K or so

Post by Klonan »

johnny0021 wrote:
Thu Sep 24, 2020 4:30 pm
Hardware is definitely keeping up on both server and peer ends.
It doesn't sound like it, sounds like you are hitting the CPU limit. All Biter logic is single threaded, so even if you have 16 cores, the max CPU usage is 1/16 of that.

Post Reply

Return to “Technical Help”