I had some Problems with the latest Version of FTB Infinty. Im a (modded) minecraft noob. But i have a lot of exprience with Servers.
So first the System is a Xeon with 4 Cores and 16GBs of RAM and 4TB of Space. I use Ubuntu 15.04 Beta as Host System. Set up qemu, Networking stuff ... bridges, vlans ... and the Minecraft Server System (Virtual) 4Cores (KVM enabled... Host CPU passed through) everything set up with vertio (really really fast). Benchmarked the CPU and the virtual System reaches 99.8% of the Performance of the native OS on the Host.
I use Java Server JRE 8u45. With the default Settings enabled the Server lags like crazy and java has some issues with the comandline arguments
I usually create a user for gameservers and set everything up in the home directory (java binaries, minecraft everything in the home no admin or root access required)
I've enabled the GarbageCollector Output after some time of playing the GC Runs about 2.2 seconds with the default settings. And the Server keeps telling "Can't keep up ... "
Why is the Server ZIP file shipped with that java-options?
With changed Settings (using thedefault GarbageCollector) everything works fine.
Looks like Java Server JRE 8 uses PSYoungGen and runs a less frequent and faster then the NewParGC. I haven't tested the System for a long time but so far no problem.
Any suggestions ? To run the Server with Java 8? Pls change the Start Script for the noobs! Maybe some question answer stuff to configure the Paramerters for java (Memory ... CPU ... ). Maybe i write one and post it here.
happy mining, Hugo
So first the System is a Xeon with 4 Cores and 16GBs of RAM and 4TB of Space. I use Ubuntu 15.04 Beta as Host System. Set up qemu, Networking stuff ... bridges, vlans ... and the Minecraft Server System (Virtual) 4Cores (KVM enabled... Host CPU passed through) everything set up with vertio (really really fast). Benchmarked the CPU and the virtual System reaches 99.8% of the Performance of the native OS on the Host.
I use Java Server JRE 8u45. With the default Settings enabled the Server lags like crazy and java has some issues with the comandline arguments
Code:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
I usually create a user for gameservers and set everything up in the home directory (java binaries, minecraft everything in the home no admin or root access required)
I've enabled the GarbageCollector Output after some time of playing the GC Runs about 2.2 seconds with the default settings. And the Server keeps telling "Can't keep up ... "
Why is the Server ZIP file shipped with that java-options?
Code:
java -server -Xms512m -Xmx2048M -XX:PermSize=256m -d64 -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -jar FTBServer-1.7.10-1352.jar nogui
With changed Settings (using thedefault GarbageCollector) everything works fine.
Code:
java -server -Xms7G -Xmx7G -d64 -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=4 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:+PrintGCDetails -jar FTBServer-1.7.10-1352.jar nogui
Looks like Java Server JRE 8 uses PSYoungGen and runs a less frequent and faster then the NewParGC. I haven't tested the System for a long time but so far no problem.
Any suggestions ? To run the Server with Java 8? Pls change the Start Script for the noobs! Maybe some question answer stuff to configure the Paramerters for java (Memory ... CPU ... ). Maybe i write one and post it here.
happy mining, Hugo