Lag spikes when walking around

My game keeps stuttering when i create chunks on singleplayer, doesnt affect multiplayer as much. Completely ruins my singleplayer experience. DH is 2.1 , 1.20.4 using the fabulously optimised modpack aswell. This lag occurs even without DH
19 Replies
Brussel_sprouts
Brussel_sprouts6mo ago
What's your specs
HowlingTundra48
HowlingTundra48OP6mo ago
Intel HD 520, 12GB DDR3 I7-6500U this does not occur on versions below 1.18
Brussel_sprouts
Brussel_sprouts6mo ago
Fps spikes are expected
HowlingTundra48
HowlingTundra48OP6mo ago
this happens even on optifine i dont know how to fix this
Brussel_sprouts
Brussel_sprouts6mo ago
It's expected
HowlingTundra48
HowlingTundra48OP6mo ago
i usually get 300 fps with this modpack on multiplayer but survival goes down to 20
Brussel_sprouts
Brussel_sprouts6mo ago
Cpu struggles making new chunks and doing world gen Try using a pregen mod like chunky
HowlingTundra48
HowlingTundra48OP6mo ago
yeah i tried that today pregened 1000 block radius still lags when moving around
Brussel_sprouts
Brussel_sprouts6mo ago
How much of the 12gb do you have allocated
HowlingTundra48
HowlingTundra48OP6mo ago
4gb
Brussel_sprouts
Brussel_sprouts6mo ago
try increasing to 6
HowlingTundra48
HowlingTundra48OP6mo ago
imma give u my jvm arguments holup -Xmx4G -Xms4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M is there anything wrong here
Brussel_sprouts
Brussel_sprouts6mo ago
Reduce the xms to 2gb and increase the xmx to 6 or 8 nothing wrong with the flags tho
HowlingTundra48
HowlingTundra48OP6mo ago
alright
Brussel_sprouts
Brussel_sprouts6mo ago
On sodium settings enable "always defer chunk updates"
HowlingTundra48
HowlingTundra48OP6mo ago
will check it out once i get home, and let you know that feature did nothing when enabled without it istill get the stutters
Brussel_sprouts
Brussel_sprouts6mo ago
Set the chunk update thread to only 1 Instead of default Might work?
HowlingTundra48
HowlingTundra48OP6mo ago
alr, ill check it out ive seen this happen with MANY people after 1.18, no one seems to get a fix
Brussel_sprouts
Brussel_sprouts6mo ago
Height limit change So chunks are harder to generate More prominent in 1.18 it seems tho Or maybe cus people skipped 1.17 What launcher do you have If you can, try batch updating the mods Modrinth famously optimized?
Want results from more Discord servers?
Add your server