TPS is great but still getting lag

Discussion in 'Performance Tweaking' started by chrsgddrd, May 10, 2015.

  1. I get bouts of lag about every 5 seconds. All players online have reported the same issues to me. As you can see the TPS is great, but something is still causing lag spikes. http://timings.aikar.co/?url=11063029

    Code (Text):
    config-version: 8
    settings:
      debug: false
      save-user-cache-on-stop-only: false
      bungeecord: true
      late-bind: false
      sample-count: 12
      player-shuffle: 0
      filter-creative-items: true
      user-cache-size: 1000
      int-cache-limit: 1024
      moved-wrongly-threshold: 0.0625
      moved-too-quickly-threshold: 100.0
      timeout-time: 60
      restart-on-crash: true
      restart-script: ./start.sh
      netty-threads: 4
      attribute:
        maxHealth:
          max: 2048.0
        movementSpeed:
          max: 2048.0
        attackDamage:
          max: 2048.0
      global-api-cache: false
    messages:
      whitelist: You are not whitelisted on this server!
      unknown-command: Unknown command. Type "/help" for help.
      server-full: The server is full!
      outdated-client: Outdated client! Please use {0}
      outdated-server: Outdated server! I'm still on {0}
      restart: Server is restarting
    commands:
      tab-complete: 0
      log: true
      spam-exclusions:
      - /skill
      silent-commandblock-console: false
      replace-commands:
      - setblock
      - summon
      - testforblock
      - tellraw
    stats:
      disable-saving: false
      forced-stats: {}
    world-settings:
      default:
        verbose: true
        anti-xray:
          enabled: false
          engine-mode: 1
          hide-blocks:
          - 14
          - 15
          - 16
          - 21
          - 48
          - 49
          - 54
          - 56
          - 73
          - 74
          - 82
          - 129
          - 130
          replace-blocks:
          - 1
          - 5
        nerf-spawner-mobs: false
        growth:
          cactus-modifier: 800
          cane-modifier: 800
          melon-modifier: 800
          mushroom-modifier: 800
          pumpkin-modifier: 800
          sapling-modifier: 800
          wheat-modifier: 800
        entity-activation-range:
          animals: 16
          monsters: 12
          misc: 2
        entity-tracking-range:
          players: 48
          animals: 48
          monsters: 48
          misc: 32
          other: 64
        mob-spawn-range: 4
        ticks-per:
          hopper-transfer: 12
          hopper-check: 12
        hopper-amount: 1
        random-light-updates: false
        save-structure-info: true
        max-bulk-chunks: 5
        max-entity-collisions: 3
        dragon-death-sound-radius: 0
        seed-village: 10387312
        seed-feature: 14357617
        hunger:
          walk-exhaustion: 0.2
          sprint-exhaustion: 0.8
          combat-exhaustion: 0.3
          regen-exhaustion: 3.0
        max-tnt-per-tick: 100
        max-tick-time:
          tile: 10
          entity: 20
        item-despawn-rate: 6000
        merge-radius:
          item: 4.0
          exp: 6.0
        arrow-despawn-rate: 1200
        enable-zombie-pigmen-portal-spawns: true
        wither-spawn-sound-radius: 0
        view-distance: 6
        hanging-tick-frequency: 100
        zombie-aggressive-towards-villager: true
        chunks-per-tick: 80
        clear-tick-list: false
        hopper-alt-ticking: false
     
    Can anyone help? Is it my host? What am I doing wrong?
     
  2. Try restarting your server every day to avoid this.
    Tell me if it works.
     
  3. This is most likely internet issue with the server. TPS is great, timings are great. Only reason to lag players every 5 seconds would be caused by bandwidth throttling or something related to the internet connection.
     
    • Agree Agree x 1
  4. Thanks guys. I've been doing some reading and it seems like MCPRO has just god awful memory leak issues with their multicraft. Guess I need to start looking for a dedi. I'll message MCPRO and see what they have to say.

    Timings report was taken 22 minutes after restart. I set up scheduled tasks to stop/start the server once a day. Thanks.
     
  5. I personally don't ever use baby programs to run a server. Just buy a VPS or a dedi and launch your server from good old command line. Less bloat = less problems.
     
  6. Same here, the easy way is not always the best way
     
    • Agree Agree x 2
  7. [​IMG]
    You only ran timings for 3 seconds... Please let it run for a longer amount of time..
     
  8. what is your server stats, when you use the /gc ?
     
  9. what is tps? sorry i dont know
     
  10. Ticks Per Second, one second has 20 minecraft ticks in it. The whole minecraft processing depends on ticks as time measurement for actions such as plants growing, but plugins also use this timing system for their own actions.

    Class dismissed.