Issue: Minecraft server has extremely poor performance (8-12TPS) with 7 players on a fresh world that's largely pregenerated (5,000x5,000 pregenerated). Suspect configuration issues with Ubuntu 20.04 VM.
Unraid Hardware:
Ryzen 2700x on MSI B450 A-Pro (4 cores/8thread pinned)
Ubuntu 20.04 LTS and Minecraft 1.16.4 running Paper (minimal mods i.e. world border/coreprotect, performance tweaked)
Debugging Images (/proc/cpuinfo difference between host/guest, disk IO test from windows guest, timing report from minecraft): https://imgur.com/a/Tg63GL0
I'm hosting for a friend and community I'm in. The configuration for the java/minecraft server was ported over from an ubuntu system running on rented xeon hardware with much worse single core performance than what my 2700x should be giving. He turned off and cut down settings and the performance is still at 8-10 TPS on a FRESH world with a mostly pregenerated world (5,000^2 pregenerated). Performance improved a bit when we had the two guys trying to find world border stop but it's still way under what is expected considering the Xeon based server had large builds and multiple farms running 18-20TPS consistently with 5-7 players online.
I suspect there's some configuration issue. I used the GUI to setup the guest OS and did not install any additional drivers.
I can see /proc/cpuinfo on the Ubuntu guest shows all threads pinned at maximum, non-boosted speed (3.6GHZ) but the Host shows it boosting to the proper speed (4.3ghz) on whatever thread is getting slammed before it moves to another thread and boosts to 4.3GHZ. I can see on Unraid dashboard that HT is working as the maxed out thread sometimes is on the HT and not the "base" thread.
I can also see that disk stats seem low from the guest OS? Even then the performance should be more than enough for minecraft at over 40MB/s random write/read.
Ubuntu 20.04 Minecraft 1.16 Performance Issues
in VM Engine (KVM)
Posted
Issue: Minecraft server has extremely poor performance (8-12TPS) with 7 players on a fresh world that's largely pregenerated (5,000x5,000 pregenerated). Suspect configuration issues with Ubuntu 20.04 VM.
Unraid Hardware:
Ryzen 2700x on MSI B450 A-Pro (4 cores/8thread pinned)
Sabrent Rocket PCIE3.0 1TB NVME SSD (firmware RKT303.2)
48GB RAM (26gb allocated to VM)
Verizon FIOS 100/100 connection
Software:
Latest (6.8.3) Unraid with QEMU 4.2.0
Ubuntu 20.04 LTS and Minecraft 1.16.4 running Paper (minimal mods i.e. world border/coreprotect, performance tweaked)
Debugging Images (/proc/cpuinfo difference between host/guest, disk IO test from windows guest, timing report from minecraft): https://imgur.com/a/Tg63GL0
Java launch options
VM config below (I added 2 cores/4threads but doubt it will affect lag problems):
Disk speed test below from guest Ubuntu 20.04 (compare stats with https://www.legitreviews.com/sabrent-rocket-1tb-ssd-review-tlc-nand-flash_217101/4):
Long form:
I'm hosting for a friend and community I'm in. The configuration for the java/minecraft server was ported over from an ubuntu system running on rented xeon hardware with much worse single core performance than what my 2700x should be giving. He turned off and cut down settings and the performance is still at 8-10 TPS on a FRESH world with a mostly pregenerated world (5,000^2 pregenerated). Performance improved a bit when we had the two guys trying to find world border stop but it's still way under what is expected considering the Xeon based server had large builds and multiple farms running 18-20TPS consistently with 5-7 players online.
I suspect there's some configuration issue. I used the GUI to setup the guest OS and did not install any additional drivers.
I can see /proc/cpuinfo on the Ubuntu guest shows all threads pinned at maximum, non-boosted speed (3.6GHZ) but the Host shows it boosting to the proper speed (4.3ghz) on whatever thread is getting slammed before it moves to another thread and boosts to 4.3GHZ. I can see on Unraid dashboard that HT is working as the maxed out thread sometimes is on the HT and not the "base" thread.
I can also see that disk stats seem low from the guest OS? Even then the performance should be more than enough for minecraft at over 40MB/s random write/read.