stuttering every few ticks
i'm trying to make a kitchen sink modpack, and noticed severe stutters every few ticks.
after using spark to profile ticks that took over 500ms this is what i got - any ideas why it takes so long? (5844ms!!!)
Solution:Jump to solution
i don't know how much the flags changed if anything, but removing Every Compat which adds a ton of blocks helped a lot
Modrinth
Every Compat (Wood Good) - Minecraft Mod
Universal Wood Compat: Quark, Twilight Forest, Twigs, Another Furniture, Farmers Delight, Macaw's, Valhelsia, Architects Palette, Deco Blocks, Crayfish FM
17 Replies
my modlist
Did you try lowering the CPU load in DHs config?
while lowering it to minimal does help, it makes lods take way too long to update
cpu load really shouldn't be an issue as i have an r9 7950x3d
and it still stutters, just way less often which i assume is because lowering cpu load makes the function run less often
I don't know how profilers take GC to the account
but without the profiler info I would say it is a ram problem
what are your GC flags and how much RAM did you allocate to MC?
16GB, and as for the flags i didn't touch anything so default for prism launcher
i removed a mod that added a lot of blocks and it seems to have helped somewhat
16 GB in your PC, or 16 GB for MC?
16gb for mc
It very mych can be a GC problem then
reduce it to 12 GB
And install mod Ferritecore
i already have ferritecore installed, will try reducing ram in a moment
but before i do here's a screenshot of the profiler after removing that mod
no matter the result you can try adding
-XX:+UseZGC
flagit's down to ~800ms
and removing everything with
G1
in the name
-XX:+ZGenerational
flag might also help, but it is only avaiable for JAVA 21, and by default 1.20.X runs on JAVA 17 so you would need to change thati'm running java 22
prism launcher doesn't display default flags, it's unlikely there aren't any so i assume they are just hidden :(
so this field is empty by default
Solution
i don't know how much the flags changed if anything, but removing Every Compat which adds a ton of blocks helped a lot
Modrinth
Every Compat (Wood Good) - Minecraft Mod
Universal Wood Compat: Quark, Twilight Forest, Twigs, Another Furniture, Farmers Delight, Macaw's, Valhelsia, Architects Palette, Deco Blocks, Crayfish FM
👍