PaperMC / Folia

Fork of Paper which adds regionised multithreading to the dedicated server.
GNU General Public License v3.0
3.48k stars 430 forks source link

The sudden drop in TPS is very strange #133

Closed starmc63 closed 1 year ago

starmc63 commented 1 year ago

Profile link

http://1.15.172.154/config.zip

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%.

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

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

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: connection-throttle: Connection throttled! Please wait before reconnecting. flying-player: flying-vehicle: 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: 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:

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%.

electronicboy commented 1 year ago

That's not folia, nor is this the place for support