CPU Stutter clarification

Hey, just a quick clarification to the stuttering problem already mentioned in the FAQ channel. The stuttering I'm experiencing is more of a "mouse input stutter" meaning, while any chunks are generating, my mouse input starts to become choppy while my fps stay high. This is at 128 view distance and even noticeable when I have the cpu settings on low impact. Is this expected behavior? Even for a rather good rig? (13600kf, 64gb ram, 4090)
17 Replies
Brussel_sprouts
Brussel_sprouts•7mo ago
Might be a mouse hardware problem Is it only on Minecraft?
OfficialGoat
OfficialGoatOP•7mo ago
It is only on DH, minecraft without it and every other game runs fine.
Brussel_sprouts
Brussel_sprouts•7mo ago
Do you only use dh? Or other mods too Optimization mods*
OfficialGoat
OfficialGoatOP•7mo ago
cpu is at 100% usage, so I guess its expected, but I would rather expect DH to not clog up at least some Cores/vCores so mouse input still goes thru smoothly. Vanilla also just defers Chunk gen in favor of smooth input, and I would expect the lowest cpu load setting to behave in a simmilar way. I tried it with Fabulously Optimized first and then with the stock Iris Shader installer which installs fabric + Iris + dh (compatible versions).
Miki_P98
Miki_P98•7mo ago
It is something that can happen if CPU is at 100%, but it shouldn't be when at low impact
OfficialGoat
OfficialGoatOP•7mo ago
at low impact its a lot better than at higher settigns, but the occasional "choopy input" is still happening when the cpu usage spikes and its quite distracting 🤔
Brussel_sprouts
Brussel_sprouts•7mo ago
Did you put higher cpu priority into Minecraft
OfficialGoat
OfficialGoatOP•7mo ago
no but in task manager its 100% anways if I generate stuff
Puhpine
Puhpine•7mo ago
Can you post a screenshot of minecraft with the framerate graph open?
Miki_P98
Miki_P98•7mo ago
Occasional stutter might be from GC How much RAM did you allocate for Minecraft? Here is some basic GC tuning: https://github.com/TheUsefulLists/UsefulMods/blob/main/JavaArgumentsOptimization.md If you are running default GC you can try those above, but if you're already using them, try ZGC or Shenandoah GC
Brussel_sprouts
Brussel_sprouts•7mo ago
Specifically since it's fabric, use generational zgc Shenandoah gc isn't that good compared to the new generational zgc But finding a jvm that allows generational may take a lot of time
OfficialGoat
OfficialGoatOP•7mo ago
No description
OfficialGoat
OfficialGoatOP•7mo ago
I will do that, but it really just is the cpu being fully maxed out, just noticed that the mouse cursor in general is lagging on windows, but that is only on balanced and upwards. Is this expected for balanced and up on initial worldgen tho?
Brussel_sprouts
Brussel_sprouts•7mo ago
It might be the gc using up more resources than needed just to clear up ram That's just a theory tho cus we have literally the slightest idea what's causing it Try using chunky to pre gen the chunks Maybe it'll help a bit
Puhpine
Puhpine•7mo ago
Looks like it's just the garage collector like others said
OfficialGoat
OfficialGoatOP•7mo ago
Hmm interesting, on what metrics can I see that its probably gc?
Brussel_sprouts
Brussel_sprouts•7mo ago
Look at the mem at f3 Load up a semi high render distance When you see the used mem go down and then the stutter happens Then it's gc You can also just see if the allocation rate stutter
Want results from more Discord servers?
Add your server