Minecraft Server Hardware: CPU, Heap and NVMe Sizing for 10-200 Players

A vanilla Minecraft server at 40 players uses roughly 2.2 GB of heap and one CPU core. A 180-mod ATM10 pack at the same player count will use 14–18 GB of heap, three to four cores, and will miss ticks whenever the JVM is in a full collection. The hardware difference between those two servers is not a budget tier — it is a different machine class. Below are the measured CPU, heap and NVMe figures that separate them, plus the flags and kernel settings that keep tick time under 50 ms.

All numbers here come from Paper 1.21 or NeoForge 1.21 servers profiled with Spark, on hardware provisioned through our dedicated server platform. Heap figures are post-warmup resident sizes, not allocated maxima.

Single-thread performance decides your tick budget

Minecraft’s main server thread runs entity AI, redstone, block updates, chunk generation and player movement in one loop. Everything else — netty packet handling, chunk I/O, lighting — is offloaded, but the tick loop itself cannot be parallelised without mods that change game behaviour. That means the number you care about is single-core sustained clock, not core count, and specifically the all-core boost the CPU can hold inside a 1U chassis with a 65–105 W thermal budget.

A 20 TPS server has a 50 ms budget per tick. Vanilla with 20 players typically consumes 6–12 ms; measured headroom is what determines how many players you can add before the average crosses 40 ms and players start seeing block-break desync.

CPUCores / all-core boostSpark tick avg @ 40 players (Paper)Modded ceiling (300+ mods)Notes
AMD EPYC 4584PX (3D V-Cache)16C / 4.2 GHz4.8 ms60–80 players96 MB L3 absorbs chunk/entity working set
AMD EPYC 4344P8C / 4.5 GHz7.1 ms25–35 playersCheapest viable modded entry point
Intel Xeon E-24888C / 4.6 GHz6.4 ms30–45 players8C/16T, 95 W, ECC UDIMM
Intel Xeon Gold 6438Y+32C / 3.6 GHz11.9 ms20–30 playersCore count is wasted on a single world
AMD Ryzen 9 7950X (colocated)16C / 5.0 GHz4.4 ms50–70 playersBest clock, but no IPMI on consumer boards

Two practical rules follow. First, keep the world on a CPU whose all-core boost stays at or above 4.0 GHz — a 5.7 GHz single-core boost that collapses to 3.3 GHz under a 40-player load is worse than a flat 4.2 GHz. Second, if you plan to run several worlds on one box, buy cores for the number of worlds, not the number of players; 4 dedicated cores per Paper instance is a workable pinning rule.

Positioning plugins, not spawn chunks, dominate late-stage CPU

Once a server has 30+ plugins, the tick profile changes shape. We profiled a Paper 1.21 survival server with 52 plugins at 80 players and found 38% of tick time inside plugin listeners rather than vanilla code: anti-cheat movement checks, region protection queries, and hologram/scoreboard updates. Vanilla chunk generation accounted for under 6%.

The fix is measurement before purchase. Run Spark during peak, export the profile, and read the top three entries. Then set these three settings before you buy bigger hardware:

  • Simulation distance: 6 chunks (not 10) — entity ticking cost scales with the square of this value.
  • View distance: 8 for survival, 10 for creative — chunk sending is bandwidth, not CPU.
  • spawn-chunk-radius: 4 in bukkit.yml; vanilla keeps 441 chunks force-loaded at all times by default.

On a 40-player Paper server, reducing simulation distance from 10 to 6 cut average tick time from 14.2 ms to 7.9 ms without a visible change for players. That is cheaper than any CPU upgrade.

Heap sizing: a measured curve, not a rule of thumb

The old advice to “give Minecraft 4 GB and it will use what it needs” fails on modded packs because the working set is larger than any sensible young-generation size. Measure the steady-state heap with jcmd after 30 minutes of play, then set -Xmx to roughly 1.5× that value. Below are measured resident heap figures on Paper 1.21 and NeoForge 1.21 ATM10-class packs.

PlayersPaper heap (measured)Vanilla Forge/NeoForge300-mod packRecommended -Xmx
10–201.1–1.4 GB2.5–3.5 GB5–7 GB6G (modded: 8G)
30–501.8–2.4 GB4–6 GB9–12 GB8G (modded: 14G)
60–1002.6–3.5 GB7–10 GB14–18 GB12G (modded: 20G)
150–2004–6 GB12–16 GB20–26 GB16G (modded: 28G)

Above roughly 24 GB of heap on a 30 ms pause target, G1’s region-scan cost starts producing 200–400 ms pauses during mixed collections. If a pack genuinely needs more, split it across two worlds on separate cores rather than growing one heap.

GC flags that hold pause times under 30 ms

These flags are what we run on Paper 1.21 with Temurin 21. They are not the defaults worth copying from 2019 blog posts — ParallelGC and the default G1 region size both cause multi-hundred-millisecond stalls on large heaps.

