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
Might be a mouse hardware problem
Is it only on Minecraft?
It is only on DH, minecraft without it and every other game runs fine.
Do you only use dh?
Or other mods too
Optimization mods*
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).
It is something that can happen if CPU is at 100%, but it shouldn't be when at low impact
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 🤔
Did you put higher cpu priority into Minecraft
no
but in task manager its 100% anways if I generate stuff
Can you post a screenshot of minecraft with the framerate graph open?
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
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
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?
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
Looks like it's just the garage collector like others said
Hmm interesting, on what metrics can I see that its probably gc?
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