Closed upchui closed 1 year ago
Have you tested Origin Folia?
Yes with the original Folia I have the same CPU usage as with DirtyKaiiju
Test commit 76dc823 build? If this problem does not occur in this version, it should be caused by an earlier update
Commit 6667e11 Try to find out what is causing this problem
I have tested it now and it looks good, thank you for fixing the issue.
Are there any plans to add a donation button for the project? :)
Maybe, the current project is supported with my ❤ (just kidding)
Profile link
https://spark.lucko.me/
Description of issue
When I start a new server with DirtyFolia it has extremely high CPU usage when new chunks are being generated. However, when I use DirtyKaiiju, I don't experience such high CPU usage.
Is the problem already known?
Plugin and Datapack List
Server config files
user@mc:~/data/FoliaMC-Server$ cat bukkit.yml 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: Server closed minimum-api: none use-map-color-cache: true spawn-limits: monsters: 70 animals: 10 water-animals: 5 water-ambient: 20 water-underground-creature: 5 axolotls: 5 ambient: 15 chunk-gc: period-in-ticks: 600 ticks-per: animal-spawns: 400 monster-spawns: 1 water-spawns: 1 water-ambient-spawns: 1 water-underground-creature-spawns: 1 axolotl-spawns: 1 ambient-spawns: 1 autosave: 6000 aliases: now-in-commands.yml
user@mc:~/data/FoliaMC-Server$ cat config/paper-global.yml
This is the global configuration file for Paper.
As you can see, there's a lot 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 Discord or check the docs page.
#
The world configuration options have been moved inside
their respective world folder. The files are named paper-world.yml
#
Docs: https://docs.papermc.io/
Discord: https://discord.gg/papermc
Website: https://papermc.io/
_version: 28 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: 30.0 player-max-chunk-load-rate: 100.0 player-max-chunk-send-rate: 75.0 chunk-system: gen-parallelism: default io-threads: -1 worker-threads: -1 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
server-mod-name: DirtyFolia
strict-advancement-dimension-check: false
use-alternative-luck-formula: false
use-dimension-type-for-custom-spawners: false
packet-limiter:
all-packets:
action: KICK
interval: 7.0
max-packet-rate: 500.0
kick-message:
overrides:
ServerboundPlaceRecipePacket:
action: DROP
interval: 4.0
max-packet-rate: 5.0
player-auto-save:
max-per-tick: -1
rate: -1
proxies:
bungee-cord:
online-mode: true
proxy-protocol: false
velocity:
enabled: true
online-mode: true
secret: xxx
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: -1
timings:
enabled: true
hidden-config-entries:
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: false allow-permanent-block-break-exploits: false allow-piston-duplication: false perform-username-validation: true watchdog: early-warning-delay: 10000 early-warning-every: 5000
user@mc:~/data/FoliaMC-Server$ cat server.properties
Minecraft server properties
Mon Jul 03 06:35:49 CDT 2023
enable-jmx-monitoring=false rcon.port=25575 level-seed= enable-command-block=true gamemode=survival enable-query=false generator-settings={} enforce-secure-profile=false level-name=world motd=A Server query.port=25567 pvp=true generate-structures=true max-chained-neighbor-updates=1000000 difficulty=normal network-compression-threshold=-1 max-tick-time=60000 require-resource-pack=false max-players=20 use-native-transport=true online-mode=false enable-status=true allow-flight=false initial-disabled-packs= broadcast-rcon-to-ops=true view-distance=20 resource-pack-prompt= server-ip= allow-nether=true server-port=30001 enable-rcon=false sync-chunk-writes=true op-permission-level=4 prevent-proxy-connections=false hide-online-players=false resource-pack= entity-broadcast-range-percentage=100 simulation-distance=10 rcon.password= player-idle-timeout=0 force-gamemode=false rate-limit=0 debug=false hardcore=false white-list=true broadcast-console-to-ops=true previews-chat=false spawn-npcs=true spawn-animals=true function-permission-level=2 initial-enabled-packs=vanilla level-type=default text-filtering-config= spawn-monsters=true enforce-whitelist=false resource-pack-sha1= spawn-protection=0 max-world-size=29999984
user@mc:~/data/FoliaMC-Server$ cat config/paper-world-defaults.yml
This is the world defaults configuration file for Paper.
As you can see, there's a lot 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 Discord or check the docs page.
#
Configuration options here apply to all worlds, unless you specify overrides inside
the world-specific config file inside each world folder.
#
Docs: https://docs.papermc.io/
Discord: https://discord.gg/papermc
Website: https://papermc.io/
_version: 30 anticheat: anti-xray: enabled: false engine-mode: 1 hidden-blocks:
Folia version
[06:39:35 INFO]: This server is running DirtyFolia version git-DirtyFolia-"a017762" (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: a017762 on ver/1.20) You are running the latest version Previous version: git-DirtyKaiiju-"5c50d5b" (MC: 1.20.1)
[06:38:21 INFO]: This server is running DirtyKaiiju version git-DirtyKaiiju-"5c50d5b" (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 5c50d5b on HEAD) You are running the latest version Previous version: git-DirtyFolia-"ab7a479" (MC: 1.20.1)
Other
No response