Hey all.
I am running a server and a client on the same machine and getting lots of stuttering when DH is generating chunks.
DH with the same settings on a singleplayer world works like butter. But as a separate client and server I'm having issues.
CPU is staying below 70% and GPU below 20% during the stuttering, so I don't think it's a resources problem.
CPU is a 7950X3D, GPU is a 7900 GRE
I've made sure that the server has as much RAM as it wants (12GB max, but it's only using like 6)
Server is Paper MC
Installed DH Support Plugin.
MC version 1.21.10
Disabled all other mods/plugins/shaders.
Haven't tried getting a separate machine as the client, but I'm not sure why that would make it better.
To clarify, by stuttering I mean that the entire screen of Minecraft (but not other windows) freezes for 0.5 - 2 seconds every 1-5 seconds. While frozen I cannot pause the game.
Not sure where to look next or how to figure out what's causing the issue. My gut says that something is going wrong on the client, because why would the whole interface freeze up if it's a server issue? I did try changing the CPU load setting to Minimal Impact, and that seemed to make the stuttering less severe, but again, my CPU has loads of headroom still. (and it runs like butter in a singleplayer world on the "I paid for the whole CPU" setting.
I should also mention that I am on Linux. NixOS.
Any ideas?