2.3.0 Beta Causing server lag when server has full DH support
Recently started a server using the Beyond Depths modpack and installed DH alongside it. The server seemed to have a few performance issues and was causing lag for players while using the DH mod on the server. Since uninstalling from the server and using only client-side, performance has greatly increased so I'm just wondering if other people are finding the same results / know a potential reason this would happen. Any help would be appreciated.
18 Replies
its possible your server is simply not good enough to have DH installed, since it will do constant world generation in the background if nothing is pregenned. try reducing the cpu load with
/dh config common.threadpreset value
and fill in the value using the in-game completion featureThe DH commands just dont seem to work with beyond depths for some reason but we have managed to change the config toml file and have tried this and found it didnt give us much of a performance bump. Server is running 2700x with 16gb of ram, would this be causing issues?
should be fine with not too many people on
Yeah I did think so, there was only 2 of us at the time so that's what's confused me a bit with this. I'm wondering if there's any settings that could help but yeah the threadpreset change didnt seem to help
unless changing the toml didnt actually change ingame idk
did you restart after saving it?
Yeah
DH splits the load between players, so on the same CPU laod, it should behave mostly the same no matter the player count (minus the fact that some player may be loading new chunks, while other sit still)
Yeah yet we had the random lag while in the same chunk and there were no new chunks being loaded ( other than DH trying to gen in the background ) but noone was actively loading anything
What is your server RAM usage?
Maybe GC lag?
Spark results from a 20 min test yesterday

This is with dh?
Doesn't look like it's struggling
I had the same issue, the issue was fixed by just lowering the settings like render distance and the generation rate
In my case the server wasn't working hard but was lagging
I was, weirdly the profiler wasnt lagging but there was definitely lag, server is on symmetrical gig so its not an internet thing either
Are you sure it was server side lag, not client side?
Fairly sure, both players had the lag I'm pretty sure and it was behaving like server-side lag. interactions and stuff not happening and took a few seconds to do anything. Also pretty sure because since disabling on server and only having on client-side then there's been almost no lag
is there a way to check for client-side lag?
just wondering are the /dh commands not working? I thought it was just because my pack but then I went in basic vanilla with dh installed and still didnt have the commands. Im on the stable version not nightly, is that why?
I also am experiencing lag with DH installed server side with 40+ players on
Our world is pre generated but it didn't have DH installed when pre genning so I assume it's still gotta save all the chunks right? Is that where the lag is coming from?
I dont currently have a spark report with this as I had to remove it sorry I'll see if I have my old one still with it on
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Honestly I've been experiencing the same thing, on a friend forge 1.18.2 server if I DH on the server side, huge random lag spikes
usually casually the server to fall behind
they seem to be random, sometimes it produces failed to save chunk errors, but without DH the server is totally smooth and stable
this happens even at the lowest preset, minimal impact