[Help] Increase Server Tick Rate & Performance

Discussion in 'Bukkit Help' started by eNkrypt, Feb 27, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    eNkrypt

    I am currently experiencing lots of lag and a pretty bad tick rate on my Minecraft server. The server tends to have around 30-40 people on at any given time.
    My server specs are as follows:

    Dual Intel Xeon 5420
    2.5Ghz - 2 processors
    8 Cores / 8 Threads
    8GB DDR3 RAM
    250GB Hard Drive
    100Mbit Unmetered Monthly Transfer
    CentOS 6.3 Final 64 bit
    java version "1.7.0_09-icedtea"
    OpenJDK Runtime Environment (rhel-2.3.5.3.el6_3-x86_64)
    OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

    Running McMyAdmin using the latest developer build of Bukkit with the following java configurations in the mcmyadmin.conf file:

    Code:
    Java.Path=detect
    Java.Memory=7168
    Java.VM=client
    Java.GC=concurrent
    Java.useIKVM=False
    Java.IKVMpath=
    Java.CustomOpts=-Xss4096K -XX:+AggressiveOpts -XX:MaxTenuringThreshold=15 -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:+UseBiasedLocking -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+UseLargePages -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -XX:+CMSParallelRemarkEnabled -XX:MaxGCPauseMillis=50 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:SurvivorRatio=8 -XX:UseSSE=3 -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedStrings -XX:+UseCompressedOops -XX:+OptimizeStringConcat
    
    Here is a list of the plugins installed:
    Code:
    BKCommonLib  1.45
    BetterEnderChest  1.1.4
    ChatManager  1.19.1
    ColorMe  3.5
    CommandBook 2.2
    DisguiseCraft 4.4
    DispNameChanger 5.8.0
    Dispensator 1.0.0
    GriefPrevention 7.1.3
    LogBlock 1.70
    BukkitCompat R22A
    Modifyworld 1.19.4
    Multiverse-Core 2.5-b654
    Multiverse-NetherPortals 2.5-b651
    Multiverse-Portals 2.5-b672
    NoCheatPlus 3.8.9-b353
    NoLagg 1.89.6
    PermissionsEx 1.19.5
    PlugMan 1.7.2
    powerNBT 0.3.3
    ProtocolLib 2.2.0
    RedstoneClockDetector 0.2.7
    ServerQueue 0.3.0
    Shopkeepers 1.11
    Spectate 1.9.1
    VanishNoPacket 3.15
    WorldBorder 1.6.1
    WorldEdit 5.5.1
    WorldGuard 747-e3dfc6a
    ServerSave 1.4
    Here the NoLagg monitor:
    Memory: 564/7101MB (+2 MB/s)
    Ticks per second: 2.9 (14.0%)
    Chunks: 6678 [4374 U] [+533] [+0] [-545] [0 lighting]
    Entities: 6360 [4972 mobs] [559 items] [0 TNT] [47 Players]
    Packet compression busy: 1.61% busy
    Chunk sending: 100% at 2.0 chunks/tick (2.0 avg)
    Packet buffer size: 0.0%
    Dynamic view distance: 5 chunks

    The NoLagg Examination:
    [​IMG]

    Examiner File:
    http://enkrypt.me/examiner.zip

    I experience about a 2.9 tick when the server has roughly 45 people on it. Is their anything that I could possibly do in order to resolve this tick? I know I have seen people with servers similar to mine have 30+ people with a 14 or so tick. Any help would be greatly appreciated!

    Thanks,
    Christopher
     
  2. At least try:
    - Make sure plugin versions are matching server version (and also are not versions known to cause trouble). At least don't ignore errors in the log (warning and severe levels).
    - Turn off features that you don't need or configure features to the necessary minimum. For instance NoCheatPlus console and/or file logging, WorldGuard player move use if not needed.
    - Adjust settings on a per world basis where possible, needs more knowledge about what worlds do what on your server.
    - Take timings (2 - 10 million moving events would be like minimal), make a nolagg examine for a laggy moment.
     
  3. Offline

    eNkrypt

    I have updated the main post with a screenshot of the NoLagg Examine.

    All plugins are up-to-date and are managed by McMyAdmin.
    All of the plugins I use have been configured to only use what we need them to use.
     
  4. Managed by McMyAdmin? It does not auto-update, does it?

    Can you send/post the examine file? I would like to have a closer look.

    It's running on 1.4.7 i assume? Could you still post plugin versions?
     
  5. Offline

    eNkrypt

    Well you are correct in stating that it does not update plugins, I do however update them once I see that they are outdated. I will update the server post will the current plugin version and the examiner file.
     
  6. Thanks. This examine was a 3-tps phase?

    There are no really extreme lag spikes in the plugin view, but the number of medium to heavy spikes does not seem to be very small.

    I can't judge it right now.

    Another thing to investigate is, if 100 mobs per player is really optimal. The above data showed like 5000 mobs with 50 players online. The number 5000 seems itself pretty high, though i am not too familiar with what servers can take on that account. Given this amount of mobs one might investigate if the EntityMoveEvent provided by BKCommonLib is in use, and if so: if it can be disabled (i currently don't know if it can be disabled etc., but it certainly is a good bit of overhead even if no plugin is using the event).

    Edit: 100 mobs around a player makes sense in terms of Minecraft (populating all the caves etc.), but of course it is pretty heavy adding up. I doubt that 300 slot servers have 30000 mobs at a time, but one never knows...
     
Thread Status:
Not open for further replies.

Share This Page