#Server Mods To add (with command line arguments)

1 messages · Page 1 of 1 (latest)

outer brook
#
  1. Spark https://www.curseforge.com/minecraft/mc-mods/spark
  2. Minecraft Pregen (Not Chunky) https://www.curseforge.com/minecraft/mc-mods/chunkpregenerator [1.5.2]

I am running on a 32gb ddr3 machine w/ a i7-2600. So far no lag, with these command line arguments:

I am running on Debian Linux.

#!/bin/sh
cd "$(dirname "$(readlink -fn "$0")")"
java -Xmx12288M -Xms6048M -XX:+UseG1GC -XX:MaxGCPauseMillis=130 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -jar forge-1.12.2-14.23.5.2860.jar nogui

I heard about another garbage collector that can give a performance boost (such as a 20%+ boost in chunk generation) https://oca.opensource.oracle.com/gds/GRAALVM_EE_JAVA8_21_3_5/graalvm-ee-java8-linux-amd64-21.3.5.tar.gz here known as GraalVM - I have not tested yet, however please lmk if yall do.

#

I made this post so dev can add these as official mods ig. And for people to see this.

smoky grove
#

Crazy that it runs that well on a I7-2600

outer brook
#

we played FTB, and it was able to perform very well

smoky grove
#

I think ram is the main bottleneck alot of the time

#

The hosting system I have has a i7 10750 but it only has 16 gigs of ddr4-3200 so until I get more I can't really host more than a couple of players

#

I have extra sticks as well but it only has two ram slots and they're both occupied

outer brook
#

is it dual channel?

smoky grove
#

So yeah

smoky grove
outer brook
#

wait

#

but yeah ill def update this thread as i continue

cunning pier
#

unless ur using some specialized server software there's no reason to add more then 12 GB

warm carbon
#

Pregen of any sort has also occasionally caused major world corruption by inadequately generating blocks (Oak Stairs as Stone or any similar combination).

azure ridge