DH server side pregen slows to a crawl
im using DH v2.3.2 on Forge 1.20.1. Pregen LOD generation starts off fast (~2000 cps) but then drops down to like 30cps. i ran /dh pregen start minecraft:overworld 0 0 1000. is there anything i can do to speed it up? C2ME isnt available for my version of MC / Forge.

32 Replies
it seems to be exponentially slowing down- it went from 1800cps to under 500 pretty quickly, but now its taking ages to go from 32cps to 27ish
yep, can confirm

CPU and TPS is a-ok

heres a complete modlist:
tetra v6.9.0
betterdungeons v1.20-Forge-4.0.4
supermartijn642configlib v1.1.8
betterwitchhuts v1.20-Forge-3.0.3
playeranimator v1.0.2-rc1+1.20
aether v1.20.1-1.5.2-neoforge
subtle_effects v1.11.0
betteroceanmonuments v1.20-Forge-3.0.4
mcwwindows v2.3.0
incendium v5.3.5
sophisticatedcore v1.2.71.1022
xaeroworldmap v1.39.9
controlling v12.0.2
placebo v8.6.3
modernfix v5.23.1+mc1.20.1
yungsapi v1.20-Forge-4.0.6
mcwstairs v1.0.1
gateways v4.2.6
mixinextras v0.4.1
kambrik v6.1.1+1.20.1
sophisticatedbackpacks v3.23.19.1263
mcwdoors v1.1.2
carryon v2.1.2.7
jeresources v1.4.0.247
exposure v1.7.16
betterfortresses v1.20-Forge-2.0.6
cloth_config v11.1.136
sound_physics_remastered v1.20.1-1.4.10
sawmill v1.20-1.4.7
fzzy_config v0.7.0+1.20.1+forge
twilightforest v4.3.2508
emojiful v4.2.0
diagonalwalls v8.0.4
diagonalblocks v8.0.6
corpse v1.20.1-1.0.21
tinyskeletons v8.0.1
natures_spirit v2.2.4-1.20.1
mcwbridges v3.1.0
farmersdelight v1.20.1-1.2.8
ends_delight v2.5.1+forge.1.20.1
combatroll v1.3.3+1.20.1
explorify v1.6.2
do_a_barrel_roll v3.5.6+1.20.1
chunky v1.3.146
mcwtrpdoors v1.1.4
mcwfences v1.2.0
colorfulhearts v4.3.16
resourcefulconfig v2.1.3
servercore v1.5.2+1.20.1
expanded_ecosphere v3.2.4
spark v1.10.53
bountiful v6.0.4+1.20.1
mcwbiomesoplenty v1.20.1-1.2.1
curios v5.6.1+1.20.1
searchables v1.0.3
yungsextras v1.20-Forge-4.0.3
attributeslib v1.3.7
betterstrongholds v1.20-Forge-4.0.3
resourcefullib v2.1.29
display v1.3.5
anvilrepairing v4.0.9
cumulus_menus v1.20.1-1.0.1-neoforge
mcwroofs v2.3.2
deeperdarker v1.3.3
architectury v9.2.14
moreoverlays v1.22.7-mc1.20.2
nitrogen_internals v1.20.1-1.0.12-neoforge
mobtimizations v1.20.1-1.0.0
t_and_t v0.0NONE
fastleafdecay v32
bettermineshafts v1.20-Forge-4.0.4
shulkerboxtooltip v4.0.4+1.20.1
mcwlights v1.1.2
betterjungletemples v1.20-Forge-2.0.5
wwoo_forge v2.0.0
mowziesmobs v1.7.3
geckolib v4.7.2
amendments v1.20-1.2.19
sophisticatedstorage v1.3.52.1187
jei v15.20.0.112
universalbonemeal v8.0.1
obscure_api v15
taxfreelevels v1.4.8
structory v1.3.5
mcwpaintings v1.0.5
clumps v12.0.0.4
dungeonnowloading v1.5
yungscavebiomes v1.20.1-Forge-2.0.5
decorative_blocks v4.1.3
glitchcore v0.0.1.1
betterdeserttemples v1.20-Forge-3.0.3
terralith v2.5.4
immersive_portals v3.0.7
imm_ptl_core v3.0.7
q_misc_util v3.0.7
watut v1.20.1-1.2.3
puzzlesaccessapi v20.1.1
forge v47.4.0
mcwpaths v1.1.0
nyfsspiders v2.1.1
tectonic v2.4.1
minecraft v1.20.1
piglin_outpost v1.0.1
aquaculturedelight v1.1.1
distanthorizons v2.3.2-b
simplebackups v1.20.1-3.1.12
trade_cycling v1.20.1-1.0.18
simplyswords v1.56.0-1.20.1
terrablender v3.0.1.10
biomesoplenty v19.0.0.96
moonlight v1.20-2.14.11
jamlib v1.3.5+1.20.1
rightclickharvest v4.5.3+1.20.1
endermanoverhaul v1.0.4
regions_unexplored v0.5.6
mixinsquared v0.2.0
jade v11.13.1+forge
creativecore v2.12.32
alltheleaks v0.1.4-beta+1.20.1-forge
cleanswing v1.8
spectrelib v0.13.15+1.20.1
nethersdelight v1.20.1-4.0
kotlinforforge v4.11.0
ribbits v1.20.1-Forge-3.0.4
brewinandchewin v1.20.1-3.2.1
flywheel v1.0.4
ponder v1.0.80
oh_no_create_utilities v1.5.0
create v6.0.6
create_central_kitchen v1.4.1
supplementaries v1.20-3.1.31
mutil v6.2.0
xaerominimap v25.2.6
diet v2.1.1+1.20.1
nullscape v1.2.8
immersive_paintings v0.6.8+1.20.1
diagonalfences v8.1.5
betterarcheology v1.2.1-1.20.1
coroutil v1.20.1-1.3.7
structory_towers v1.0.7
mvs v4.1.5-1.20-forge
appleskin v2.5.1+mc1.20.1
moremobvariants v1.3.0.1
lootr v0.7.35.91
ferritecore v6.0.1
solcarrot v1.15.1
puzzleslib v8.1.32
charmofundying v6.5.0+1.20.1
aquaculture v2.5.5
addonslib v1.20.1-1.4
packetfixer v3.1.1
aquamirae v6.API15
createfood v1.1.11-forge
cristellib v1.1.6
could it be a ram problem? not enough ram for all that world generation?
Is there a quick and easy way for third-party launchers like Prism to import mods based on mod names in a text file? Because giving a list of mods, especially if it contains any more than, say, 30 mods, it becomes very tedious to search them all up and import them one by one.
server has like 28gb of ram
so probably not
i can send you a link to a dropbox zip with all of them
*server has 32gb of ram, 28gb assigned to the actual server jar
can you test if it does the same with just DH?
same thing happening to me i am now at 18 cps i have 16gb ram 2.3.2-b on 1.21.1 fabric
i have significantly less mods as well
ive just deciced o wait tbh
what hosting are you using
if thats not personal
i have the oracle cloud
this in 16x but you can see it tank
personal sercer
xeon 4110@3ghz
Having a quick look at your mods I noticed tectonic and terralith alongside other mods that alter/add to the world generation.
I did a benchmark with no performance mods using terralith + tectonic on my 9800x3D (8C/16T), ~5GHz all core when generating, and averaged around 100 cps across 5 different seeds when generating a 128 chunk radius. (Benchmark Sheet Row 32)
I assume your cps is very high at the start since either 1. LODs have already been generated at that specific location or 2. Chunks were already generated and were only converted into LODs.
Which generator are you using?
FEATURES
or INTERNAL_SERVER
? The generator chosen impacts the pregeneration heavily since vanilla chunks and lod's are generated when using INTERNAL_SERVER
and only lod's will be generated when using FEATURES
Just had another look at your modlist, you got many generation altering mods in your pack which will all impact your pregeneration speed, others more heavily and others less. This would explain the "slow" pregeneration in my opinion.
Unfortunately I am not able to benchmark your specific terrain generation currently since I am not home right now.Google Docs
Distant Horizons Community Benchmarks
The 5k cps in the beginning is simply it skipping already processed chunks, there is a 0% chance your hardware can generate that fast. My 9950x3d can only do about 513 cps with vanilla terrain generation
Only LODs will be saved when on FEATURES, the vanilla chunks still need to be generated for the LODs to be created, the generation though is done in a more performant way when using FEATURES, than the full quality with vanilla parity chunks generated using INTERNAL_SERVER
ah okay, my bad for the misinformation and thanks for explaining!
yeah
i ended up js thugging it
16 seems a bit low tho to be sitting at
but idrk
what cpu do you have
its that free tier one from oracle i think its called amphere a1 flex? 4 core
ampere
idk how you are expecting anything faster then
4 cores is not a lot
ight so 16cps make sense for that cpu?
yes
oh w
thx
i js thought since it never goes up to 400% in the pterodactyl panel it wasnt going full force ykwim
Did you run
dh config common.threadPreset I_PAID_FOR_THE_WHOLE_CPU
ill try that rn
i somehow missed that on the wiki
the graph was at ~395% for cpu usage then it js dropped back down

it dont matter though since you said 4 wasnt allat so ill js be happy w it
you can see some cpus with 4 threads here
not very fast
yeah you right should add that benchmark table to the wiki or sum in the pregen section
thats something james or some other dev would need to decide, its community made by mr counter and me
o