Brettflan / WorldBorder

Bukkit plugin for maintaining borders for your worlds to limit their sizes, as well as generating missing chunks or trimming excess chunks.
https://www.spigotmc.org/resources/worldborder.60905/
BSD 2-Clause "Simplified" License
139 stars 210 forks source link

fill command slow #119

Closed timr2000 closed 5 years ago

timr2000 commented 5 years ago

Its going OK for a few minuten but after that the tps drops alot "using default settings" and its going verry slow.. loading an large map and this takes ages to load. how to speedup this process? Using paperspigot 1.13.2

madtomic commented 5 years ago

How large is the fill and what type of the system computer hardware, you are using?

timr2000 commented 5 years ago

Default fill.. 20. This is my hardware https://ibb.co/SysLx2K got 5gb ram

timr2000 commented 5 years ago

Server is not crashing but its verry slow with an big map

madtomic commented 5 years ago

impressive hardware but if you are on a shared hosting environment then you may want to find a new quality host that don’t over sold.

Another thing is to find out how much system resource you are using when the sever is loaded. Then troubleshoot from there. As far, tweaking the plugin. There isn’t much you could do.

How big is your map and do expect long time to fill or trim huge maps. It may take hours to do sometime.

timr2000 commented 5 years ago

Shared hosting is a no-go for me, Running an VPS, The problem is.. That the first minutes of rendering the render goes pretty fast and it loads lots of chunks. After a few mins the chunk render is going down and the TPS too.. It keeps the chunks loaded and i think that's an big problem.

Brettflan commented 5 years ago

The Fill process keeps just a small number of current chunks loaded to allow full generation, adding them to Bukkit's chunk unload queue as they pass that threshold.

It's possible those chunks are not getting unloaded for some reason, but if so, I don't think I can do anything further from the plugin side of things beyond that.