Level icon indicating copy to clipboard operation
Level copied to clipboard

Re-implement Performance Settings

Open JohnS19 opened this issue 6 years ago • 2 comments

Description

Is your feature request related to a problem?

Yes, the current Levels calculations cause immense lag at higher player counts. I am basically not able to use login calculations anymore since if more than 10 players login in a short amount of time between each other, it'll bring the server to its knees quickly. The command itself also causes immense lag: https://media.discordapp.net/attachments/310623455462686720/666897468792897536/unknown.png?width=601&height=258

Describe the solution you'd like us to implement.

Re-implement the update-tick-delay and especially chunks-per-tick. https://cdn.discordapp.com/attachments/310623455462686720/666857642265804801/unknown.png

Describe alternatives you've considered.

N/A

Additional context

N/A

JohnS19 avatar Jan 15 '20 19:01 JohnS19

Can you give me your /bbox v results?

tastybento avatar Jan 16 '20 21:01 tastybento

Please try latest build and see what settings work for you. You'll need to add this to your config.yml:

# Performance settings
# Level is very processor-intensive, so these settings may need to be tweaked to optimize for your server
# Delay between each task that loads chunks for calculating levels
# Increasing this will slow down level calculations but reduce average load
task-delay: 1

# Number of chunks that will be processed per task
chunks: 10

tastybento avatar Jan 16 '20 21:01 tastybento