KaiijuMC / Kaiiju

Folia fork for anarchists.
GNU General Public License v3.0
178 stars 21 forks source link

The sudden drop in TPS is very strange #82

Closed starmc63 closed 1 year ago

starmc63 commented 1 year ago

Expected behavior

Profile link http://1.15.172.154/config.zip

the view distance and the simulation distance is 8.

Device information: CPU : AMD r9 7950x 16core 32thread RAM : ddr5 c40 64g 4800mhz Network: 100Mbps Upload SSD:INTEL P4510 2T [18:59:46 INFO]: Server Health Report

Online Players: 172 Total regions: 74 Utilisation: 1,088.9% / 2,400.0% Load rate: 297.27, Gen rate: 0.60 Lowest Region TPS: 11.22 Median Region TPS: 12.29 Highest Region TPS: 16.15 Highest 3 utilisation regions Region around block [w:'world',9543,80,-8137]: 71.5% util at 63.11 MSPT at 11.71 TPS Chunks: 1,962 Players: 6 Entities: 2,224 Region around block [w:'world_nether',871,80,167]: 70.9% util at 60.80 MSPT at 12.04 TPS Chunks: 861 Players: 9 Entities: 2,385 Region around block [w:'world',4119,80,-569]: 60.5% util at 52.75 MSPT at 12.07 TPS Chunks: 628 Players: 4 Entities: 1,691

Server config files paper-global.yml: _version: 28 block-updates: disable-noteblock-updates: false disable-tripwire-updates: false chunk-loading: autoconfig-send-distance: true enable-frustum-priority: false global-max-chunk-load-rate: -1.0 global-max-chunk-send-rate: -1.0 global-max-concurrent-loads: 500.0 max-concurrent-sends: 2 min-load-radius: 2 player-max-chunk-load-rate: -1.0 player-max-concurrent-loads: 20.0 target-player-chunk-send-rate: 100.0 chunk-loading-advanced: auto-config-send-distance: true player-max-concurrent-chunk-generates: 0 player-max-concurrent-chunk-loads: 0 chunk-loading-basic: player-max-chunk-generate-rate: -1.0 player-max-chunk-load-rate: 100.0 player-max-chunk-send-rate: 75.0 chunk-system: gen-parallelism: default io-threads: 3 worker-threads: 2 collisions: enable-player-collisions: true send-full-pos-for-hard-colliding-entities: true commands: fix-target-selector-tag-completion: true suggest-player-names-when-null-tab-completions: true time-command-affects-all-worlds: false console: enable-brigadier-completions: true enable-brigadier-highlighting: true has-all-permissions: false item-validation: book: author: 8192 page: 16384 title: 8192 book-size: page-max: 2560 total-multiplier: 0.98 display-name: 8192 lore-line: 8192 resolve-selectors-in-books: false logging: deobfuscate-stacktraces: true log-player-ip-addresses: true messages: kick: authentication-servers-down: lang:multiplayer.disconnect.authservers_down connection-throttle: Connection throttled! Please wait before reconnecting. flying-player: lang:multiplayer.disconnect.flying flying-vehicle: lang:multiplayer.disconnect.flying no-permission: I'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error. use-display-name-in-quit-message: false misc: chat-threads: chat-executor-core-size: -1 chat-executor-max-size: -1 fix-entity-position-desync: true lag-compensate-block-breaking: true load-permissions-yml-before-plugins: true max-joins-per-tick: 5 region-file-cache-size: 512 strict-advancement-dimension-check: false use-alternative-luck-formula: false use-dimension-type-for-custom-spawners: false packet-limiter: all-packets: action: DROP interval: 7.0 max-packet-rate: 500.0 kick-message: lang:disconnect.exceeded_packet_rate overrides: ServerboundPlaceRecipePacket: action: DROP interval: 4.0 max-packet-rate: 5000.0 player-auto-save: max-per-tick: -1 rate: -1 proxies: bungee-cord: online-mode: true proxy-protocol: false velocity: enabled: false online-mode: false secret: '' scoreboards: save-empty-scoreboard-teams: false track-plugin-scoreboards: false spam-limiter: incoming-packet-threshold: 300 recipe-spam-increment: 1 recipe-spam-limit: 20 tab-spam-increment: 1 tab-spam-limit: 500 threaded-regions: threads: 24 timings: enabled: true hidden-config-entries:

