Frequent server lag/freezes with DHSupport plugin
I'm running a paper server on 1.21.4 and was trying to get the DHSupport plug-in to work. It does generate LODs and everything successfully but I'm having big performance issues on the server - every like 10-20 seconds the server will freeze up (mostly mobs and stuff will freeze for a second) and then it will continue. Based on that I suspect it's a memory issue, which makes sense as unfortunately the server only has 8GB ram total (I dedicate 6 to just the server). Might just be that thats not enough ram to run DH which if that's the case then that's alright - but if there's anything I can do to improve performance I'd love to try it.
5 Replies
Can you try reducing the schedular_threads value in the config? It's at the bottom.
I have a Paper server running latest nightly with just 6 GBs as well, and it has a consistent 20 TPS 🤔
With 2 scheduler threads, mind you
Have you changed anything in the config, or is it all default?
All default
CPU has 8 threads and its not doing anything else so idk why 2 threads for DH would be an issue
I might try reducing it to 1 tho
Oh actually I think I reduced the max distance in the config from 1024 to 512 but I didn't notice a difference
And you're on a recent version?
Yeah, plugin was the newest release from the gitlab (think it was even a version newer than what was on modrinth)
Don't think it was nightly tho maybe that's worth a try