This repository was archived by the owner on Nov 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Increase the generation speed
Trivernis edited this page Jul 26, 2020
·
3 revisions
The speed of the generation heavily depends on the type of server you are using as well as the cpu itself. On spigot you can't expect the plugin to have much performance for two reasons:
- the whole generation process is single threaded
- the api doesn't provide a stable method to check if a chunk is generated
For that reason its recommended ot use papermc which doesn't have those two flaws.
The maximum expected speed one can reach is about 40 to 60 chunks/second but IT DEPENDS ON THE HARDWARE YOU'RE USING!
The settings that resulted in the greatest speed so far are:
(incomplete plugin.yaml)
generation:
unloading-period: 40
mspt-pause-threshold: 5000
max-pending-chunks: 2000
max-loaded-chunks: 4000You can try to tweak those settings for your own system with the following rules:
(incomplete plugin.yaml)
generation:
mspt-pause-threshold: 500 # >> the greater the better (the watchdog might kill your server)
max-pending-chunks: 400 # >> the greater the better (this could crash your server)
max-loaded-chunks: 1000 # >> the greater the better (increases ram usage)
unloading-period: 50 # <> try to keep this in balance with the loaded chunks