Optimizing 1.10.2
Hey all,
I've recently made the jump from 1.7.10 to 1.10.2 on my little server, and I've had a nightmare of a time. We play modded, and the server has been incredibly laggy with both a normal forge server and with SpongeForge installed. I've heard rumours that this version of Minecraft is just poorly optimized, but haven't found anything to substantiate that. Trying to Google it gives me pages on pages of forum posts of kids suggesting java args and generally being clueless.
I've found BetterFps and foamfix. The issues manifest as rubber-banding and skipping ticks, and my working theory is that the server is having problems generating chunks - it seems to run faster in places players have already explored.
Do you guys have any ideas, or suggestions on reliable and informed places to search?
Posted May 10, 2017, 12:04 AM UTC
I agree with aPseudoKnight, chunk generation while playing sounds like the issue. Especially since you said performance is better in places players have already explored.
You're running Sponge, so Nucleus might be your friend here. I used it to set a world border of 15000x15000, then kicked off a chunk generate command from the console and let my server do its thing. This is really hard work for a server though, it'll basically make the game unplayable while chunk gen is running. But the end result when it's done is absolutely worth it.
Also, if you're not doing so already, run your world on an SSD. The significantly faster read/write times over mechanical HDDs will help with loading the world too
And here I was just about to dump Sponge. This post just reversed by decision entirely. I'll set up a world border and pregenerate a good distance.
Do you have an idea how much disk space (roughly) I should be expecting to use for a border that size?
I just checked my server, it's currently sitting at 5.7GB total with the 15000x15000 border (so a 7500 block radius from 0,0). 5GB of that is the overworld, which is the only dimension I pregenerated, although you could probably pregen any dimension you want
Awesome, thanks for checking!
Note that the size might somewhat increase or decrease with player activity, but it should be minute for normal usage.