Low TPS!

Discussion in 'Performance Tweaking' started by Bouger, Jun 26, 2013.

  1. Lately I am having low tps when the server is full (175/175).
    My dedicated server:
    32 gb ram
    120 ssd
    10 TB traffic
    100 mbps.
    e1240-v2 3.4 ghz.

    Timings: http://aikar.co/timings.php?url=5800046

    Thank you!
  2. joehot200


    Everything is fine and perfect except for your Entity Ticking, Try turning down the Entity Activation Range in your bukkit.yml
  3. This is my configuration of my world:

    growth-chunks-per-tick: 650
    mob-spawn-range: 4
    random-light-updates: false
    aggregate-chunkticks: 4
    item-merge-radius: 3.5
    exp-merge-radius: 3.5
    wheat-growth-modifier: 100
    cactus-growth-modifier: 100
    melon-growth-modifier: 100
    pumpkin-growth-modifier: 100
    sugar-growth-modifier: 100
    tree-growth-modifier: 100
    mushroom-growth-modifier: 100
    entity-activation-range-animals: 32
    entity-activation-range-monsters: 32
    entity-activation-range-misc: 16
    entity-tracking-range-players: 48
    entity-tracking-range-animals: 48
    entity-tracking-range-monsters: 48
    entity-tracking-range-misc: 32
    entity-tracking-range-max: 64
    info: true

    What would be the recommended change?.
  4. joehot200


    growth-chunks-per-tick: 650 - turn down to 500

    entity-activation-range-animals: 32 - Turn down to about 20
    entity-activation-range-monsters: 32 - ^
    entity-activation-range-misc: 16 - Only needs to be about 6
  5. Just half the chunks loading and tune down view distance if you really want a tuned performance at your thresh hold.
  6. joehot200


    EntityTick is still quite high - try turning down the Entity Activation Range in your bukkit.yml even more, or making less entities spawn.
    You could also remove every entity in the world after about 5 hours with a plugin.
  7. Isn't in the spigot.yml
  8. How about setting up automatic reboots on your server?

    I've found that rebooting mine every 12 hours keeps the server at a healthy TPS.
    • Agree Agree x 1
  9. joehot200


    Get a plugin that automatically shuts down your server after a certain time, then change your start script to this:

    while true
    <Your command line here> (e.g. java -Xincgc -Xmx4000M -jar craftbukkit.jar)
    echo Its off.. sleeping for 5 seconds
    sleep 5
  10. Or you can use RemoteToolKit
  11. Quoting vemacs:
    This would also do well for scheduling restarts.
  12. I personally use McMyAdmin for the automatic reboots :D