-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=30
-XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC
-XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40
-XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20
-XX:InitiatingHeapOccupancyPercent=15 -XX:SurvivorRatio=32
-XX:MaxTenuringThreshold=1 -XX:+PerfDisableSharedMem

G1NewSizePercent=30 is the single highest-impact line: vanilla’s default young generation is too small for chunk-loading bursts, so objects are promoted into the old generation and collected by expensive mixed GCs instead of cheap young ones. PerfDisableSharedMem stops the JVM writing hsperfdata to disk every tick, which shows up as periodic 10–20 ms spikes on servers with slow /tmp.

Verify with -Xlog:gc*:file=/var/log/minecraft/gc.log:time,uptime:filecount=5,filesize=20M and check that the p99 pause stays under 50 ms. If it does not, the cause is usually heap exhaustion from a plugin leak, not the flag set.

NVMe matters for chunk generation and save pauses, not steady-state play

Steady-state Minecraft is almost entirely memory-resident; an idle 40-player server writes a few hundred IOPS. Storage performance shows up in two places: first-visit chunk generation and the autosave window. A vanilla region save for a 100-player world writes 400–900 MB, and on a SATA SSD that is a 2–4 second tick freeze. On Gen4 NVMe with 6,000 MB/s sequential write it completes in under 400 ms.

DeviceSeq. write4K Q1T1 random readSave pause (100 players)Verdict
SATA SSD520 MB/s35k IOPS2–4 sAvoid for anything over 30 players
Gen3 NVMe (e.g. PM983)1,800 MB/s380k IOPS1.5–2.5 sMinimum for small servers
Gen4 NVMe (PM9A3 / 7450)4,200 MB/s600k IOPS0.5–0.9 sRecommended baseline
Gen4 NVMe RAID14,000 MB/s580k IOPS0.5–0.9 sSame speed, survives a drive failure
Gen5 NVMe8,500 MB/s900k IOPS0.3–0.5 sOnly useful past 150 players

The 4K Q1T1 figure matters more than sequential for chunk loading, because region-file reads are scattered. Anything under 300k IOPS at queue depth 1 will produce visible “loading terrain” stalls when several players cross into unexplored chunks at once. Configure Paper’s region file cache (region-file-cache-size=512 in paper-global.yml) on NVMe boxes; on SATA it only delays the inevitable.

Network budget: small, but latency-sensitive and DDoS-exposed

A 50-player vanilla server sends roughly 40–90 KB/s per player at view distance 8, which is 20–40 Mbps aggregate. Modded packs with registry sync and custom resource packs push 3–8 MB to each connecting client, so a 100-player launch can burst 800 MB of egress in ten minutes — enough to matter on a metered plan.

  • Port speed: 1 Gbps is sufficient to 300 players; 10 Gbps only if you host multiple worlds or a mod CDN.
  • MTU: keep 1500; if you tunnel through a proxy (Velocity/BungeeCord), keep MTU uniform or fragmentation kills throughput.
  • DDoS: Minecraft is the most-attacked game protocol. Confirm L3/L4 filtering is included and that attack traffic is not billed.
  • Ping: route to your player base. For EU/US split communities, a second small world in the other region beats one giant box.

Reference configurations and the numbers that justify them

The three builds below are sized from the measurements above, not from vendor tier names. Prices reflect 2026 entry-level dedicated pricing for comparable specifications listed on our plans page.

WorkloadCPURAMStoragePortEst. monthly
Paper survival, 10–40 playersEPYC 4344P (8C/4.5 GHz)32 GB DDR5 ECC2× 960 GB Gen4 NVMe RAID11 Gbps unmetered$90–$130
Modded pack, 30–80 playersEPYC 4584PX (16C/4.2 GHz)64 GB DDR5 ECC2× 1.92 TB Gen4 NVMe RAID11 Gbps unmetered$160–$240
Multi-world network, 150–250 totalEPYC 9354P (32C/3.8 GHz)128 GB DDR5 ECC4× 1.92 TB Gen4 NVMe RAID1010 Gbps$300–$450

The 128 GB / 32-core build is deliberately not the highest-clock machine. At that scale you are running six to eight pinned Paper instances, so aggregate cores and RAM bandwidth matter more than any single core’s boost — a decision you can only make after profiling individual worlds, which is why the pinning rule above comes before the purchase order.

What to measure in the first week

Install Spark, run /spark profiler start during your busiest hour on day one and day seven, and compare. Watch four numbers: average tick time (target under 15 ms with 40% headroom), p99 tick time (under 40 ms), GC pause p99 (under 50 ms), and heap after GC (should stabilise, not climb). If heap after GC climbs steadily, you have a plugin leak and no amount of RAM will fix it.

If you want the sizing done against a real workload rather than a spec sheet, send a Spark profile and a player-count curve — the hardware decision follows from those two artifacts far more reliably than from any tier label.

Leave a Reply