Can anyone suggest some JVM Arguments to use to help cut down on memory usage and improve TPS?
Currently these are my JVM Arguments:
java -Xms4G -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:ThreadPriorityPolicy=1 -XX:AllocatePrefetchStyle=3 -XX:MaxGCPauseMillis=37 -XX:+PerfDisableSharedMem -XX:G1HeapRegionSize=16M -XX:G1NewSizePercent=23 -XX:G1ReservePercent=20 -XX:SurvivorRatio=32 -XX:G1MixedGCCountTarget=3 -XX:G1HeapWastePercent=20 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5.0 -XX:G1ConcRSHotCardLimit=16 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:GCTimeRatio=99 -XX:ConcGCThreads=2 -jar fabric-server-launch.jar nogui
Server Info:
Memory: 6GB
Cores: 2
Version: Fabric 1.20.1
Mods Installed:
Additional Structures
Alternate Current
Botarium
C2ME
Carpet Fixes
Carpet
Chunk Sending Fabric
Cloth Config
Clumps
Collective
Cristellib
Dungeons Arise
Enchanting Commands
Fabric API
Fabrictailor
Ferrite Core
Floodgate
Get It Together Drops
Geyser
Krypton
LazyDFU
Lithium
LuckyBlocks
MemoryLeakFix
Mob Captains
Modernfix
PolyMc
Resourceful Config
Resourceful Lib
Servercore
Serverux
Smoothchunk Fabric
Spark
Starlight
Tabtps
Terralith
Towns and Towers
Datapacks Installed:
Custom Datapack I made (only has dimension and dimension type)
Cuttable Wood
PK No Creeper Grief
PK Painting Table
Technical Enchant
Any suggestions for edits to the JVM Arguments or any other suggestions to help improve TPS?