Possible to offload LOD gen to clients or disable LOD gen on server?

I've installed DH on a modest mini-pc fabric server mc v 1.21.5 that I host a vanilla SMP on for friends.

Previously, I progenerated all the LODs for a large radius around spawn on my desktop cpu and distributed the lods in a zip file to the players.

I was quite excited to find out about server side support so we can skip that step, however when I installed DH on my server I noticed the CPU:
Intel Processor N100
4 Cores 4 Threads
Turbo Frequency 3.4GHz

was pegged at 100% with light travel and I was losing TPS getting:
[10:33:41] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 14648ms or 292 ticks behind
[10:34:31] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2065ms or 41 ticks behind
[10:34:55] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2000ms or 40 ticks behind
[10:38:14] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2348ms or 46 ticks behind

in my console.


I realize this is because the mod is now generating the LODs server side on my weak server CPU, however I have a very strong symmetrical 2.5gbps uplink so I was hoping I'd be able to either:

  1. Have the clients process LODs on their CPU and upload the results (I realize this could be exploited, but for my needs its fine as I know all the players on my server.)
or more likely

  1. Do not generate new LODs server-side and only use what is already available on the server and serve those - Since I progenerated a large area around spawn, just serving that to players would suffice and then their client side DH can generate and store any outside the progenerated radius.
Was this page helpful?