How-to

CPU Threads vs Cores, and What You Actually Get

A core is a physical engine; a thread is a lane into it. Most of our x86 machines run two threads per core, while the Arm and some Xeon 6 models run one.

How does a core differ from a thread?

A core is a complete processing unit with its own execution resources and caches. A hardware thread is the context a core can run: registers and state for one stream of instructions. With simultaneous multithreading (SMT), called Hyper-Threading by Intel, one core keeps two threads loaded at once and fills idle execution slots of one with work from the other. The operating system sees each thread as a CPU it can schedule on.

How much does the second thread add?

Usually 10 to 30 percent more throughput per core, not 100 percent. Two threads share one core's execution units and caches, so the gain depends on how often one thread would otherwise stall. Workloads full of memory waits, such as web servers, databases and compilers, gain the most. Workloads that already saturate the core, such as tight numeric loops or video encoding, gain little and sometimes lose a bit. The SMT and threads entry has more detail.

What layouts do the machines in the catalog have?

ModelProcessorCoresThreadsLayout
S1Intel Xeon E-2276G612SMT, two per core
S11Intel Core i9-14900K2432Hybrid: 8 performance cores with SMT, 16 efficiency cores without
D82x Intel Xeon Gold 6336Y4896Two sockets, SMT
X2Intel Xeon 6731E9696Efficiency cores, no SMT
A1Ampere Altra Q80-308080Arm, one thread per core

The Arm and Xeon 6 E-core designs skip SMT on purpose: each thread gets a whole core, which gives very predictable performance per thread, useful for many small, steady workloads.

How do I count cores and threads on Linux?

lscpu | grep -E '^(CPU\(s\)|Thread\(s\) per core|Core\(s\) per socket|Socket\(s\)|NUMA node\(s\))'
nproc
lscpu -e=CPU,CORE,SOCKET,NODE | head

CPUs is the thread count the scheduler uses. Threads per core of 2 means SMT is on. nproc prints the number of CPUs available to the current process, which respects limits set by cgroups or taskset, so containers may see fewer. The last command maps each logical CPU to its physical core and socket, showing which pairs share a core.

Should workers equal cores or threads?

For most server software, threads. Web server workers, PHP-FPM pools and build jobs benefit from SMT, so set worker counts near the thread count. For CPU-bound jobs that already max out each core, such as video encoding with x264 or some scientific codes, set workers near the physical core count and compare. Databases are best left to their defaults, which already account for this. Benchmark both settings on your workload; the bare metal box gives stable numbers to compare, unlike shared virtual servers.

Does SMT have security implications?

On shared hosts, yes: side-channel attacks have shown that two threads on one core can leak information to each other, which is why some clouds disable SMT or never place two customers on the same core. On a single-tenant machine, both threads run your own code, so that concern largely disappears. You can still turn SMT off at runtime with echo off > /sys/devices/system/cpu/smt/control if a compliance rule requires it.

How do hybrid chips change scheduling?

The Intel Core i9-14900K mixes performance cores, which have SMT and higher clocks, with efficiency cores, which have no SMT and lower clocks. Recent Linux kernels understand this layout and prefer performance cores for demanding threads. For latency-sensitive services, such as game servers, pin them to performance cores; the P-cores and E-cores entry shows how to find which CPU numbers belong to which type.

Which matters more for buying: cores or threads?

Cores, then clock speed, then threads. Compare machines by physical cores and per-core performance first; treat SMT threads as a bonus of a quarter or so per core. The Choosing a server CPU guide compares the processor families on offer.

Different Core and Thread Layouts

ServerProcessorCores / threadsMemoryStorageNetworkPer monthSmallest order
S11Intel Core i9-14900K24 / 32128 GB DDR52x 2 TB NVMe2x 10 Gbps$149.39$149.39 (1 month)
X2Intel Xeon 6731E96 / 96256 GB DDR52x 2 TB NVMe2x 25 Gbps$665.87$665.87 (1 month)
D82x Intel Xeon Gold 6336Y48 / 96128 GB DDR42x 1 TB NVMe2x 25 Gbps$346.35$346.35 (1 month)
A1Ampere Altra Q80-3080 / 80256 GB DDR42x 2 TB NVMe2x 25 Gbps$252.11$252.11 (1 month)

Keep Reading

SMT and threads

Simultaneous multithreading lets one core run two threads; here is what that means for the thread counts we list.

Open

P-cores and E-cores

Performance cores and efficient cores explained, using the Core i9 and Xeon 6 machines on our price list.

Open

Choosing a server CPU

How Xeon E, Core i9, EPYC, Xeon Gold, Xeon 6 and Ampere chips differ, and which workloads each family serves best for the money.

Open

Arm vs x86 servers

How Ampere Arm processors differ from Intel and AMD x86 chips, and which jobs run cheaper on each.

Open

FAQ

Quick Answers

A core is a physical processing unit; a thread is an instruction stream a core runs. With SMT, one core runs two threads.

Typically 10 to 30 percent more throughput per core, depending on the workload.

Ampere processors do not use SMT; each core runs one thread.

Run lscpu and read CPUs, Threads per core, Cores per socket and Sockets.

Usually not. Both threads run your own code on single-tenant hardware, so the shared-host concerns do not apply.