Bug Closed · Resolved

Dungeons causing lag

#3829 opened by Unknown 3 years ago

Unknownreported this bug

Hello!

Is there a way to make worlds created by MythicDungeons not affected by the save-all? It's causing a lot of lag on the server and it uses a lot of resources. The server also lags when Sync Chunk Loading already existing dungeons.[Legacy attachment omitted][Legacy attachment omitted]

Unknowncommented

Hey there,

Can you confirm for me if you are using Spigot or Paper? (Or a fork of Paper such as Purpur). Spigot has known major lag issues when loading worlds dynamically.

If you are using Paper, one way you can improve load times is by trimming parts of your dungeon in a world editor to reduce the amount of blocks that need to be loaded. This will make the biggest difference on your load times.

Your second option would be to reduce the view and simulation distances for any worlds that aren't your survival worlds. This can be accomplished by changing the view and sim distances in the "default" world under "world-settings" in spigot.yml. If you want to keep your higher view and sim distances on your regular survival worlds, you can add a new entry under "world-settings" for your survival worlds.

Unknowncommented

Thank you for your reply! Yes I am using Paper.

Unknowncommented

If you're using Paper, the best thing you can do is the optimization tweaks I mentioned in my last post. Some more recent versions of Paper see major improvements to chunk loading, which is where you appear to be getting the major slowdowns.

Having said that, I would like to point out that 300ms is only 0.3 seconds and is VERY fast. This kind of loading time for a dungeon is actually relatively normal, and only happens when a dungeon world is loaded, which should be relatively infrequent unless you are a VERY large single-server system.

There is a solution planned for Bungeecord/proxy servers in the future that would help alleviate this issue a little bit, but what you are currently experiencing is within expected performance. Hopefully the tweaks I suggested can help improve those load times though. :)

Sign in to join the discussion.