I love tweaking stuff to get the most out of them. I have multiple servers with little money, so you can see why I’d want to optimize them.
My java args are:
-Dfile.encoding=UTF8 -Dfml.queryResult=confirm -d64 -server -XX:+AggressiveOpts -XX:ParallelGCThreads=3 -XX:+UseConcMarkSweepGC -XX:+UnlockExperimentalVMOptions -XX:+UseParNewGC -XX:+ExplicitGCInvokesConcurrent -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:NewSize=84m -XX:+UseAdaptiveGCBoundary -XX:NewRatio=3 -Dfml.readTimeout=90 -Ddeployment.trace=true -Ddeployment.log=true -Ddeployment.trace.level=all
I have 8GB ram and a 4.2Ghz 4 Core CPU.
I also clear the ram every hour. My modded server usually uses 2GB from the start, and vanilla uses 1GB then gets up to 2 before restart.
Other services I run: Apache webserver, Discourse, IRC sometimes, and 1 small sized Discord bot.
Does anyone have any tweaks for Debian, MineOS, Minecraft, or anything else to reduce ram or increase performance? I also read somewhere that MineOS and the servers under it only use one core. If that’s true, how would I go about fixing that?
P.S. I’m not sure what to categorize this as.