DH uses 100% cpu
This makes no sense to me because ive been testing
if i run minecraft at 32 chunks native with shaders i only get about 20-40% cpu usage with 14gb allocated
distant horizons i tried it with my vanilla render distance on 12 and lod gen set to balanced, all the same settings but lowered normal chunks and my cpu gets used 100%
cpu is i5 13600kf and no it does not thermal throttle
69 Replies
I guess you don't want DH to use 100% of the CPU?
Decrease the DH CPU load and wait couple minutes
its on balanced.
i already said
If that won't work, disable distant generation
It can go lower then balanced
dude theres nearly no point in it if it doesnt generate lods itself
also it never used to do this
either my pc is messed up or they messed up 1.21.5
The CPU is doing something, and whatever this is it has to be done, either it will be done at 100% CPU or it will take twice as long on 50% CPU and so on, or you can disable distant generation so that hopefully whatever was being done no longer needs to be done so the CPU won't be used
it never used to use 100% cpu on balanced
and lods generate so much slower now
On balanced DH uses I think ~50% of the CPU
The other 50 most likely comes from something else
this is on balanced

Compared to what?
DH 2.3? DH 2.2.1?
DH 2.3.2 on MC 1.21.1?
DH 2.1.2 on MC 1.16.5?
dh on anything below 1.20.xx
it worked so much better before 1.20 then something went wrong and it sucks
do any of these mods conflic with it

i thought they said they "fixed" c2me making it generate slower
whats wrong with this realistically?
They did in DH 2.3, but how C2ME works is it alowes MC worldgen to run on multiple threads so it uses more CPU
isnt balanced supposed to use 50% of the cpu to leave some headroom for minecraft to actuall be able to load normal chunks
Nothing
im replacing my cpu with a ryzen 7 7800x3d and if it happens on that cpu too im just gonna assume the mod is broken
Try removing C2ME, it will reduce the CPU usage
my PC has a 9800x3d and uses 100% cpu sometimes on balanced, but thats OK
so the mod is broken
wow
Everything works as intended, it will never be fixed
I am confused as to how you think it is broken, should your CPU not be used?
You can lower to Minimal
do you know what the word "balanced" means
not 100% cpu
Remove C2ME as it works by increasing the CPU usage
Decrease the CPU load preset so the CPU is used less
And you will achive what you want
i still get stuttering when using the mod
but you have multiple mods aswell, why are you certain its DH?
32 chunks only uses 40% cpu max
native
then when i get dh it uses all my cpu
Yeah DH on balanced can use only 50%
But C2ME can use 25%
MC can use 25%
And if you sum 25 + 25 + 50 you get 100
didnt make a difference
c2me was actually helping
How was it helping? The CPU usage can't go over 100% so I don't see how removing it could make the usage larger?
its still high

what did they break with dh
I see 76% usage now
it spikes to 100%
It will always spike
And always had spiked
so its unstable
Even vanilla MC with Sodium and Lithium will use at least 1 core on 100%
... it is very common for your CPU usage to spike
That is how computers work, things are done when they need to be done and not when you want tthem
Its a very good sign actually, it means your CPU is working great under load when needed
Even JAVA itself will run GC every now and then, and the JAVA GC itself can pick the CPU at 100% usage
well how come i still get stuttering when i fly around
I think this is entertaining the fact that DH is the problem, when it is definitely not. I have tested DH on so many systems and always performs incredibly great
its not working well if it stutters under load
What is your simulation distance and native render distance
Those normally cause stutters
12 chunks native and 20 simulation
ive had no isses on 32 chunks native
also anything lower than 12 looks so bad its not even worth at that point
How much memory did you allocate to MC?
What are your GC/JVM tuning flags?
Try decreasing your CPU load preset to low
Flying around is CPU heavy and many people stutter on balanced when flying fast, that is why low exists
You use
I paid...
for pregen
Agressive
on high end system when in base
Balanced
when walking and runnning and low
when flying14gb allocated (for me the more ram the better performance i get)
this is the catch flag i use and i get no stutters on 32 chunks with it -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+ZGenerational -XX:+AlwaysPreTouch -XX:+UseFastUnorderedTimeStamps -Xlog:async
You can also pregen (a lot people do it, I would even say most of them to some extent)
That will reduce the CPU laod when flying
pregen doesnt work
How it does not work?
ive tried it 50 times at this point the whole chunky thing is a lie
?
Don't use Chunky with DH
/chunky
Using Chunky to pregenerate for DH is not recommended for several reasons. The first one is the swiss cheese that might show up when using chunky while DH is installed. The second reason is that it's pointless, as DH has a build in pregenerator that is better integrated than chunky:
- It saves space by only storing LODs, not normal chunks
- It is faster to use DH's pregenerator to generate the LODs than first using chunky to generate the normal chunks, and then using DH to convert the normal chunks to LODs
- It is part of DH, and therefore always/only called when DH needs it
- Chunky calculates it's radius in blocks, confusing the user if they are not aware of this
Distant Horizons' built-in LOD pregenerator is enabled by default, and can be sped up or slowed down by changing the
Cpu Load
in DH's settings, or disabled by turning off Distant Generation.
If you want to pregenerate both LODs and normal chunks, set the Distance Generator Mode to Internal Server
under Advanced, World Generator. This will of course take up quite a lot more storage space. Make sure you have C2ME installed if you want to use Internal Server, as the generation speed will be crap if you don't.
Note, this also applied to other similar pregeneration mods.i wasted 4 hours letting chunky preload on a world and dh took just aslong to generate
/generators
- FEATURES: Complete generation of all LODs with mostly correct structures and trees. Does not save vanilla chunks, and is much faster than INTERNAL_SERVER unless C2ME is installed.
- INTERNAL_SERVER: Generates and saves both DH LODs and vanilla chunks, has 100% correct LODs, because it also saves vanilla chunks it takes the most amount of drive space. Generation speed will suck unless C2ME is installed.
- PRE-EXISTING: generates LODs for all existing vanilla chunks.
i too dh out of mods
Use DH generator
and used chunky
Have you pregen DH LODs after pregenerating with chunky?
Chuny does not generate LODs and creates many issues
That is why it is not recommended
Set the distant generation mode to INTERNAL_SERVER
so how do people pregenerate
CPU load to I paid for the whole CPU
DH RD to target distance
- Set the distant generation mode to INTERNAL_SERVER
- CPU load to I paid for the whole CPU
- DH RD to target distance
- Go AFK
- Set CPU load to balanced or low
- Set the distant generation mode to FEATURES
- Play the game
Or then you are on a dedicated server usethe commands instead
im gonna try that
but i tried before with jjthundertothemax world gen mod and it takes forever for even 128 lod chunks
Slow heavy worldgen will give more stutters and require more time
But at this point blame JJThunder for being slow and heavy and not DH for trying to generate this heavy terrain
also the big globe mod
which is actually worse
Big Globe has an option for called Hyper Speed Generator that will quickly generate DH LODs when on distant generator FEATURES, but they will be lower quality and the vanilla chunks won't be generated
i never saw that option
also its really laggy even with just 10 chunks alone
If you enable N-sized generation in DH settings, Big Globe hyper speed can generate 1024 DH RD in less then half an hour
But the quality of those LODs is much lower
And vanilla chunks are not being pregenerated
And n-sized generation can cause holes