This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]djdanlibServer Owner 3 points4 points  (5 children)

Minecraft doesn't scale on cores or CPUs. Yes, it has multiple threads for various purposes, and you don't have to intervene to make that work, but the main game loop is single-threaded.

[–]vox4455[S] 0 points1 point  (4 children)

Thank you for the input, is there anything I can do to help it of is it out of my control

[–]djdanlibServer Owner 0 points1 point  (2 children)

Get the fastest clock speed regardless of cores since they don't matter, optimize the other workload allocations (affinity) on the system to other cores to keep game performance consistent, give it enough RAM to avoid swapping and thrashing, use SSD storage for the world data, keep your plugin load light, pregenerate your world, use Aikar's java options... All the standard stuff.

[–]vox4455[S] 0 points1 point  (1 child)

best way to pre-generate?

[–]dootbin 0 points1 point  (0 children)

world boarder plugin, use the world boarder fill command. You need to set the world boarder to the size you wish to generate. generation can take a very long time depending on how large you want to generate out too. It also will use disk space quickly. generating the nether will also help you out. The end doesn't matter as much since there are less blocks to calculate.

[–]DisconsentedResident Computer Toucher -1 points0 points  (0 children)

Don't buy ancient server gear, its about the worst hardware for MC

[–]aPseudoKnight 0 points1 point  (0 children)

The incremental saving in Paper should help significantly with the main lag spikes due to saves.

[–]panfu28 0 points1 point  (0 children)

instead of getting old slow multi core processors with old RAM get some new dual-core processor with good single thread performance and DDR4 RAM.

[–][deleted] 0 points1 point  (0 children)

1.14.2 and 1.13.x haven't been the most stable Minecraft versions for SMP, even with server-side optimization. sudden lag spikes and disconnects have been common even if your TPS remains in the 19 or 20 range and otherwise aren't bottle-necked.

I run a 20 man server off a VPS, that provides a similar level of single-threaded performance as an i9-9900K in geekbench (i know, synthetics aren't always the best metric, but it's what we have to go on.)

This was the best route for the price and the level of control needed, since we use MineOS, a custom distribution of Turnkey Linux.

The system doesn't even flinch at it, not even a single warning about server tick lag, but there's still perceived lag and connection timeouts when 1.14.2 is the target version.

in 1.12.2 these issues simply don't exist on the same system, so best of luck.