Testing performance with JVM arguments for garbage collection & shaders | spark mod #1.16.5

Channel:
Subscribers:
670
Published on ● Video Link: https://www.youtube.com/watch?v=jniHHT03uAw



Minecraft
Game:
Minecraft (2011)
Duration: 26:05
5,348 views
65


#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


2023-02-25The Farmer Was Replaced | Blind First Impressions | Logic Puzzle | E01 Grass Bush Carrot
2023-02-19E2:E - Extended | Charged Creeper Farm | Silver Farmer | Sponge Assassin | E09
2023-02-18E2:E - Extended | Man vs Ender Dragon | Man vs Corrupted World Save | E08
2023-02-15E2:E - Extended | Plethora | CC:Tweaked | Manipulator Modules Showcase | Inventory Dump | E07
2023-02-11E2:E - Extended | IC2 Crops | Cross Breeding Experiment... Success? | Weed Assassin | E06
2023-02-05E2:E - Extended | Xnet & IC2 | Early Automation | Global Traveler is Handy | Industrial Wires | E05
2023-02-04E2:E - Extended | IC2 Start | Vaultopic V.I.C.E | Floo Teleportation | Early Game Base Tour | E04
2023-01-28E2:E - Extended | Swamp Base | The Grid Mod Is Useful | E03
2023-01-22E2:E - Extended | Tinker's Harvest Level Grinding | From Zero to Hero (Obsidian tier) | E02
2023-01-21E2:E - Extended | Looting Villages | New World Who Dis? | E01
2023-01-07Testing performance with JVM arguments for garbage collection & shaders | spark mod #1.16.5
2022-12-29Create Above & Beyond | Let's Play | More Minecarts - Flow Control Logistics | E03
2022-12-04Fallout 4 - Delirium Overhaul Mod - E01 | This is Gary
2022-11-06Basalt UI | Advanced Peripherals: ME Bridge | Proof Of Concept - Making an AE2 Setpoint Controller
2022-10-29Nomifactory | AE2 Subnets | Upgrading HV Alloy Smelters for Passive Crafting | Less Drawer More Net
2022-10-23Nomifactory | Small Microverse Projector - Finally an ore shipment! | Tier One
2022-10-16Nomifactory | LittleTiles mod is neat | Message - Helpful In-Game Reminders
2022-09-28Nomifactory | Troubleshooting my Applied Energistics 2 Autocrafting & EnderIO Redstone Conduits
2022-09-17Nomifactory | Early Game Base Tour | Basic AE2 & Deep Mob Learning Infrastructure
2022-09-17Nomifactory | Excessive Early Game Crafting Station & Storage Drawer Setup | Pre AE2 | Idea | Tips
2022-08-30Minecraft Redstone - Storing a Hopper Minecart's Redstone Signal - Control Output Threshold Latching



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.