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
Miki_P98
Miki_P985d ago
I guess you don't want DH to use 100% of the CPU? Decrease the DH CPU load and wait couple minutes
Rio
RioOP5d ago
its on balanced. i already said
Miki_P98
Miki_P985d ago
If that won't work, disable distant generation It can go lower then balanced
Rio
RioOP5d ago
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
Miki_P98
Miki_P985d ago
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
Rio
RioOP5d ago
it never used to use 100% cpu on balanced and lods generate so much slower now
Miki_P98
Miki_P985d ago
On balanced DH uses I think ~50% of the CPU The other 50 most likely comes from something else
Rio
RioOP5d ago
this is on balanced
No description
Miki_P98
Miki_P985d ago
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?
Rio
RioOP5d ago
dh on anything below 1.20.xx it worked so much better before 1.20 then something went wrong and it sucks
Rio
RioOP5d ago
do any of these mods conflic with it
No description
Rio
RioOP5d ago
i thought they said they "fixed" c2me making it generate slower
ronter
ronter5d ago
whats wrong with this realistically?
Miki_P98
Miki_P985d ago
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
Rio
RioOP5d ago
isnt balanced supposed to use 50% of the cpu to leave some headroom for minecraft to actuall be able to load normal chunks
Miki_P98
Miki_P985d ago
Nothing
Rio
RioOP5d ago
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
Miki_P98
Miki_P985d ago
Try removing C2ME, it will reduce the CPU usage
ronter
ronter5d ago
my PC has a 9800x3d and uses 100% cpu sometimes on balanced, but thats OK
Rio
RioOP5d ago
so the mod is broken wow
Miki_P98
Miki_P985d ago
Everything works as intended, it will never be fixed
ronter
ronter5d ago
I am confused as to how you think it is broken, should your CPU not be used? You can lower to Minimal
Rio
RioOP5d ago
do you know what the word "balanced" means not 100% cpu
Miki_P98
Miki_P985d ago
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
Rio
RioOP5d ago
i still get stuttering when using the mod
ronter
ronter5d ago
but you have multiple mods aswell, why are you certain its DH?
Rio
RioOP5d ago
32 chunks only uses 40% cpu max native then when i get dh it uses all my cpu
Miki_P98
Miki_P985d ago
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
Rio
RioOP5d ago
didnt make a difference c2me was actually helping
Miki_P98
Miki_P985d ago
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?
Rio
RioOP5d ago
its still high
No description
Rio
RioOP5d ago
what did they break with dh
Miki_P98
Miki_P985d ago
I see 76% usage now
Rio
RioOP5d ago
it spikes to 100%
Miki_P98
Miki_P985d ago
It will always spike And always had spiked
Rio
RioOP5d ago
so its unstable
Miki_P98
Miki_P985d ago
Even vanilla MC with Sodium and Lithium will use at least 1 core on 100%
ronter
ronter5d ago
... it is very common for your CPU usage to spike
Miki_P98
Miki_P985d ago
That is how computers work, things are done when they need to be done and not when you want tthem
ronter
ronter5d ago
Its a very good sign actually, it means your CPU is working great under load when needed
Miki_P98
Miki_P985d ago
Even JAVA itself will run GC every now and then, and the JAVA GC itself can pick the CPU at 100% usage
Rio
RioOP5d ago
well how come i still get stuttering when i fly around
ronter
ronter5d ago
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
Rio
RioOP5d ago
its not working well if it stutters under load
ronter
ronter5d ago
What is your simulation distance and native render distance Those normally cause stutters
Rio
RioOP5d ago
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
Miki_P98
Miki_P985d ago
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 flying
Rio
RioOP5d ago
14gb 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
Miki_P98
Miki_P985d ago
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
Rio
RioOP5d ago
pregen doesnt work
Miki_P98
Miki_P985d ago
How it does not work?
Rio
RioOP5d ago
ive tried it 50 times at this point the whole chunky thing is a lie
Miki_P98
Miki_P985d ago
? Don't use Chunky with DH /chunky
YAGPDB.xyz
YAGPDB.xyz5d ago
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.
Rio
RioOP5d ago
i wasted 4 hours letting chunky preload on a world and dh took just aslong to generate
Miki_P98
Miki_P985d ago
/generators
YAGPDB.xyz
YAGPDB.xyz5d ago
- 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.
Rio
RioOP5d ago
i too dh out of mods
Miki_P98
Miki_P985d ago
Use DH generator
Rio
RioOP5d ago
and used chunky
Miki_P98
Miki_P985d ago
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
Rio
RioOP5d ago
so how do people pregenerate
Miki_P98
Miki_P985d ago
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
Rio
RioOP5d ago
im gonna try that but i tried before with jjthundertothemax world gen mod and it takes forever for even 128 lod chunks
Miki_P98
Miki_P985d ago
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
Rio
RioOP5d ago
also the big globe mod which is actually worse
Miki_P98
Miki_P985d ago
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
Rio
RioOP5d ago
i never saw that option also its really laggy even with just 10 chunks alone
Miki_P98
Miki_P985d ago
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

Did you find this page helpful?