TPS Spikes
Squidistry opened this issue ยท 4 comments
Version Information
lithium-fabric-mc1.20.1-0.11.2
Causing tps spikes above 1300
Actual Behavior
Caused tps to spike
Reproduction Steps
Install Lithium
Other Information
https://spark.lucko.me/1blXmWAwU1
PalettedContainer.serialize() causing it to spike
Maybe try adding the line
mixin.chunk.serialization=false
to the lithium.properties in the config folder and test again
I had the same TPS spike yesterday on 1.21, it too got down to PalettedContainer.serialize(), it's hard to re-produce since it appears to only occur for me after an hour or two (or a lot of chunk loading).
It is worth mentioning that chunk serialization is slow and the time it takes depends on how complex the chunks are. That means, if they have more mobs or block entities, the server will need more time to save them. And the more chunks the server is waiting on to save, the longer the spikes will become as it tries to work through the backlog.