Datafex LogoDatafex
All guides

14 September 2026 · 3 min read

How many vCPUs and how much RAM does a server need?

There is no single answer to this question, but there is a single way to find it: measure which resource is actually limiting you first. The most common mistake when a server slows down is adding vCPUs, and for most workloads that changes nothing.

vCPU: core count, or per-core performance?

The critical distinction is whether your workload parallelises.

Some workloads spread work across multiple cores — a web server, a PHP-FPM pool, several game server processes. Adding cores genuinely helps there.

Other workloads do their main work on a single thread. Buying 16 cores instead of 4 produces no measurable gain; what decides is the clock speed and IPC of that one core.

WorkloadWhat decidesDo more vCPUs help?
FiveM / RedM (CitizenFX)Single-core performanceNo, nothing beyond 3-6 vCPU
Minecraft (Java, vanilla)Single-core performancePartly, tails off past 4-6
MySQL / MariaDBMemory + storage latencyUp to a point
Nginx + PHP-FPMConcurrent request countYes
alt:VNetworking and streaming threadsYes
Multiple CS 1.6 serversProcess countYes, 3-4 servers per core
Video encodingTotal coresYes, close to linear

The practical rule: on single-threaded work, upgrade the processor family; on parallel work, add cores.

RAM: how the calculation works

A RAM estimate has three components:

  1. Baseline — the operating system and always-on services. 0.5-1 GB on Linux, 2-3 GB on Windows Server.
  2. The application's fixed cost — the resource list and assets on a game server, code and caches in a web application.
  3. The per-unit variable — the part that grows with connected players, concurrent requests or open sessions.

Example: for a 64-slot FiveM server, a Linux baseline of 1 GB, 6 GB for the resource list and streamed assets, 50 MB per player × 64 = 3.2 GB, and 2 GB for MySQL gives roughly 12 GB. That runs comfortably on a 16 GB plan and sits at the limit on 8 GB during peak hours.

Do not rely on swap. Swap turns the moment memory runs out into a slowdown rather than a crash; it is insurance, not a solution. A game server paging to disk is already unusable for its players.

Storage: latency matters more than capacity

Most people look at GB when choosing storage, yet for most workloads the problem is latency rather than capacity. The gap between NVMe and SATA SSD is a matter of percentages on sequential reads but multiples on small random reads — and database queries are precisely small random reads.

Things to keep in mind:

What should drive an upgrade decision?

Measure these before growing the hardware:

An upgrade made without measuring these four usually means spending the right money in the wrong place.

Where to go next

We have written separately about how resource sharing affects performance: What is a VDS and how does it differ from a VPS?

If you are building a game server, we have compiled RAM, vCPU and storage guidance per game by player count: game server plans. For general use, you can pick each resource and see the monthly total instantly: virtual server plans.

If you want to act on what is in this guide:

Pick resources and calculate the monthly price

Related guides