High MSPT in chunkSave()
kosma opened this issue ยท 5 comments
Version Information
Forge version: forge-1.16.5-36.0.10.jar
Botania version: Botania-1.16.4-411.jar
Modpack: Enigmatica E6 0.3.13
Further Information
Link to profiler results: https://spark.lucko.me/#5Eiq3Gm58m
While investigating possible sources of lag I came upon an unexplained 20 mspt when idle. Profiling led me to Botania using about 25% of tick time (12.5ms) for something related to calling getChunk() inside chunkSave(). The way I can reproduce it on my server is simply:
- Restart the server, wait until TPS stabilizes to around 20-25
- Run the profiler over rcon, with no players online.
Sadly this is a rather big modpack, so I am completely lost in terms of possible causes, or possible solutions.
Can you post a screenshot of the trace expanded to the spot where Botania appears? I'm not really sure where you're referring to.
Nvm, I found it. This is related to #3140
I'm gonna try Botania-1.16.4-411.jar with this patch cherry-picked and see if things improve. Will get back to you on this.