Low TPS 10.26 Spigot 1.14.4

Discussion in 'Spigot Help' started by BlackSkyAG, Aug 14, 2019.

  1. Need your help.
    I followed many instructions for setting up but nothing helps. TPS drops to a low value.
    I tried to reduce the list of plugins (6) to the minimum possible value, but that did not give any result.
    Server map has been fully loaded.
    I also limited the use of pistons, minecart, hoper.
    Also tried to limit the drawing range to 4.

    Used the guide: https://www.spigotmc.org/threads/guide-server-optimization⚡.283181/

    CPU: Intel(R) Xeon(R) E-2176G CPU @ 3.70GHz (12 cores)
    RAM: 32075 MiB
    DISK SSD: 212.97 GiB
    SPIGOT: Latest version 13-Aug-2019 12:15

    config-version: 12
    settings:
    save-user-cache-on-stop-only: true
    bungeecord: true
    sample-count: 12
    player-shuffle: 0
    user-cache-size: 1000
    moved-wrongly-threshold: 0.0625
    moved-too-quickly-multiplier: 10.0
    timeout-time: 60
    restart-on-crash: true
    restart-script: ./start.sh
    netty-threads: 4
    debug: false
    attribute:
    maxHealth:
    max: 2048.0
    movementSpeed:
    max: 2048.0
    attackDamage:
    max: 2048.0
    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:
    log: true
    tab-complete: 0
    send-namespaced: true
    spam-exclusions:
    - /skill
    silent-commandblock-console: false
    replace-commands:
    - setblock
    - summon
    - testforblock
    - tellraw
    advancements:
    disable-saving: false
    disabled:
    - minecraft:story/disabled
    stats:
    disable-saving: false
    forced-stats: {}
    world-settings:
    default:
    verbose: true
    hopper-amount: 1
    dragon-death-sound-radius: 0
    seed-village: 10387312
    seed-desert: 14357617
    seed-igloo: 14357618
    seed-jungle: 14357619
    seed-swamp: 14357620
    seed-monument: 10387313
    seed-shipwreck: 165745295
    seed-ocean: 14357621
    seed-outpost: 165745296
    seed-slime: 987234911
    max-tnt-per-tick: 100
    mob-spawn-range: 4
    arrow-despawn-rate: 300
    view-distance: default
    item-despawn-rate: 3000
    enable-zombie-pigmen-portal-spawns: true
    wither-spawn-sound-radius: 0
    hanging-tick-frequency: 100
    zombie-aggressive-towards-villager: false
    nerf-spawner-mobs: true
    merge-radius:
    exp: 6.0
    item: 4.0
    entity-activation-range:
    animals: 8
    monsters: 24
    raiders: 24
    misc: 12
    tick-inactive-villagers: true
    entity-tracking-range:
    players: 48
    animals: 48
    monsters: 48
    misc: 32
    other: 64
    ticks-per:
    hopper-transfer: 8
    hopper-check: 1
    hunger:
    jump-walk-exhaustion: 0.05
    jump-sprint-exhaustion: 0.2
    combat-exhaustion: 0.1
    regen-exhaustion: 6.0
    swim-multiplier: 0.01
    sprint-multiplier: 0.1
    other-multiplier: 0.0
    max-tick-time:
    tile: 1000
    entity: 1000
    squid-spawn-range:
    min: 45.0
    growth:
    cactus-modifier: 100
    cane-modifier: 100
    melon-modifier: 100
    mushroom-modifier: 100
    pumpkin-modifier: 100
    sapling-modifier: 100
    beetroot-modifier: 100
    carrot-modifier: 100
    potato-modifier: 100
    wheat-modifier: 100
    netherwart-modifier: 100
    vine-modifier: 100
    cocoa-modifier: 100
    bamboo-modifier: 100
    sweetberry-modifier: 100
    kelp-modifier: 100
    settings:
    allow-end: false
    warn-on-overload: true
    permissions-file: permissions.yml
    update-folder: update
    plugin-profiling: false
    connection-throttle: 4000
    query-plugins: false
    deprecated-verbose: default
    shutdown-message: Server closed
    minimum-api: none
    spawn-limits:
    monsters: 50
    animals: 8
    water-animals: 3
    ambient: 1
    chunk-gc:
    period-in-ticks: 400
    ticks-per:
    animal-spawns: 400
    monster-spawns: 4
    autosave: 12000
    aliases: now-in-commands.yml
    spawn-protection=16
    max-tick-time=60000
    query.port=25567
    generator-settings=
    force-gamemode=false
    allow-nether=true
    enforce-whitelist=false
    gamemode=survival
    broadcast-console-to-ops=true
    enable-query=false
    player-idle-timeout=0
    difficulty=hard
    spawn-monsters=true
    broadcast-rcon-to-ops=true
    op-permission-level=1
    pvp=true
    snooper-enabled=true
    level-type=flat
    hardcore=false
    enable-command-block=false
    max-players=100
    network-compression-threshold=-1
    resource-pack-sha1=
    max-world-size=29999984
    function-permission-level=2
    rcon.port=21567
    server-port=25567
    debug=false
    server-ip=127.0.0.1
    spawn-npcs=true
    allow-flight=false
    level-name=world
    view-distance=6
    resource-pack=
    spawn-animals=true
    white-list=false
    rcon.password=
    generate-structures=true
    online-mode=false
    max-build-height=256
    level-seed=
    prevent-proxy-connections=false
    use-native-transport=true
    motd=Name
    enable-rcon=false
    upload_2019-8-14_16-40-23.png
    java -Xms12G -Xms12G -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -jar spigot-1.14.4_13-Aug-2019_12-15.jar
    java -Xms20G -Xms20G -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -jar spigot-1.14.4_13-Aug-2019_12-15.jar
    I’m even ready to pay for solving the problem.
     
    #1 BlackSkyAG, Aug 14, 2019
    Last edited: Aug 14, 2019
  2. >uses aikar's flags
    >doesn't use Paper
    https://papermc.io

    Try using Paper 1.14.4 & then give us some timings. Paper should improve performance by a lot.
     
  3. I used paper in the hope that it helps, but there was no result. But just in case, now I will try to use the standard parameters.
     
  4. java -Xms20G -Xms20G -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -jar spigot-1.14.4_13-Aug-2019_12-15.jar
    I set the recommended parameters but TPS continues to fall to 10...
    I used paper, but the result is the same.
     
  5. Can you provide timings with Paper? It will help diagnose problems better.

    Also, If your players have a lot of mobs (ex. cows, chickens, etc) inside of a single block, entity collision calculations will be taxing to the server. Ask players to put vines in these 1 block holes, and the server will no longer do these calculations, and make less lag. Simple tip :)

    And another small thing, 11.25% of the tick is taken from Hoppers in the original timings you posted, try changing
    ticks-per hopper-check from default value 1 to 2 or 3.
     
  6. We cannot provide support here if he decides to use paper. But yes look into it possibly. Seems to me like you have a lot of entities causing performance issues. I am not very knowledgeable in reading timings but from what I tell that is an issue. And a big one at that. Try to tweak your server settings and look into plugins like clearlag or stacking plugins. Also on one of my servers dynmap stopped rendering tiles for some reason and got super bogged down with tons of renders just waiting after removing dynamp it improved performance immensely, so you might want to look into that.
     
  7. 1.14 = lag
    There is no fix bud, sorry.
     
    • Optimistic Optimistic x 3
  8. Not really. Yeah 1.14.4 has its downfalls but with proper configuration and precautions it can run smoothly.
     
  9. I already tried, also tried to practically turn off animals.

    I think StealWonders is right ...
    This version is not able to withstand more than 40 players. I'm not talking about my number of 90 players. I can’t even imagine how 40 players can take up 28 gigabytes of memory.

    UPD
    But I'm still waiting for a hero who can tell me the decision makers. Due to the new card format, a return to an older version is not possible ...
    UPD 2
    Thank you very much everyone who responded to this difficult problem !!
     
  10. I have clearlagg and it has helped the TPS , TPS stays about where it should . My problem is that the CPU usage continually rises until it is unplayable and I have to restart server :( . Not meaning to take over this OP , but I saw someone say "proper configuration and precautions it can run smoothly." , is there any documentation written yet to help with these setting or steps to take ?
     
  11. Ight, you do you but I meant to use paper for a timing report because it gives 10x more info and way more accurate.
     
  12. You have some options. Some of them are the likes of paper and other forks or if you wish to not use them that's still ok. Have you tried preloading your chunks?
     
  13. I already wrote that the card was completely submerged. If everything was so simple, then the problem would not require someone else's help.
    Thanks response
     
  14. Celebrimbor

    Patron

    The card is completely submerged you say? Well then, seems like you got it all figured out.
     
  15. No, I didn’t understand anything. Since this is not the case. The map was processed several times by the plugin WorldBorder
     
  16. OK so evidentally , I decided to try Paper for myself and the claims just did not stand up . So here is the timings :
    https://timings.aikar.co/?id=a4de10b6c6ba4e6b9eaa2e3f1e422282
     
  17. Celebrimbor

    Patron

    There is no lag in that timings. :unsure:

    Also, you can get more out of Spigot and Paper by applying the guide in my signature. As of now, you have taken little effort to optimize.
     
  18. Update your plugins! For example, Citizens2 (which is pointed to be heavy on your timings) is on build 1732 on your server, while the dev build 1743 is out...