Low TPS - new host?

Discussion in 'Performance Tweaking' started by Cichusek, Aug 26, 2013.

  1. Hey..
    I'm installed bungeecord ~2 weeks ago and everything was fine..
    But now I have online 380-450 players.
    I have 4 servers running on bungee:
    hub/lobby - there is ~30 players online, tps 20.0
    pvp - 70-90 players online, tps 20.0
    skyblock s1 - 150-180 players online, tps.. 10.x-19.x
    skyblock s2 - same.

    but when I run 1 server without bungee I have 200 players online and 19.x tps.
    pvp is running on 6gb ram, skyblock s1 and s2 on xms 6gb, xmx 13gb.

    I think it's again cpu problem, and bungee didn't help so much.
    I have a dedicated server from ovh, with 32gb ram, 2x 120gb ssd, and cpu e3-1245v2.
    I search a better server, but I can't find it.
    I'm from Poland, I think servers from USA aren't good for Europe due to the ping.

    timings skyblock s1: http://aikar.co/timings.php?url=6028329
    skyblock s2: http://aikar.co/timings.php?url=6028330

    Now I pay ~110$ for dedicated server.
    I can pay max 300-400$.
    Anyone have any ideas what else can I do?

    edit:
    I almost forgot, cpu load at 60-70%, ram 50-70%.
     
  2. Dmck2b

    Services Staff

    Disable the Player move event in Worldguard will cut some CPU off.

    If you post your spigot.yml here, I can make a few changes if you want.

    Chickens are also taking up a decent chunk of your CPU time, probably huge farms.
     
  3. Code (Text):
    config-version: 3
    settings:
      log-filters:
      - ^(.*)(/login)(.*)$
      prevent-proxies: true
      bungeecord-addresses:
      - 127.0.0.1
      bungeecord: true
      timeout-time: 300
      restart-on-crash: true
      restart-script: ./start.sh
      netty-threads: 3
      snapshot-protocol: false
    commands:
      spam-exclusions:
      - /skill
      log: false
      tab-complete: false
    listeners:
    - port: default
      host: default
      netty: true
    messages:
      whitelist: Trwa naprawa/modyfikacja serwera! Poczekaj az skonczymy!
      unknown-command: Nieznana komenda. Wpisz /wyspa, by uzyskac liste komend wyspy.
      server-full: Serwer jest pelny!
      outdated-client: Twoj klient gry jest stary! Polecamy nasz launcher dostepny na stronie sky-land.pl
      outdated-server: Serwer dziala na starszej wersji gry! Wkrotce zostanie zaktualizowany.
    world-settings:
      default:
        verbose: false
        growth:
          cactus-modifier: 100
          cane-modifier: 100
          melon-modifier: 100
          mushroom-modifier: 100
          pumpkin-modifier: 100
          sapling-modifier: 100
          wheat-modifier: 100
        entity-activation-range:
          animals: 16
          monsters: 16
          misc: 4
        entity-tracking-range:
          players: 20
          animals: 20
          monsters: 20
          misc: 16
          other: 64
        ticks-per:
          hopper-check: 16
          hopper-transfer: 16
        random-light-updates: false
        anti-xray:
          enabled: false
          engine-mode: 1
          blocks:
          - 1
          - 5
          - 14
          - 15
          - 16
          - 21
          - 48
          - 49
          - 54
          - 56
          - 73
          - 74
          - 82
          - 129
          - 130
        mob-spawn-range: 4
        view-distance: 3
        chunks-per-tick: 250
        merge-radius:
          exp: 3.0
          item: 2.5
        monsters-per-chunk: 5
        land-creatures-per-chunk: 8
        water-creatures-per-chunk: 3
    I have disabled weather with plugin.
    And now I disabled player move event too.
    Hm.. on skyblock servers players can have max 25 animals on island. When trying to spawn a new animal is automatically canceled.
     
  4. Dmck2b

    Services Staff

    Converted it over to the latest spigot.yml as of build 1086, removed the redundant flags and dropped some of the others.

    Code (Text):
    # This is the main configuration file for Spigot.
    # As you can see, there's tons to configure. Some options may impact gameplay, so use
    # with caution, and make sure you know what each option does before configuring.
    # For a reference for any variable inside this file, check out the Spigot wiki at
    # http://www.spigotmc.org/wiki/spigot-configuration/
    #
    # If you need help with the configuration or have any questions related to Spigot,
    # join us at the IRC or drop by our forums and leave a post.
    #
    # IRC: #spigot @ irc.esper.net ( http://webchat.esper.net/?channel=spigot )
    # Forums: http://www.spigotmc.org/forum/
     
    config-version: 3
    commands:
      tab-complete: false
      spam-exclusions:
      - /skill
      log: false
    listeners:
    - port: default
      host: default
      netty: true
    settings:
      netty-threads: 3
      log-filters:
      - ^(.*)(/login)(.*)$
      prevent-proxies: true
      bungeecord-addresses:
      - 127.0.0.1
      bungeecord: true
      timeout-time: 300
      restart-on-crash: true
      restart-script: ./start.sh
    messages:
      whitelist: Trwa naprawa/modyfikacja serwera! Poczekaj az skonczymy!
      unknown-command: Nieznana komenda. Wpisz /wyspa, by uzyskac liste komend wyspy.
      server-full: Serwer jest pelny!
      outdated-client: Twoj klient gry jest stary! Polecamy nasz launcher dostepny na stronie sky-land.pl
      outdated-server: Serwer dziala na starszej wersji gry! Wkrotce zostanie zaktualizowany.
    world-settings:
      default:
        verbose: false
        view-distance: 3
        merge-radius:
          exp: 3.0
          item: 2.5
        chunks-per-tick: 150
        mob-spawn-range: 2
        growth:
          cactus-modifier: 50
          cane-modifier: 75
          melon-modifier: 75
          mushroom-modifier: 75
          pumpkin-modifier: 75
          sapling-modifier: 75
          wheat-modifier: 75
        entity-activation-range:
          animals: 8
          monsters: 16
          misc: 4
        entity-tracking-range:
          players: 20
          animals: 20
          monsters: 20
          misc: 16
          other: 47
        anti-xray:
          enabled: false
          engine-mode: 1
          blocks:
          - 1
          - 5
          - 14
          - 15
          - 16
          - 21
          - 48
          - 49
          - 54
          - 56
          - 73
          - 74
          - 82
          - 129
          - 130
        ticks-per:
          hopper-transfer: 16
        random-light-updates: false
     
     
    • Like Like x 1
  5. is a little better.. thanks.
     
  6. I was wondering, maybe it's not a problem of CPU?
    With 400 players online, and with 8 maps.. maybe it's a problem ssd?
    I don't use ramdisk, and maybe I should?
    When I turn on /fly, and /speed 10, TPS can fall to 10.x in few seconds.. And my VIPs can flying with normal speed.
     
  7. Dmck2b

    Services Staff

    Thats an I/O issue from the sounds of it.