database proxies.velocity.secret history-interval: 300 history-length: 3600 server-name: Unknown Server server-name-privacy: false url: https://timings.aikar.co/ verbose: true unsupported-settings: allow-grindstone-overstacking: false allow-headless-pistons: true allow-permanent-block-break-exploits: true allow-piston-duplication: true perform-username-validation: true watchdog: early-warning-delay: 10000 early-warning-every: 5000 server.properties:

Minecraft server properties

Sat Jul 15 15:25:16 CST 2023

allow-flight=false allow-nether=true broadcast-console-to-ops=true broadcast-rcon-to-ops=true debug=false difficulty=easy enable-command-block=false enable-jmx-monitoring=false enable-query=false enable-rcon=false enable-status=true enforce-secure-profile=false enforce-whitelist=false entity-broadcast-range-percentage=100 force-gamemode=false function-permission-level=2 gamemode=survival generate-structures=true generator-settings={} hardcore=false hide-online-players=false initial-disabled-packs= initial-enabled-packs=vanilla level-name=world level-seed=-5752375612313351302 level-type=minecraft:normal max-chained-neighbor-updates=1000000 max-players=1314 max-tick-time=60000 max-world-size=29999984 motd======The Communism Republic Of Eternity===== network-compression-threshold=256 online-mode=true op-permission-level=4 player-idle-timeout=0 prevent-proxy-connections=false pvp=true query.port=25565 rate-limit=0 rcon.password= rcon.port=25575 require-resource-pack=false resource-pack= resource-pack-prompt= resource-pack-sha1= server-ip= server-name=Unknown Server server-port=25565 simulation-distance=8 spawn-animals=true spawn-monsters=true spawn-npcs=true spawn-protection=0 sync-chunk-writes=true text-filtering-config= use-native-transport=true view-distance=8 white-list=false

Observed/Actual behavior

Description of issue When the number of online users is around 160, TPS is stable at 20. when the number of online users exceeds 170,Sometimes it is 20,sometimes TPS will plummet to 15, sometimes it is 10,But Total CPU usage is only around 50%.

Steps/models to reproduce

Description of issue When the number of online users is around 160, TPS is stable at 20. when the number of online users exceeds 170,Sometimes it is 20,sometimes TPS will plummet to 15, sometimes it is 10,But Total CPU usage is only around 50%.

Plugin and Datapack List

Plugin and Datapack List [19:50:04 INFO]: Server Plugins (25): [19:50:04 INFO]: Paper Plugins: [19:50:04 INFO]: - HuskHomes [19:50:04 INFO]: Bukkit Plugins: [19:50:04 INFO]: - AmazingBot, AnnouncerPlus, BetterRTP, BlockLocker, Chunky, CoreProtect, FastAsyncWorldEdit, FoliaFlow, FreedomChat, GrimAC [19:50:04 INFO]: GSit, InvSeePlusPlus, LuckPerms, MiniMOTD, PlaceholderAPI, TAB, Towny, TownyChat, TownyFlight, TownyMenus [19:50:04 INFO]: UnifiedMetrics, Vault, ViaBackwards, ViaVersion

Kaiiju version

Folia version [19:59:22 INFO]: This server is running Kaiiju version git-Kaiiju-"40d5526" (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 40d5526 on ver/1.20.1) You are running the latest version

Other

When the number of online users is around 160, TPS is stable at 20. when the number of online users exceeds 170,Sometimes it is 20,sometimes TPS will plummet to 15, sometimes it is 10,But Total CPU usage is only around 50%.

sofianedjerbi commented 1 year ago

Please ask for performance support on discord. Btw - why are you using folia flow with kaiiju ? 🤔