Paper: Asynchronous chunk loading causes server lag and chunks taking a long time to load

Created on 13 Oct 2019  路  3Comments  路  Source: PaperMC/Paper

Most helpful comment

Your timings cost is at 1961, indicating a really overloaded/slow server.
Common acceptable values for these should be at around the 100-200 range.
Considering you're also running on an ARM system, i theorize that your hardware is simply too slow to run minecraft.

Even if you disregard that information, if you look at your timings report, Essentials is taking up most of your time.
Even an op/deop command is taking too much time to execute.
This happens alongside world saving using save-all in your timings report. I suggest removing whatever auto-save functionality you have implemented, in exchange for paper's incremental world saving.

SkinsRestorer is also taking a bit of time to run it's task.

These kinds of performance questions are best suited for discussion at the paper discord/irc channels.

All 3 comments

Your timings cost is at 1961, indicating a really overloaded/slow server.
Common acceptable values for these should be at around the 100-200 range.
Considering you're also running on an ARM system, i theorize that your hardware is simply too slow to run minecraft.

Even if you disregard that information, if you look at your timings report, Essentials is taking up most of your time.
Even an op/deop command is taking too much time to execute.
This happens alongside world saving using save-all in your timings report. I suggest removing whatever auto-save functionality you have implemented, in exchange for paper's incremental world saving.

SkinsRestorer is also taking a bit of time to run it's task.

These kinds of performance questions are best suited for discussion at the paper discord/irc channels.

Incremental world saving spreads saving over several ticks instead of saving the entire world all in one go.
Paper incrementally saves by default, you just need to turn off your own autosave system.

Missed this one, async chunk loading is great, but it's only ever going to be as great as your hardware; Super low memory environments or environments where there is already a strain on CPU resources or communication between threads are generally going to struggle to keep up with the load much harsher, disabling async chunk loading in these environments is recommended given these constraints

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zedwick picture zedwick  路  3Comments

tazuuuu picture tazuuuu  路  3Comments

molor picture molor  路  3Comments

James94665 picture James94665  路  3Comments

greenywd picture greenywd  路  3Comments