Severe performance drop (6 CPS) during DH pregeneration on dedicated server
PerformanceDH 2.4Fabric/QuiltMC 1.21.x
Hi everyone,
I'm running a Cobbleverse Fabric server and experiencing extremely low CPS when pregenerating with Distant Horizons.
Context: I initially pregenerated an 8000-block radius using Chunky (took ~14 hours). Later, I realized DH handles LODs separately, so I switched to the DH pregen tool to ensure everything is generated correctly. I also installed C2ME as recommended in the docs and configured
distantGeneratorMode = "INTERNAL_SERVER"
distantGeneratorMode = "INTERNAL_SERVER"
to generate chunks and LODs simultaneously.
The Issue: I ran
dh pregen start overworld 0 0 1000
dh pregen start overworld 0 0 1000
.
- Initial phase: Speed was >1000 CPS while traversing the area already generated by Chunky. - Performance drop: Once the pregen reached ~541 chunks (passing the 8000-block radius pre-generated by Chunky), performance plummeted as it started generating new chunks. - Result: CPS gradually dropped to 6 CPS, causing constant "Can't keep up!" warnings (running >4000ms behind). I stopped the process due to the instability.
System Specs: - CPU: Intel i7-2600K @ 3.40GHz (Old, but it's a repurposed desktop for server use) - GPU: ASUS TUF GTX 1660 SUPER 6GB - RAM: 32 GB DDR3 - OS: Ubuntu Server 24.04.3 LTS
Questions: 1. What configuration changes can I make to improve the pregeneration stability? 2. Why does the CPS drop so drastically to single digits with DH? When I used Chunky in this same environment, it maintained >20 CPS, so the hardware should be capable of handling the load better.
Logs are attached (the full mod list is visible at the beginning). Thanks for the help!