Skip to main content

How I got java Minecraft to run like butter

Many hours have I spent trying to find a configuration that makes java Minecraft as smooth as the triple-A titles from the store. My hardware is capable, but for some reason Minecraft runs like ass no matter what I do. 

Finally I have found a configuration that seems to work for me. I use a version of Java 17 by the Eclipse Foundation that has the Shenandoah garbage collector. I use the following JVM Arguments:

-Xmx12G -Xms12G -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -XX:+DisableExplicitGC

2023/05/24: Found a better string

-Xms10G -Xmx10G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1


My CPU may be beefy, but I still can't get over 16 chunk render distance without dipping below 60 fps while OBS is running. Limit render distance to 16 chunks. 

Using many mods with fabric. Sodium, indium, iris, entity culling, more culling, dynamic fps, memoryleakfix, starlight, ModernFix, etc.

MoreCulling > Leaves Culling > GAP BLOCKSTATE
MoreCulling > Leaves Culling Amount > 2

6/2/2023 update: To ensure smooth gameplay while OBS is running, be sure to open OBS first, then load whatever game (in my case, java Minecraft). If I fail to load OBS first, then starting OBS makes the game run terribly. Modern fix really helped performance. I guess those bugs were killer.  

Mod list:



Comments

Popular posts from this blog

Red Stone Lapis Lazuli S06e02 - Entanglement

Red Stone Lapis Lazuli S06e02 - Entanglement https://youtu.be/KgrYlIveNcY So spooky I didn't even realize what I was talking about.   Web: https://www.pogokero.com Twitter: https://www.twitter.com/pogokero Facebook (fuck facebook!): https://www.facebook.com/pogokero Broadcasted live on Twitch -- Watch live at  https://www.twitch.tv/pogokero
Red Stone / Lapis Lazuli - s03e11 - Infrastructure https://youtu.be/ZpnRlMAtya4 Freed from toiling on the Billionaire's line, PoGokeRo pours resources into his home. Feel the fung shui flow through the Spotted Lantern Wool Farm, the new melon farm, the carpet, the drapes, the maintenance access, and the cured villager.  Topics include impeachment, historical processes, house building, and more! web: http://www.pogokero.com Twitter: @pogokero Facebook: www.facebook.com/pogokero PLEASE SUBSCRIBE! donate: paypal.me/pogokero

Red Stone Lapis Lazuli s07 e35 - Bad Airs

Red Stone Lapis Lazuli s07 e35 - Bad Airs https://www.youtube.com/live/qa9InN6ADm4 Dispelling incantations of insinuation, fear, uncertainty, and doubt. Spoutible https://spoutible.com/pogokero Mastodon https://mastodon.ie/@pogokero Twitch https://www.twitch.tv/pogokero YouTube: https://www.youtube.com/pogokero Encoding with OBS AMD HW-AV1 @ 8.5k bitrate 1440p @ 60 FPS quality main RADEON 7900 XTX NOTES: Symbolic Interactionism Last Updated on March 17, 2023 by Karl Thompson https://revisesociology.com/2023/03/03/symbolic-interactionism/ Mar-a-Lago: For $200,000, a chance to whisper in Trump's ear By Nicholas Confessore, Maggie Haberman, Eric Lipton, The New York Times Updated: December 2, 2017 Published: February 18, 2017 https://www.adn.com/nation-world/2017/02/18/mar-a-lago-a-southern-white-house-where-guests-pay-to-play/ The Problem with “Broken Windows” Policing JUNE 28, 2016 by Sarah Childress https://www.pbs.org/wgbh/frontline/article/the-problem-with-broken-windows-policing