About the current state of the TPS lag

lukemango

CraftYourTown
Owner
Best answers
2
Hey hey hey!

Let's get started, so if you haven't noticed (god knows how), the server becomes insanely laggy when player counts start to go into the 25+ range. Now, this is not caused by the player count its-self, but what the players are all doing at the same time.

I want to make this very clear, our plugins are not the cause of the lag, and that's proven by our timings (these are not public). We've tried and tried again with trying to come up with solutions, including help from PaperMC and SpigotMC, the server currently is as smooth as we can get it and that's confirmed. The issue with 1.13+ is that mojang changed how chunks work, load and generate, and they did not correctly change their default server software to compensate and optimise this. Other servers may not lag for a few reasons:
- They have less than 20 players average - Chunks still may load and unload, but not to the extent that our server is dealing with
- They are all in a designated area, or the world is not free-roam (minigames, lobbys etc) - This just keeps a certain amount of chunks loaded, unlike us, where they're constantly loading, unloading.
- They are running 1.13.2 or below - 1.13.2 is not nearly as horrendous as 1.14.x server-side issues, and <1.12.2 is as smooth as minecraft has ever been.

Some common questions:
Will more RAM fix the issue?

No, to fully understand why, you need to understand how java works and how javas garbage collector (gc) works. Java will assign all the RAM it can to something, meaning things will overwork, stress the CPU and lag more. This will also cause huge amounts of stress on the GC. We have set Towny at 12GB of RAM to prevent overworking and additional stress on the machine.

Will a better CPU fix the issue?
As weird as it sounds, no. This is all down to java code and how mojang has set up their server-side jars.

Have you got an SSD?
Yes, 2 of them in Raid 0.

When will it be fixed?
Anyone asking for when it will be fixed will be fed to the goblins. (We know as much as you)

If the lag is really annoying you, play on Legacy when it releases. (This will be a 1.12.2 server)
Saturday 13th July / 7pm BST / 2pm EST


I hope you got the message that this is something we can't fix at the moment,
cheers maties.
 

lukemango

CraftYourTown
Owner
Best answers
2
Update on this:
We disabled LevelPoints and updated mcMMO with new fixes that prevent crashing of certain lag issues, TPS seems to be between 16-19 with 23 players.
We'll keep monitoring and updating you as we find more information
 

lukemango

CraftYourTown
Owner
Best answers
2
Update on this:
Our software updated with 2-3 fixes regarding chunk and timings, not confirmed whether anything is fixed from it but the TPS is stable 19.95-20 with ~20 players
 
Top