Cuberite performance vs other Java servers
playingoDEERUX opened this issue · comments
How many players can cuberite handle compared to other java servers out there?
I know this depends on the hardware, since this is C++ most likely even more CPU than RAM. And it should also depend on other modules and how many worlds are loaded...
However, is there some kind of ratio to compare cuberite and e.g java servers (Bukkit, Spigot, Vanilla, Bungee, Paper, etc.) against?
Can't make a like-for-like comparison since Vanilla/Spigot/Paper have many more features than Cuberite. One example is how much more advanced their entity AI is compared to ours.
I just ran a test, latest Cuberite idles (no players connected) at 0.3% CPU.
Paper paper-1.18.1-142
, openjdk 17.0.1 2021-10-19 LTS
, spawn-npcs=false
, spawn-animals=false
idles (no players connected) at ~3% average CPU, ~600 MB mem after a GC.
After a player joins and stands still, render distance 8 chunks, Cuberite is at 1.9% CPU and Paper 11.6% CPU.
Needs more rigorous testing.