Tick Freezing will be the death of me

With distant generation turned on, at any level, minimal for IPFWCPU, I will get tick freezes every few minutes just walking around, and every few seconds when doing something important like fighting or mining. This isn't a small modpack, (232 without libraries/dependencies) but I don't have a crappy PC either. Ryzen 9 5900x, am4 mobo, 3080 that im upgrading to a 3090 in two days, 32GB of RAM, 16 of which is allocated to MC. I went through a deleted mods 1 by 1 starting with structure mods, and it's either caused by Alex Cave's (yes I did the fix in FAQ) or structory because it seems to add an absurd amount of little structures. Stutters have all but vanished entirely. Is this something that anyone else is experiencing? SIde note, I've been so focused on not freezing that I haven't even taken time to decide how I want the LODs to look. I have default settings on DH rn, what should I change and where to have a (somewhat) smooth experience that looks good (no holes in teh floor). I do not use Shaders, I feel like im just asking for hurt.
19 Replies
Puhpine
Puhpine5mo ago
Does the freezing also happens with distant generation off in dh's settings?
WhySoSerious1945
WhySoSerious1945OP5mo ago
no, that is the one thing that prevents teh freezing is turning it off. WHen off, it may happen every twenty minutes, but it lasts for so little time that I don't notice it
Puhpine
Puhpine5mo ago
Hhmm, do you have custom java arguments? You could try -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+ZGenerational
WhySoSerious1945
WhySoSerious1945OP5mo ago
I am using ZGC and just when I read that other post I mentioned added in Z generational. I don't know what it is about that second one, it helps, but not for long enough. freezes are down to 2kms
Miki_P98
Miki_P985mo ago
How much RAM did you allocate to MC and how much do you have in your PC?
WhySoSerious1945
WhySoSerious1945OP5mo ago
while disappointed, I am content with getting rid of alex caves, I always had issues with alex mobs too. Unusual prehistory adds dinosaurs which is really all I wanted there I have 32 available, 16 to MC Canary recommends 8.5, but that is wrong I've been spending about two hours a day for two weeks working on this issue
Miki_P98
Miki_P985mo ago
If you use ZGC, you can go as high as you want so you can try allocating 20 GB to MC if you see in the F3 menu that you hit 100% RAM usage near the lag spikes You can also add this 2 flags: -XX:+AlwaysPreTouch -XX:+UseFastUnorderedTimeStamps But it won't help much if at all
WhySoSerious1945
WhySoSerious1945OP5mo ago
really? That's cool, I'm not a coder so I dont know anything about it. I do see it spike to an absolute high of 85% I will take any args I can I already have pretouch
Miki_P98
Miki_P985mo ago
That is not always good, remove Critical Thread flag if you have it
WhySoSerious1945
WhySoSerious1945OP5mo ago
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem -XX:-ZUncommit -XX:+ParallelRefProcEnabled -XX:+ZGenerational -XX:+UseFastUnorderedTimeStamps These are mine "unrecognized VM option Z generational what just happened? is curse forge forcing me to use a different java verision?
Miki_P98
Miki_P985mo ago
You need JAVA 21 to use it either update JAVA or override its path (depends on your launcher)
WhySoSerious1945
WhySoSerious1945OP5mo ago
I have jdk 21, is that not the same?
Miki_P98
Miki_P985mo ago
yes but your MC probably uses a different installation then yours
WhySoSerious1945
WhySoSerious1945OP5mo ago
how do I force it to use mine through curseforge?
Miki_P98
Miki_P985mo ago
e.g. Modrinth APP tries to automaticly select its own JDKs
No description
Miki_P98
Miki_P985mo ago
Look in CurseForge settings for path to JAVA and override it with path to JAVA 21 or look in the instance setting for JAVA path override for this specific instance
Miki_P98
Miki_P985mo ago
No description
WhySoSerious1945
WhySoSerious1945OP5mo ago
would it be a javaw.exe file? I cant find it on my computer shouldbe in program files and java folder but isnt I don't understand, I only have jdk 21 on my system, never had 17 or 8, yet trying to load game with jdk 21 is impossible it seems? ZGC works but the generational arg does not
Miki_P98
Miki_P985mo ago
yes Your launcher might have downloaded it itself Ther eis also an option that the JAVA 21 you have lacks that feature, but it is unlikely You can try donwloading either Adoptiom or Zulu version
Want results from more Discord servers?
Add your server