Code: [OS] Gentoo Linux (xen vm) [cpu info] processor : 0-3 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz stepping : 7 microcode : 0x70b cpu MHz : 2000.000 cache size : 15360 KB fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu tsc msr pae cx8 cmov pat clflush mmx fxsr sse sse2 ss syscall nx lm constant_tsc rep_good nopl pni pclmulqdq vmx ssse3 cx16 sse4_1 sse4_2 popcnt aes avx hypervisor lahf_lm tpr_shadow vnmi flexpriority ept vpid bogomips : 4000.00 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: [jre/jdk] Oracle JDK 1.7.0.9 [oracle-jdk-bin-1.7] [minecraft executeable] java -Xmx4096M -Xms4096M -Djava.awt.headless=true -Djline.terminal=jline.UnsupportedTerminal -XX:ParallelGCThreads=4 -server -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -Xnoclassgc -XX:UseSSE=3 -XX:PermSize=256M -XX:LargePageSizeInBytes=16M -jar minecraft_server.jar nogui --nojline --log-strip-color true [bukkit] craftbukkit-1.4.2-R0.2-2455.jar Looking to optimize this if possible. Feed back would be great. With ~25+ people online we are getting extensive lag and trying to constantly configure the server for best optimization but running into issues. Any help would be great! Thanks
Do you actually understand what this obscene amount of options actually means and does? And how is your server connected to the interwebs? If the connection doesn't cut it, no tweaking of Java, CPU or RAM will help.
You can google them to see what each of them actually does. The problem is that most people use them without really understanding how they work and for which hardware and setup they should be used. In general, you are good with only using Xincgc, Xmx and Xms.
You are running the server on a 2GHz p/core processor. You might need a stronger CPU to handle more players. (Minecraft/Bukkit is single-threaded)