How can I optimize my serveur (Low TPS)

Status
This thread has been locked.

AzoteBottle

Feedback score
0
Posts
13
Reactions
0
Resources
0
Hey,

I've got a dedicated server, look at his configuration :
Intel i7-7700K
4c/8t - 4,2GHz /4,5GHz
64Go DDR4 2400 MHz
SoftRaid 2x450Go NVMe
250 Mbps bandwith

But, my server lose frequently his TPS ... (It's around 13TPS with 80 players ...)
Maps are already load so I don't understand

Paper.yml
Code:
# This is the main configuration file for Paper.
# 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.
#
# If you need help with the configuration or have any questions related to Paper,
# join us in our IRC channel.
#
# IRC: #paper @ irc.spi.gt ( http://irc.spi.gt/iris/?channels=paper )
# Wiki: https://paper.readthedocs.org/
# Paper Forums: https://aquifermc.org/

verbose: false
config-version: 14
settings:
  load-permissions-yml-before-plugins: true
  bungee-online-mode: true
  sleep-between-chunk-saves: false
  region-file-cache-size: 256
  save-empty-scoreboard-teams: false
  incoming-packet-spam-threshold: 300
  remove-invalid-statistics: false
  use-versioned-world: false
  save-player-data: true
  min-chunk-load-threads: 2
  suggest-player-names-when-null-tab-completions: true
  watchdog:
    early-warning-every: 5000
    early-warning-delay: 10000
  spam-limiter:
    tab-spam-increment: 2
    tab-spam-limit: 500
  enable-player-collisions: true
  player-auto-save-rate: -1
  max-player-auto-save-per-tick: -1
  use-alternative-luck-formula: false
messages:
  kick:
    authentication-servers-down: ''
    flying-player: Flying is not enabled on this server
    flying-vehicle: Flying is not enabled on this server
timings:
  enabled: true
  verbose: true
  server-name-privacy: false
  hidden-config-entries:
  - database
  - settings.bungeecord-addresses
  history-interval: 300
  history-length: 3600
world-settings:
  default:
    remove-corrupt-tile-entities: false
    use-chunk-inhabited-timer: true
    queue-light-updates: false
    fishing-time-range:
      MinimumTicks: 100
      MaximumTicks: 600
    optimize-explosions: true
    use-vanilla-world-scoreboard-name-coloring: false
    delay-chunk-unloads-by: 10s
    max-auto-save-chunks-per-tick: 24
    save-queue-limit-for-auto-save: 50
    enable-treasure-maps: true
    treasure-maps-return-already-discovered: false
    max-chunk-sends-per-tick: 81
    max-chunk-gens-per-tick: 10
    game-mechanics:
      scan-for-legacy-ender-dragon: true
      disable-chest-cat-detection: true
      disable-end-credits: false
      disable-player-crits: false
      disable-sprint-interruption-on-attack: false
      shield-blocking-delay: 5
      disable-unloaded-chunk-enderpearl-exploit: true
    max-growth-height:
      cactus: 3
      reeds: 3
    portal-search-radius: 128
    despawn-ranges:
      soft: 28
      hard: 96
    falling-block-height-nerf: 0
    tnt-entity-height-nerf: 0
    frosted-ice:
      enabled: true
      delay:
        min: 20
        max: 40
    lootables:
      auto-replenish: false
      restrict-player-reloot: true
      reset-seed-on-fill: true
      max-refills: -1
      refresh-min: 12h
      refresh-max: 2d
    filter-nbt-data-from-spawn-eggs-and-related: true
    max-entity-collisions: 8
    disable-creeper-lingering-effect: false
    hopper:
      cooldown-when-full: true
      disable-move-event: true
    duplicate-uuid-resolver: saferegen
    duplicate-uuid-saferegen-delete-range: 32
    keep-spawn-loaded-range: 4
    disable-thunder: false
    skeleton-horse-thunder-spawn-chance: 0.01
    disable-ice-and-snow: false
    fire-physics-event-for-redstone: false
    auto-save-interval: -1
    keep-spawn-loaded: true
    anti-xray:
      enabled: true
      engine-mode: 1
      chunk-edge-mode: 1
      max-chunk-section-index: 3
      update-radius: 2
      hidden-blocks:
      - gold_ore
      - iron_ore
      - coal_ore
      - lapis_ore
      - mossy_cobblestone
      - obsidian
      - chest
      - diamond_ore
      - redstone_ore
      - lit_redstone_ore
      - clay
      - emerald_ore
      - ender_chest
      replacement-blocks:
      - stone
      - planks
    experience-merge-max-value: -1
    skip-entity-ticking-in-chunks-scheduled-for-unload: true
    armor-stands-do-collision-entity-lookups: true
    grass-spread-tick-rate: 2
    water-over-lava-flow-speed: 5
    bed-search-radius: 1
    nether-ceiling-void-damage: false
    allow-non-player-entities-on-scoreboards: false
    container-update-tick-rate: 2
    non-player-arrow-despawn-rate: -1
    prevent-tnt-from-moving-in-water: false
    parrots-are-unaffected-by-player-movement: false
    disable-explosion-knockback: false
    armor-stands-tick: true
    spawner-nerfed-mobs-should-jump: false
    allow-leashing-undead-horse: false
    baby-zombie-movement-speed: 0.5
    all-chunks-are-slime-chunks: false
    mob-spawner-tick-rate: 2
    squid-spawn-height:
      maximum: 0.0
    disable-teleportation-suffocation-check: false

spigot.yml
Code:
# 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.spi.gt ( http://www.spigotmc.org/pages/irc/ )
# Forums: http://www.spigotmc.org/

config-version: 11
settings:
  save-user-cache-on-stop-only: true
  sample-count: 12
  timeout-time: 60
  restart-on-crash: true
  restart-script: ./start.sh
  netty-threads: 4
  bungeecord: false
  late-bind: false
  player-shuffle: 0
  user-cache-size: 1000
  moved-wrongly-threshold: 0.0625
  moved-too-quickly-multiplier: 10.0
  attribute:
    maxHealth:
      max: 2048.0
    movementSpeed:
      max: 2048.0
    attackDamage:
      max: 2048.0
  debug: false
messages:
  whitelist: Une maintenance est en cours! Reviens plus tard
  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
stats:
  disable-saving: false
  forced-stats: {}
commands:
  tab-complete: 0
  send-namespaced: true
  log: true
  spam-exclusions:
  - /skill
  silent-commandblock-console: false
  replace-commands:
  - setblock
  - summon
  - testforblock
  - tellraw
advancements:
  disable-saving: false
  disabled:
  - minecraft:story/disabled
world-settings:
  default:
    verbose: true
    growth:
      cactus-modifier: 100
      cane-modifier: 100
      melon-modifier: 100
      mushroom-modifier: 100
      pumpkin-modifier: 100
      sapling-modifier: 100
      wheat-modifier: 100
      netherwart-modifier: 100
      vine-modifier: 100
      cocoa-modifier: 100
    entity-activation-range:
      animals: 20
      monsters: 20
      misc: 8
      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
    hopper-amount: 1
    mob-spawn-range: 4
    random-light-updates: false
    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-slime: 987234911
    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-tnt-per-tick: 100
    max-tick-time:
      tile: 1000
      entity: 1000
    squid-spawn-range:
      min: 45.0
    merge-radius:
      exp: 5.0
      item: 4.0
    enable-zombie-pigmen-portal-spawns: true
    item-despawn-rate: 3000
    arrow-despawn-rate: 300
    view-distance: 4
    wither-spawn-sound-radius: 0
    hanging-tick-frequency: 100
    zombie-aggressive-towards-villager: true
    nerf-spawner-mobs: false
    max-entity-collisions: 8

bukkit.yml
Code:
# This is the main configuration file for Bukkit.
# As you can see, there's actually not that much to configure without any plugins.
# For a reference for any variable inside this file, check out the Bukkit Wiki at
# https://www.spigotmc.org/go/bukkit-yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #spigot @ irc.spi.gt
#    (If this means nothing to you, just go to https://www.spigotmc.org/go/irc )
# Forums: https://www.spigotmc.org/
# Bug tracker: https://www.spigotmc.org/go/bugs


settings:
  allow-end: true
  warn-on-overload: true
  permissions-file: permissions.yml
  update-folder: update
  plugin-profiling: false
  connection-throttle: 4000
  query-plugins: true
  deprecated-verbose: default
  shutdown-message: Le serveur redemarre
spawn-limits:
  monsters: 50
  animals: 12
  water-animals: 5
  ambient: 3
chunk-gc:
  period-in-ticks: 400
  load-threshold: 300
ticks-per:
  animal-spawns: 400
  monster-spawns: 2
  autosave: 8000
aliases: now-in-commands.yml

I'm looking for help to optimize as much as possible.
Thanks
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Stefatorus

Experienced Java Developer & SysAdmin
Premium
Feedback score
7
Posts
0
Reactions
99
Resources
0
Proper optimization can only be done once we know what type of server you have and what lag comes from.
We need a timings report along with a description of your minigame so we can know what we can tune down and what needs to be kept intact for gameplay reasons.

If you are interested in a paid service, check this out:
https://www.mc-market.org/threads/405943/#post-3392317
 
Last edited:

Zeiyon

Making cool stuff
Supreme
Feedback score
111
Posts
2,281
Reactions
1,244
Resources
9
Yea, it might be some specific plugins that aren't well optimized. You might want to hire a professional for this.

Professional = someone who knows what he's doing. That might be hard on MCM.
 

Carry Lord

K9 IRL
Supreme
Feedback score
33
Posts
420
Reactions
197
Resources
0
Hey,

I've got a dedicated server, look at his configuration :
Intel i7-7700K
4c/8t - 4,2GHz /4,5GHz
64Go DDR4 2400 MHz
SoftRaid 2x450Go NVMe
250 Mbps bandwith

But, my server lose frequently his TPS ... (It's around 13TPS with 80 players ...)
Maps are already load so I don't understand

Paper.yml
Code:
# This is the main configuration file for Paper.
# 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.
#
# If you need help with the configuration or have any questions related to Paper,
# join us in our IRC channel.
#
# IRC: #paper @ irc.spi.gt ( http://irc.spi.gt/iris/?channels=paper )
# Wiki: https://paper.readthedocs.org/
# Paper Forums: https://aquifermc.org/

verbose: false
config-version: 14
settings:
  load-permissions-yml-before-plugins: true
  bungee-online-mode: true
  sleep-between-chunk-saves: false
  region-file-cache-size: 256
  save-empty-scoreboard-teams: false
  incoming-packet-spam-threshold: 300
  remove-invalid-statistics: false
  use-versioned-world: false
  save-player-data: true
  min-chunk-load-threads: 2
  suggest-player-names-when-null-tab-completions: true
  watchdog:
    early-warning-every: 5000
    early-warning-delay: 10000
  spam-limiter:
    tab-spam-increment: 2
    tab-spam-limit: 500
  enable-player-collisions: true
  player-auto-save-rate: -1
  max-player-auto-save-per-tick: -1
  use-alternative-luck-formula: false
messages:
  kick:
    authentication-servers-down: ''
    flying-player: Flying is not enabled on this server
    flying-vehicle: Flying is not enabled on this server
timings:
  enabled: true
  verbose: true
  server-name-privacy: false
  hidden-config-entries:
  - database
  - settings.bungeecord-addresses
  history-interval: 300
  history-length: 3600
world-settings:
  default:
    remove-corrupt-tile-entities: false
    use-chunk-inhabited-timer: true
    queue-light-updates: false
    fishing-time-range:
      MinimumTicks: 100
      MaximumTicks: 600
    optimize-explosions: true
    use-vanilla-world-scoreboard-name-coloring: false
    delay-chunk-unloads-by: 10s
    max-auto-save-chunks-per-tick: 24
    save-queue-limit-for-auto-save: 50
    enable-treasure-maps: true
    treasure-maps-return-already-discovered: false
    max-chunk-sends-per-tick: 81
    max-chunk-gens-per-tick: 10
    game-mechanics:
      scan-for-legacy-ender-dragon: true
      disable-chest-cat-detection: true
      disable-end-credits: false
      disable-player-crits: false
      disable-sprint-interruption-on-attack: false
      shield-blocking-delay: 5
      disable-unloaded-chunk-enderpearl-exploit: true
    max-growth-height:
      cactus: 3
      reeds: 3
    portal-search-radius: 128
    despawn-ranges:
      soft: 28
      hard: 96
    falling-block-height-nerf: 0
    tnt-entity-height-nerf: 0
    frosted-ice:
      enabled: true
      delay:
        min: 20
        max: 40
    lootables:
      auto-replenish: false
      restrict-player-reloot: true
      reset-seed-on-fill: true
      max-refills: -1
      refresh-min: 12h
      refresh-max: 2d
    filter-nbt-data-from-spawn-eggs-and-related: true
    max-entity-collisions: 8
    disable-creeper-lingering-effect: false
    hopper:
      cooldown-when-full: true
      disable-move-event: true
    duplicate-uuid-resolver: saferegen
    duplicate-uuid-saferegen-delete-range: 32
    keep-spawn-loaded-range: 4
    disable-thunder: false
    skeleton-horse-thunder-spawn-chance: 0.01
    disable-ice-and-snow: false
    fire-physics-event-for-redstone: false
    auto-save-interval: -1
    keep-spawn-loaded: true
    anti-xray:
      enabled: true
      engine-mode: 1
      chunk-edge-mode: 1
      max-chunk-section-index: 3
      update-radius: 2
      hidden-blocks:
      - gold_ore
      - iron_ore
      - coal_ore
      - lapis_ore
      - mossy_cobblestone
      - obsidian
      - chest
      - diamond_ore
      - redstone_ore
      - lit_redstone_ore
      - clay
      - emerald_ore
      - ender_chest
      replacement-blocks:
      - stone
      - planks
    experience-merge-max-value: -1
    skip-entity-ticking-in-chunks-scheduled-for-unload: true
    armor-stands-do-collision-entity-lookups: true
    grass-spread-tick-rate: 2
    water-over-lava-flow-speed: 5
    bed-search-radius: 1
    nether-ceiling-void-damage: false
    allow-non-player-entities-on-scoreboards: false
    container-update-tick-rate: 2
    non-player-arrow-despawn-rate: -1
    prevent-tnt-from-moving-in-water: false
    parrots-are-unaffected-by-player-movement: false
    disable-explosion-knockback: false
    armor-stands-tick: true
    spawner-nerfed-mobs-should-jump: false
    allow-leashing-undead-horse: false
    baby-zombie-movement-speed: 0.5
    all-chunks-are-slime-chunks: false
    mob-spawner-tick-rate: 2
    squid-spawn-height:
      maximum: 0.0
    disable-teleportation-suffocation-check: false

spigot.yml
Code:
# 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.spi.gt ( http://www.spigotmc.org/pages/irc/ )
# Forums: http://www.spigotmc.org/

config-version: 11
settings:
  save-user-cache-on-stop-only: true
  sample-count: 12
  timeout-time: 60
  restart-on-crash: true
  restart-script: ./start.sh
  netty-threads: 4
  bungeecord: false
  late-bind: false
  player-shuffle: 0
  user-cache-size: 1000
  moved-wrongly-threshold: 0.0625
  moved-too-quickly-multiplier: 10.0
  attribute:
    maxHealth:
      max: 2048.0
    movementSpeed:
      max: 2048.0
    attackDamage:
      max: 2048.0
  debug: false
messages:
  whitelist: Une maintenance est en cours! Reviens plus tard
  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
stats:
  disable-saving: false
  forced-stats: {}
commands:
  tab-complete: 0
  send-namespaced: true
  log: true
  spam-exclusions:
  - /skill
  silent-commandblock-console: false
  replace-commands:
  - setblock
  - summon
  - testforblock
  - tellraw
advancements:
  disable-saving: false
  disabled:
  - minecraft:story/disabled
world-settings:
  default:
    verbose: true
    growth:
      cactus-modifier: 100
      cane-modifier: 100
      melon-modifier: 100
      mushroom-modifier: 100
      pumpkin-modifier: 100
      sapling-modifier: 100
      wheat-modifier: 100
      netherwart-modifier: 100
      vine-modifier: 100
      cocoa-modifier: 100
    entity-activation-range:
      animals: 20
      monsters: 20
      misc: 8
      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
    hopper-amount: 1
    mob-spawn-range: 4
    random-light-updates: false
    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-slime: 987234911
    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-tnt-per-tick: 100
    max-tick-time:
      tile: 1000
      entity: 1000
    squid-spawn-range:
      min: 45.0
    merge-radius:
      exp: 5.0
      item: 4.0
    enable-zombie-pigmen-portal-spawns: true
    item-despawn-rate: 3000
    arrow-despawn-rate: 300
    view-distance: 4
    wither-spawn-sound-radius: 0
    hanging-tick-frequency: 100
    zombie-aggressive-towards-villager: true
    nerf-spawner-mobs: false
    max-entity-collisions: 8

bukkit.yml
Code:
# This is the main configuration file for Bukkit.
# As you can see, there's actually not that much to configure without any plugins.
# For a reference for any variable inside this file, check out the Bukkit Wiki at
# https://www.spigotmc.org/go/bukkit-yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #spigot @ irc.spi.gt
#    (If this means nothing to you, just go to https://www.spigotmc.org/go/irc )
# Forums: https://www.spigotmc.org/
# Bug tracker: https://www.spigotmc.org/go/bugs


settings:
  allow-end: true
  warn-on-overload: true
  permissions-file: permissions.yml
  update-folder: update
  plugin-profiling: false
  connection-throttle: 4000
  query-plugins: true
  deprecated-verbose: default
  shutdown-message: Le serveur redemarre
spawn-limits:
  monsters: 50
  animals: 12
  water-animals: 5
  ambient: 3
chunk-gc:
  period-in-ticks: 400
  load-threshold: 300
ticks-per:
  animal-spawns: 400
  monster-spawns: 2
  autosave: 8000
aliases: now-in-commands.yml

I'm looking for help to optimize as much as possible.
Thanks
that tps with that low players on that hardware is plugin issue most likely post a timings tag me
 
Status
This thread has been locked.
Top