VPS with 16 cores: heavy computing in a virtual machine and where the dedicated server begins
Sixteen vCPUs are no longer "a bigger server" but a noticeable part of a physical processor. At this size things show up that you can ignore on small plans: how the cores are distributed across the node's processors and caches, how much memory bandwidth the machine has, how many neighbours share the same threads with you. This decides whether you get sixteen working cores or an expensive machine that scales to eight.
What 16 cores are used for
- Analytical databases and search. Columnar DBMSs run a single query on all cores at once, so report time is almost inversely proportional to their number. The specifics of this workload are on the VPS for ClickHouse and VPS for Elasticsearch pages.
- Build farms and parallel CI runners, when several branches are built at the same time.
- Media processing and calculations: software video encoding in several qualities, rendering, scientific and engineering computing, neural networks on the CPU.
- Virtualisation inside a VPS. A lab with several guest machines is possible only if the host has enabled nested virtualisation: check for the
vmxorsvmflag in/proc/cpuinfo. - Consolidation of a dozen team services on one machine with shared monitoring.
NUMA, cache and memory: what changes at 16 cores
A server node usually consists of two processors, and modern chips are themselves divided into blocks, each with its own L3 cache. If your sixteen vCPUs are scattered across different processors, threads exchanging data go over the inter-processor bus, and access to "foreign" memory is slower than to local memory. A good host pins large machines within a single NUMA node; cheap plans may not do this.
The lscpu command shows the "NUMA node(s)" line, and numactl --hardware shows how memory is presented to the guest. One NUMA node inside a VPS does not yet mean the machine physically lives on one processor, so also run a memory test: sysbench memory --threads=16 run. If bandwidth with 16 threads is barely higher than with 8, memory has become the bottleneck, and analytical queries will hit it rather than the cores.
Shared vCPUs on a large plan
The more vCPUs a machine has, the more painful CPU time overselling becomes. A multi-threaded task synchronises its threads, and they all wait for the slowest one: if the hypervisor briefly gives two of your sixteen cores to neighbours, all sixteen stand idle. So on such plans look for the core type and CPU usage rules in the description, and after buying run mpstat -P ALL 5 under load. A uniformly low %steal on all cores is a good sign; individual cores with 15–20% steal give away an overcrowded node. How shared vCPUs differ from dedicated ones and what burst means are explained in A host's plan grid: vCPU, fair use and burst.
To assess scaling, run the same load with 1, 8 and 16 threads, for example 7z b -mmt1, -mmt8 and -mmt16. On dedicated cores going from 8 to 16 threads gives a noticeable gain; if there is almost none, you are paying for a number.
CPU generation matters more than core count
Sixteen cores of an old server chip and sixteen cores of a recent generation are different classes of machine. A core from a ten-year-old processor does noticeably less work per clock cycle, has less cache and slower memory, and lacks some of the vector instructions that analytical DBMSs and machine learning libraries rely on. As a result, sixteen such cores may end up on a par with eight to ten modern ones in a multi-threaded test. Before buying, look for the CPU model in the plan description or ask support for it, and afterwards compare the lscpu output and the single-threaded test result with published figures. Many-core plans are especially often built on AMD server processors with large caches; the differences between their generations are covered on the VPS on AMD EPYC page.
A 16-core VPS or a dedicated server
At this level the price of a virtual machine often approaches the rent of a physical server with sixteen or more cores. A dedicated server gives you the whole processor and all the memory bandwidth with no neighbours, your own RAID and predictability; a VPS gives you fast provisioning, snapshots, hourly billing and migration to another node when hardware fails. If the load is constant and you are ready to administer hardware, compare with the offers in the dedicated servers section. If the load comes in waves (overnight calculations, release builds), a virtual machine with hourly billing is usually better value.
Consider software as well. Some commercial DBMSs and virtualisation platforms are licensed per core, and sixteen vCPUs turn into sixteen licences; sometimes it is cheaper to take fewer cores with a higher clock speed. Sixteen cores usually need 32 to 64 GB of memory; scenarios of this size are covered on the VPS with 64 GB RAM page.