The below is saved for reference, and for anyone having the same problem: use JDK! It turns out Java JDK x64 performs much better than JRE x64 with Voltz, huge improvement with performance.
Hello everyone! I am running a Voltz server on a full dedicated machine:
-1GBit port speed
-32GB RAM
-Intel i7-3770
-2TB Disk
When this server gets 6-7 people on it begins to freak out, CPU goes up to 100%, and multiple cores are often seen above 50% (likely due to multithreaded garbage collection).
Here's the command line options I am using to launch the server:
java -server -Xincgc -Xmx16G -Xms8G -Xmn4G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+UseAdaptiveSizePolicy -XX:+DisableExplicitGC -Xnoclassgc -oss4M -ss4M -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -cp "Voltz.jar" -jar "Voltz.jar"
The only other thing on the server that is running is a mumble/murmur server. Geekbench reports a score >10000, and HT (hyperthreading) is disabled.
This machine should be capable of handling much more than 7 players on Voltz. Anyone know what the problem could be and how I would go about solving it?
Thank you