java -server \
-XX:+UseG1GC \
-XX:ParallelGCThreads=1 -XX:+UnlockExperimentalVMOptions \
-XX:+UseAdaptiveGCBoundary -XX:PermSize=128M -XX:MaxPermSize=192M -XX:+UseGCOverheadLimit -XX:+UseBiasedLocking -Xnoclassgc \
-XX:UseSSE=2 -XX:+UseThreadPriorities -XX:+UseLargePages -XX:+UseStringCache -XX:+OptimizeStringConcat \
-XX:+UseFastAccessorMethods -XX:+AggressiveOpts -Xmx2048M \
-XX:MaxGCPauseMillis=45 \
-XX:GCPauseIntervalMillis=100 \
-XX:+DisableExplicitGC \
-XX:InitiatingHeapOccupancyPercent=50 \
-Xloggc:/run/tmp/mcgc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps \
-jar server.jar nogui
FTB Launcher Arguments
-XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=31 -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=40 -XX:GCPauseIntervalMillis=150 -XX:+TieredCompilation -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:CompileThreshold=1000
I'd like to point out, using permsize in arguments of MultiMC AND in the program's settings panel, causes the game to sum both up. Might want to revisit that.
-Djline.terminal=jline.UnsupportedTerminal -d64 -XX:+UseCompressedOops -XX:NewRatio=3 -XX:PermSize=150m -XX:NewSize=114m -XX:SurvivorRatio=1 -XX:CompileThreshold=300 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:SoftRefLRUPolicyMSPerMB=0 -XX:CMSInitiatingOccupancyFraction=80 -XX:ParallelGCThreads=4 -XX:MaxHeapFreeRatio=25 -XX:MinHeapFreeRatio=21 -XX:+DisableExplicitGC -XX:MaxTenuringThreshold=4 -XX:+AggressiveOpts
I'm no java guru, but I'll give my 2 cents.
If your using java7 64bit from oracle you don't need -d64 -XX:+UseCompressedOops. CompressedOops is true by default and -d64 only forces 64bit mode, which it already runs in. IIRC, -d64 can be used to force using a 64bit java over a 32bit java, but I never tested it so I'm not right sure.
General consensus, that I don't necessarily agree with, is that ParallelGCThreads should be set to N-1 where N is the number of total threads in your cpu. So that a 4 core processor with 1 thread per core would be 3, while a 4 core processor with 2 threads per core would be 7.
I'm actually going to be replacing DisableExplicitGC in my arguments with a different implementation from keybounce that I can't remember off the top of my head.
The jvm arguments in the OP are a little outdated and I'm working on a different set, hopefully with a few others also.
What version of java are you using? Be sure you have the latest 64bit java 7.
he means what the update number is. Java 6 and 7 are still being updated. "most recent" is a useless descriptor.JDK, most recent versions x64 bit
JDK, most recent versions x64 bit
I'm actually going to be replacing DisableExplicitGC in my arguments with a different implementation from keybounce that I can't remember off the top of my head.