CPU requirements for Minecraft Server?
Most questions ask about how much RAM or how much bandwidth a Minecraft server needs, but I haven't found much information on CPU requirements.
Let's say I have the following specs for a dedicated server:
- 64GB RAM
- Intel i9 9900K - 8 cores / 16 threads; 3.5 - 5.0 ghz
- 1Gbps bandwidth
- Enough nvme storage
How many 2GB RAM vanilla servers with ~8 players each can I run?
Assume no redstone contraptions and a view distance of <= 10 chunks.
The RAM and bandwidth should allow me to run 31 servers (leaving 2GB of RAM to the OS), but I'm not sure if the CPU would be powerful enough.
I see a lot of varying information: some say you need a fairly powerful CPU, and others say that the CPU doesn't really matter; if you have enough RAM and bandwidth you should be alright.
Solution 1:
Here is a currently untested and possibly incorrect answer:
With the specs mentioned in the question, one should be able to host at least 31 UHC survival servers with 8 slots, and likely more for other minigame servers.
I read on https://www.spigotmc.org/threads/how-many-players-could-a-server-with-64gb-ram-4-5ghz-manage.363798/
Remii: Intel® Core™ i9-9900K Octa-Core (The BEST CPU for big static server currently) 1.13.2 ~55 Minigame Server with 18 filled Slots
This figure is 4 times higher than 31 servers with 8 slots.
UHC is probably more taxing on the CPU, and Minecraft 1.14 is likely slower.