Testing performance with JVM arguments for garbage collection & shaders | spark mod #1.16.5
#moddedminecraft #shaders #createmod
I made this video mainly as a resource for myself in the future. When I come back to playing old modpacks I don't have to spend a day trying to Google/Reddit for Minecarft JVM arguments.. Hopefully someone else may find it useful as a starting point. From my researching so far, there is no "one size fits all" when it comes to tuning Java arguments. The idea with Java's garbage collection (GC) is you want it to run more often which means short pauses as there is less garbage to process... I think.
Filmed in Create: Above and Beyond v1.3
https://www.curseforge.com/minecraft/modpacks/create-above-and-beyond
Rubidium added to modpack for performance and for shader support. Not compatible with optifine.
https://www.curseforge.com/minecraft/mc-mods/rubidium
Oculus for shaders, nothing to do with VR!
https://www.curseforge.com/minecraft/mc-mods/oculus
Wiki about Java versions and Minecraft
https://minecraft.fandom.com/wiki/Tutorials/Update_Java
Java downloads. Can sort by Windows/Linux/etc and Java versions 8/11/17/etc.
https://adoptium.net/temurin/releases/
Airkar's JVM tuning, the settings that worked the best for me.
https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/
Reddit user voxcpw, forge dev. Older post about modded Minecraft and memory usage. Old but very interesting post, read it!
This is the second set of java flags I had tried.
https://old.reddit.com/r/feedthebeast/comments/5jhuk9/modded_mc_and_memory_usage_a_history_with_a/
Another blog with some interesting information, I did not include video footage of trying these. They seemed okay..
https://krusic22.com/2020/03/25/higher-performance-crafting-using-jdk11-and-zgc/
Some other Reddit post, using a very slight variation of cpw's flags. Also not shown in the video, but interesting discussion.
https://www.reddit.com/r/feedthebeast/comments/lgfr7m/minecraft_forge_jvm_flags_for_high_performance/
You should read this:
https://spark.lucko.me/docs/guides/The-tick-loop
https://spark.lucko.me/docs/guides/TPS-and-MSPT
https://www.curseforge.com/minecraft/mc-mods/spark
/sparkc gc (client)
/spark gc (server)
Shaders, the best luck I had trying several was BSL Shaders. But my system is unfortunately too weak..
https://www.curseforge.com/minecraft/customization/bsl-shaders
/flywheel backend off (can make shaders look better but definitely makes performance worse!)
Shaders, Complementary Shaders website, interesting page with potential fixes for shaders..
Not discussed in the video, but should give you an idea of all the weird glitches than can happen with various mods and shaders.
https://www.complementary.dev/mod-issues/
A list of useful mods for most commonly-played versions.
https://github.com/TheUsefulLists/UsefulMods
0:00 Intro
0:45 Client & Server Specs
1:00 Shift + Alt + F3 Debug Screen
2:56 Test #1 Aikar's JVM Flags
3:35 /sparkc gc | Garbage Collection Info
5:22 BSL to Complementary Shaders Test
6:15 /flywheel backend off (I would leave it on...)
9:25 VSync off & Shaders off | +100 fps
11:48 Some Java Version Info
13:24 MultiMC Modpack Settings & Java Arguments
14:44 JRE 8u202 (8u352 wouldn't work!?)
15:54 Test #2 CPW's JVM Flags
18:29 Test #3 No JVM Flags :(
21:34 Spark mod documentation | READ THEM :)
Other Videos By toastonrye
Other Statistics
Minecraft Statistics For toastonrye
At present, toastonrye has 118,896 views spread across 113 videos for Minecraft, with the game making up 22 hours of published video on his channel. This is 77.41% of the total watchable video for Minecraft on toastonrye's YouTube channel.