VPS with 8 cores: when eight vCPUs speed up the work and when they only raise the bill
Eight virtual processors are taken for workloads that no longer fit into four: parallel builds, a database with dozens of active connections, a set of containerised services, media encoding. At this level the plan price rises noticeably, and the question "how many of the eight cores actually work" becomes a question of money. Below is how to find out before and after buying.
Tasks that split across eight threads
- Builds and CI. Compiling C++, Rust, Go and large frontend projects speeds up almost linearly with the number of cores as long as there is enough memory: allow 1–2 GB per compiler thread.
- A container platform. A small cluster or a single node with a dozen services, queues and monitoring. For an orchestrator, eight cores are a comfortable minimum for a worker node; more on the VPS for Kubernetes page.
- Databases. PostgreSQL and MySQL serve each connection with a separate process or thread, and analytical queries are parallelised. Disk and memory requirements are covered in VPS for PostgreSQL.
- Video encoding and image processing. ffmpeg with software codecs loads every available core and scales almost perfectly.
- Several game servers on one machine: each instance keeps its own main core busy.
Single-threaded applications, Node.js without clustering, interpreters with a global lock and most scripts scale worse. If htop shows one core at 100% while the other seven are idle, extra cores won't help: you need a higher clock speed or a reworked application.
How many physical cores are eight vCPUs
Hosts count vCPUs by threads. With Hyper-Threading or SMT enabled, eight vCPUs in the worst case correspond to four physical cores, each running two of your threads. Two threads of one core share its execution units and cache and together deliver roughly 20–30% more than a single thread, not twice as much. So an eight-thread task on such a plan may run as if on five or six full cores.
Check lscpu: the line "Thread(s) per core: 2" means the hypervisor shows the guest pairs of threads. A value of 1 guarantees nothing: topology in a virtual machine can be simplified, and the real placement only shows up in benchmarks.
A separate common mistake is leaving programs with default settings designed for a small server. Eight cores speed nothing up by themselves if the application doesn't know about them. After the move, check worker_processes auto in Nginx, the number of PHP-FPM processes or application workers, the max_worker_processes and max_parallel_workers_per_gather parameters in PostgreSQL, the -j$(nproc) flag in build scripts, and the thread count for ffmpeg and archivers. The opposite happens too: a service that starts one worker per visible thread creates extra contention for memory and cache on eight shared vCPUs, and it pays to limit it to six.
Shared or dedicated: on eight cores the difference is bigger
On a small plan neighbours take away a share of one or two cores, and it is barely noticeable. Eight shared vCPUs on a busy node lose proportionally more: it is harder for the hypervisor to find eight free threads at once, and a parallel task waits for the slowest of them. Hence the rule: if load on all cores lasts for hours (builds, encoding, calculations), dedicated cores pay off. If the server is idle most of the time and the peaks are short, shared vCPUs are cheaper and usually sufficient.
On a multi-core machine, check steal time per core: mpstat -P ALL 5 from the sysstat package shows the %steal column separately for all eight vCPUs. Uneven values mean your threads sit on different physical cores with different loads.
How to check scaling
The clearest test is to run the same load with 1, 4 and 8 threads and plot the curve:
7z b -mmt1, then-mmt4and-mmt8. On eight dedicated physical cores the result grows almost eightfold; on eight threads of four cores, roughly fivefold; if growth stops at three or four, the cores are heavily shared.- Repeat the test in the evening, during the node's peak hours. A difference of more than 15–20% from the morning run is a sign of an overcrowded server.
- Compare the single-threaded result with known models. Eight cores of an old server chip are often slower than six modern ones; how to tell CPU generations apart is explained on the VPS on Intel Xeon page.
What to pair eight cores with
It makes sense to take 16 GB of memory or more: eight parallel compiler processes, a database with its buffers and the file system cache eat it quickly. The disk should be NVMe only: eight cores easily generate more I/O operations than an ordinary SSD on an overloaded storage shelf can handle. If you are already hitting the limit of eight cores and looking at 16 cores, compare the price with a dedicated server: at these sizes the difference is often smaller than it seems.